Vote count: 0I have a table VERSION with composite keys docId, verId:docId verId apprvDt old_verId ------ ------ ----------- ---------- A 3 03/20/2017 2 A 2 03/18/2017 1 A 1 03/16/2017 null B 1 03/18/2017 null C...
ادامه مطلبVote count: 0 i am creating a web app in MVC5 in which i need to call a web service from my javascript file, in asp.net i used to call like $http.get('/welcome.asmx/welcomegrid', { params: { } }) but in MVC5 it is showing me error Request format is unrecognized for URL unexpectedly ending in '/welcomegrid' i tried this also $http.get("http://localhost:50353/Models/welcome.asmx/welcomegrid", { params: { } }) but i am facing the same error asked 1 min agoIbrahim Shaikh Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I want to create a duplicate table in dashDB (with or without the original data, it does not really matter, the table structure is what is important). I tried:SELECT * INTO new_table FROM old_table;but I get this error:"new_table" is not valid in the context where it is used.. SQLCODE=-206, SQLSTATE=42703, DRIVER=3.69.56I also tried:CREATE TABLE new_table AS (SELECT * FROM old_table);but i get this error:An unexpected token "END-OF-STATEMENT" was found following "AS (SELECT * FROM old_table". Expected tokens may include: "WITH DATA, WITH NO DATA".. SQLCODE=-104, SQLSTATE=42601, DRIVER=3.69.56 asked 29 secs agoMike Pala Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have an issue while debug my app which is build by react native. Whenever i started to build, it gives me error that could not coect to development server. I have tried several advice from https://facebook.github.io/react-native/docs/ruing-on-device-android.html, React Native 'hello world' quick start: "could not coect to development server", why my device (mi4i lollipop 5.02) always gives me an error that 'could not coect to development server' ? any answer would be helpful and appreciated asked 37 secs agoJais Anasrulloh Ja'fari Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have two table with a PK ID but one table has a padding 13 digits. Table1 PK 1234567890000 Table2 PK 123456789 What's the best approach when joining? I have the below join but get an error The conversion of the varchar value '7324004373918' overflowed an int column. LEFT JOIN Summary C ON RIGHT('0000000000000',B.Id) = RIGHT('0000000000000',C.id ) asked 24 secs agoToby Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am trying to figure what is currently stored in registers %l0 and %l1. However what aludes is "mov 0x18,%l0 " I do not understand what this command does. I have read what flags are, they are used for setting, clearing and toggling. Also what is 0x18 is this multiplication? I understand what the add command does but I am unsure of what is stored in %l1. This is what I currently have based on my interpretation. %l0: 0 %l1: 0 Any advice on how this code works would be most appreciated. .global main main: save %sp,-96,%sp clr %l0 clr %l1 mov 0x18,%l0 btst 0x18,%l0 be clear nop set: add %l1,2,%l1 !inc l1 by 2 clear: add %l1,1,%l1 !Inc l1 by 1 mov 1, %g1 !Exit ta 0 asked 1 min agoL...
ادامه مطلبVote count: 0 I am using remote desktop, logging directly onto the box that houses the sql instance, and trying to use debugging, however getting the dreaded unable to start t-sql debugging... error message. My colleague can take the same steps, same box, and using the same sql account and has no issue, the only difference is we are using our own windows accounts, which when checked both of us are part of the local admin group. we are both logging on as the instance name also. SSMS 2014. Any ideas? asked 42 secs agouser2808765 Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have been assigned a task to fetch the tableset and dataset from the web services using the stored procedure in SQL SERVER 2014. Can someone help me with this case. I just wanted to know the syntax if the stored procedure. I am not able to understand how would I fetch data from the web services as it is not a database and they are going to call the procedure name only in their web service. Thanks in Advance asked 48 secs agopaemmi Let's block ads! بخوانید...
ادامه مطلبVote count: 0 In Laravel, are all controllers only supposed to have the basic CRUD methods, as shown in the link below? https://laravel.com/docs/5.3/controllers#resource-controllers That is, should the only methods in a controller be: index() create() store() show() edit() update() destroy() Thanks. asked 28 secs agouser6903006 Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have a macro enable workbook in my local folder. This workbook consists of 7 worksheet in total. Last sheet named as "AnsSheet". I want to save the last sheet (AnsSheet only) in the same folder location with modified name. Here is the code I am using which is not giving desired result. Could you please guide. Thanks in advance. Sheets("AnsSheet").Select Set wb = Workbooks.Add ThisWorkbook.Sheets("AnsSheet").Copy Before:=wb.Sheets(1) ActiveSheet.SaveAs Filename:=ActiveWorkbook.Path & "WF_Macro_" & Format(Date, "DD-MMM-YYYY") & ".xls" asked 47 secs agoSharma S Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am facing some issue while ruing a maven project job on Jenkins. According to code, it should create a new File on the location passed. Using below code for the same. String fileName = "C://DevTools/abc.txt" File file = new File(fileName); file.createNewFile(); //retuing false When I surrounded the above code in try-catch block, it threw Exception 'Caot find the file path on system'. I checked the path in System manually, it was correct.But when I tried creating a new file using FileUtils (Apache common IO), it created the file successfully. Is there any reason behind this? asked 16 secs agoSharath N Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I'm a newer for GRPC.I want to know that if the server start a new thread to process when a GRPC client start one request. asked 34 secs agoMochen Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am trying to handle svn operations through a web portal using SVNKit with spring. I am able to perform separate operations like commit,cleanup,update etc. My commit code goes like : public Exception commit(String user, String password, String fileName,String comment) { Exception svnException = null; try { SVNUtil.cleanUpSVN(); ISVNAuthenticationManager authManager = SVNWCUtil.createDefaultAuthenticationManager(user, password); ISVNOptions options = SVNWCUtil.createDefaultOptions(true); SVNClientManager svnClientManager = SVNClientManager.newInstance(options, authManager); SVNCommitClient svnCommitClient = svnClientManager.getCommitClient(); File commitFile = new File(fileName...
ادامه مطلبVote count: 0 I searched about how to set Tomcat as my project's server but still haven't figured out so let me ask you why. I have Tomcat but get error message which say "the selected directory is not a valid Tomcat home" could you tell me why I get this message?enter image description here Thanks in advance. asked 36 secs agoMasanari Miyazaki Let's block ads! بخوانید...
ادامه مطلبVote count: 0 My desktop has a NVIDIA GeForce GTX 745 with 4GB DDR3 and I plan on upgrading to an NVIDIA GeForce GTX 1070 with 8GB DDR3, I have read mixed reviews online and it seems as though too slow of a dedicated PHYSX dedicated graphics card would actually decrease your frame rate. Seeing as the 745 would sell for very cheap and I would feel bad not using all of my hardware, will I see an improvement in performance? Is there any way that I could utilize my old graphics card? asked 42 secs agoCHouse95 Let's block ads! بخوانید...
ادامه مطلبVote count: 0 New to using SQL server management studio... Just trying to filter my table results to show only records that have (deceased) in them... So far I have select SURNAME, count(SURNAME) from [dbo].[blahblah] group by SURNAME order by SURNAME I would usually use TRIM/translate like the below, however it doesn't recognise these functions... select trim(translate(cast(GUAR_PHONE as string), '0123456789', ' ')),GUAR_PHONE from atable WHERE trim(translate(cast(GUAR_PHONE as string), '0123456789', ' '))'' ; asked 38 secs agoBenji Taylor Let's block ads! بخوانید...
ادامه مطلبVote count: 0 sudo http_proxy=200.108.138.118:3128 curl -L -> curl -x 200.108.138.118:3128 -L -> Received HTTP code 403 from proxy after CONNECT Why last one doesn't works? asked 57 secs agoNoah Burger Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I'm trying to find license information to use the open source code ColorPicker in my app. However, I can't seem to find any license file for the project. Does anyone know what kind of license they use or how to find them? Thanks. https://android.googlesource.com/platform/frameworks/opt/colorpicker asked 55 secs agoJulia Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I Know there are already questions liked this but there are nothing that work in this program. i get this code from one youtube videos tutorial public void ListDrawer() { final List studentList = new ArrayList(); try { JSONObject jsonResponse = new JSONObject(jsonResult); JSONArray jsonMainNode = jsonResponse.optJSONArray("student_info"); for (int i = 0; i < jsonMainNode.length(); i++) { JSONObject jsonChildNode = jsonMainNode.getJSONObject(i); String name = jsonChildNode.optString("student_name"); String number = jsonChildNode.optString("student_id"); String outPut = name + "-" + number; studentList.add(createStudent("Students", outPut)); } } catch (JSONException e) { Toast.ma...
ادامه مطلبVote count: 0 I have 2 tables 1 [dbo].[t_Olympic_Country] where i have all the county list but population and GDP is empty. Now i have second table which has most of the countries with population and GDP data but its it has not same number of data. I would like to enter value of GDP and population from 2nd temp table [dbo].[temptable1] to first [dbo].[t_Olympic_Country] in case the cuntry name matches with [dbo].[t_Olympic_Country]. I mean a conditional bulk update for [dbo].[t_Olympic_Country]. Can anybody help me? i tried following which gives error : INSERT INTO [dbo].[t_Olympic_Country]( [GDP] ) SELECT temp.[GDP] FROM [dbo].[temptable1] temp WHERE (temp.[Country_Name] IN (SELECT tl.[Coun...
ادامه مطلب