Vote count: 0 I've been having a problem using Visual Studio to coect to a networked sql server with a networked user, a local administrator, and a domain administrator. Here's the coection string in Visual Studio: string coecitonstring = "Server=development;Database=testdb;User Id=TestUser;Password=TestPassword;"; co = new SqlCoection(coecitonstring); 1) Ruing Visual Studio as non-administrator and as an administrator, I get the following error. {"A network-related or instance-specific error oc...
ادامه مطلبVote count: 0 I have three joined tables 'Student' , ‘StudentTransportOrder’ and 'Transport' in SQL server I have made a ‘StudentActivity’ view for this the 'Student' table each student record has a TransportOrderID however the table I have joined to has a 'VehicleID' this is recorded into the ‘StudentTransportOrder’ table if transport is used, even though the vehicle type may be different e.g. Train or Car Unfortunately the same transport id has been entered for the same date and time for a stu...
ادامه مطلبVote count: 0 I have the following table: pairID source_issue_id destination_issue_id 1 J I 2 B C 3 J M 4 F I 5 A B 6 A E 7 N O 8 J L 9 C D 10 P Q 11 G H 12 B F 13 L K 14 C N 15 A G 16 E F representing nodes in a graph. I'm not using pairID, since does not seem useful. I want to get the ancestor path for all nodes, the level at which each pair occurs, the full path, and the 'path group' So far I've used the following code: ;with auxPairs as ( select 1 as lvl, b.source_issue_id, b.destination_iss...
ادامه مطلبVote count: 0 Recently we have migrated from windows server 2003 to windows server 2012. We are using OpenPop to get the mails from the mail box and convert it into xml files. Application was working fine in windows server 2003. but we are getting an xml invalid error windows server 2012. Below is the sample which shows the diffece between the xml generated in windows server 2003 and windows server 2012 windows server 2003 Mail Delivery Failure...
ادامه مطلبVote count: 0 Recently i have tried to install jasperSoft alongside Oracle but couldn't because there are some files missing in the C:Program Filesjasperreports-server-cp-5.2.0a-binbuildomaticconf_sourcedb , the files are missing i only found postgresql and mysql and the same thing in C:Program Filesjasperreports-server-cp-5.2.0a-binbuildomaticinstall_resourcessql the folder oracle is missing , i have tried to copy past and try to modify the files my self but no luck J.J asked 23 secs agojames.n...
ادامه مطلبVote count: 0 I have SQL Server 2008 and SQL server 2016 ruing on my server. How do I select which server the ADO Coection string is looking at? The Data Source indicates the Server and the Initial Catalog indicates the Data Base, but I do not find a setting to indicate which SQL Server the coection is using. Is there one? Using Delphi6. Provider=SQLOLEDB.1;Password=xxxxxxx;Persist Security Info=True;User ID=sa;Initial Catalog=FIFDB;Data Source=ROONEY01;Use Procedure for Prepare=1;Auto Translate...
ادامه مطلبVote count: 0 I have MsSQL database which is created in MSSQL 2012 SQL server.On my local machine I have installed MSSQL 2008 SQL server.Will the 2012 database work in MSSQL 2008? asked 23 secs agovishal shah This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting....
ادامه مطلبVote count: 0 I have 2 registers transfer from PLC (modbus) to sql server, each 16 bit. I want to combine this 2 integers, and to convert to a Real sql datatype declare @int1, @int2 integer declare @result real Select @int1 = 18196 , @int2 = 28800 Select @result = @int1 * 65536 + @int2 //-- this result is not wanted I need the same result as in my Plc, the result is 38000.5 How do I convert to the real data type in sql??? My head hurts, of searching the net, thanks for help The other way around ...
ادامه مطلبVote count: 0 I'm trying to start Sql server express from command line using the following command: net start MSSQL$SQLEXPRESS But I get this error: System error 5 has occurred. Access is denied. I have administrator privilege and my OS is windows 7. asked 1 min agoe.s Let's block ads!...
ادامه مطلبVote count: 0 I'm having a problem with old Log files not being deleted after the retention period expires in a Log Shipping Job (Error Message Below) The SQL Servers Service account obviously has access to the folder since it is able to create the backup files. I suspicion is that perhaps the delete part of the Job executes under the credentials of the SQL Agent rather than the credentials of the SQL Server Service. However I can't find any information to confirm this hypothesis. 2016-07-02 17:...
ادامه مطلبVote count: 0 I am trying to run my SQL Server based Winform application from two computers which are coected in LAN.(Desktop PC, Laptop) I followed MSDN and the below mentioned StackOverflow answers: LINK 1 (Verified Answer) LINK 2 (dyslexicanaboko's Answer) I tried the below steps: My Winform app's coection string: In my Laptop: I have SQL Server 2008 R2 Enterprise edition, Windows 7 64bit Ultimate. In SQL Server Configuration Manager, I enabled the protocol for TCP/IP for my instance "SAINSTA...
ادامه مطلبVote count: -1 How would I go about tuning the following t-sql query? The execution plan looks ok (i.e it is using index seeks, index scans). asked 1 min agoAjit Goel Let's block ads!...
ادامه مطلبVote count: 0 I am a beginer in Azure and i have been trying to accomplish below scenario task:I have created two Virtual Machine say vm1 and vm2. Virtual Machine(vm1) where I have have installed ADDS(Active Directory Domain Service): Window server 2012 R2 Domain Name: Say: TestDomain , ip:10.0.0.79user : testuser@TestDomain.onmicrosoft.comIn Virtual Machine(vm2), i have installed Ms-SQL server 2015 is ruing and have database on it. Then I have added the Domain name and configure DNS on vm2 with...
ادامه مطلبVote count: -4 Please go through the following description & prepare ASP.Net interface with SQL Server Back end (preferably use C#). Create an application to Add / Delete/ Modify Employee’s details using a web application. 1. Create New Database in SQL server. a. Database Name: Create new database with the name as “Test_Database” b. Server Name: c. Useame: d. Password: Table Layout: Sr No Field Name Data Type / Size 1 Employee ID(Pkey) Integer 2 Employee Name NvarChar(100) 3 Email NvarChar(50) 4...
ادامه مطلبVote count: 0 I'm ruing this query and getting below mentioned error. Can anyone help? Column name 'Middle' contains an invalid XML identifier as required by FOR XML; ' '(0x0020) is the first character at fault. SELECT Useame as [LastName], '' AS [Middle], '' AS Birthdate, '' AS [SSN], 0 AS [Wage Amount] FROM Employee FOR XML PATH edited 17 secs agoJeroen Mostert asked 1 min agoLokesh Let's block ads!...
ادامه مطلبVote count: 0 I have an Excel workbook that will query a SQL Server 2012 database using VBA. Many users will temporarily use this workbook so I created a generic ID with SQL Server credentials only. Some of the users can execute the VBA and retrieve data without a problem. When other users try, the VBA ignores the provided coection string using the generic user and password and provides their windows credentials. Why are they sending their windows credentials instead of the credentials provided ...
ادامه مطلبVote count: 0 So here's a scene, i have converted excel file into pdf. uploaded in my website. Now i want to store the DATA of pdf file into database. I need to read the data and store the data into database. Say, in my excel file, i have a column named Student Name, converted this file into pdf. So this header will stored as a Column in Database.. looked foe this problem on google. FileStream will do somewhat but not the all. P.S. I need to store pdf's Data. not pdf file. Database : Sql Server ...
ادامه مطلبVote count: 0 In SQL Server 2012, I have a table "Window" and another table "WindowAction" and i need to join the tow tables with many-to-many relationship . And my question is what i should name the third table?? Is "WindowWindowAction" is correct ?? Thank You. asked 2 mins agouser3870553 Let's block ads!...
ادامه مطلبVote count: 0 I'm creating an index in a SQL Server table with ONLINE = ON option: CREATE INDEX IX_Name ON Users (Name) WITH ONLINE = ON If this script is run on non-Enterprise SQL Server edition I get this error: Online index operations can only be performed in Enterprise edition of SQL Server. How to write a SQL script to use ONLINE = ON option on Enterprise editions and not to use it for non-supported editions? asked 3 mins agoalexey Let's block ads!...
ادامه مطلبVote count: 0 Is there any simple function for get this output. SELECT Title FROM Table WHERE Id = 1 ---- My title Desire function or etc ... SELECT MYBASE64ENCODE(Title) FROM Table WHERE Id = 1 ---- TXkgdGl0bGU= I need the function for ecnode string to base64. asked 1 min agosweb Let's block ads!...
ادامه مطلب