provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance...
Hello Mates,I have a connectivity issue on my Application server; all application based , Sharepoint Farm and services that are set on a problematic server and connected to the DataBase suddenly...
View ArticleWhy are my jobs not running and next run is not scheduled?
My SQL server agent had stopped. So I started it. After I started it, the activity monitor showed that "Agent XPs are disabled". Then I ranEXEC SP_CONFIGURE 'Agent XPs',1 GO RECONFIGUREAfter that my...
View ArticleSQL Server 2008 Instance Path change
Dear all,Currently we have SQL instance on C:\\ drive.We are now going to upgrade SQL Server 2008 RTM to SQL 2008 SP4.Can we change the path of SQL instance during upgrade?If yes then how to do...
View ArticleDoes this error mean the failover failed? Cluster resource 'SQL Server...
Cluster resource 'SQL Server (InstanceName)' in clustered service or application 'ClusterName' failed.Does the above error mean the instance tried to failover but failed. (Hope that makes sense). Sorry...
View ArticleWhy can't I get the available free space after shrinking?
My disk drive was full. So I deleted some records. Then I tried to shrink and it indicated available free space of around 5GB as indicated in the below image.Once I ran the shrink for data file, though...
View ArticleService Broker: messages sent back from target to initiator not received by...
Hi,I have the initiator sending a XML message to the target. The target queue activates a SP and answer back a message to close the conversation.My problem is the initiator never gets the message back...
View ArticleBe Our July SQL Server Guru! Supply a Sizzling "Sunny Season" Scoop!
Up here in the Northern Hemisphere, things are hotting up!And in TechNet Guru land, hot is cool!So once again, we ask you for your sizzling "Sunny Season" scoop.Your blazing and boiling blurb, and your...
View ArticleA quick question on SELECT and DISTINCT, please...
I want to design a view using two tables, Table1 and Table2.In Table1 there is a field that holds a product name (Table1.ProductName) and another field showing a sale date (Table1.SaleDate)I'm trying...
View ArticleHow can i save to a datetime field without milliseconds
Hello !I'm trying to save a datetime value from vb.net to a sql server.I'm using this code :Dim dt As DateTime = DateTime.Now.ToString("dd/MM/yyyy HH:mm:ss") After I save this value to Database.But on...
View ArticleA question about transaction locks/isolation level
I have the following scenario: in a table I called FilmGenre I have the following columnsGenreID as INT, PK, Identity columnGenre as Varchar(max) the table is currently populated with GenreIDGenre...
View ArticleWorktable showing high logical reads
Hello all,I have a store procedure where i have one sub query to return no . of attendance between period selection basically like this, SELECT EmployeeCode,COUNT(DISTINCT ATTENDANCE_DATE)AS...
View ArticleSSMSE 2008 Database diagram node is missing
Hi. In northwind database or also in new created database the database diagram node is not visible. Can anyone help me with this? I could't find answer anywhere. Thank you
View ArticleHow to write the following update query ?
SubQuery : SELECT * FROM stagedw.dbo.credit_note_src a INNER JOIN (SELECT DISTINCT period_key,product_key,std_cost FROM JNBVDW02A.edw.dbo.fact_trading_inventory_summary) b ON a.type_ind='UPDD' AND...
View ArticleTaking to long time to run .SQL Script in AZURE using sql server management...
I have face a problem to Create Database and run the .SQL Script file in Azure using C#. When i test it manually in my Local machine and local machine instance it takes only 15 Sec , but when i run...
View Article(localdb)\MsSqlLocalDb Trustworthy database
Any one know how I can set a database to trustworthy on a local SQLEXPRESS database (localdb)MsSqlLocalDb.n.b. ALTER DATABASE x SET TRUSTWORTHY ON does not workIt say "Command Completed Successfully"...
View ArticleFinding SQL Server 2012 cumulative updates
Hi, I'm trying to download the cumulative updates for SQL Server 2012 w/ SP2. I've received the email with the link to the download but I keep getting the error message 500 - Internal server error....
View ArticleWeb Front End options to interface with SQL
Hi,I've got a database, which was MS Access front and backend, which I've now moved to a SQL Server backend. I'm now considered web enabling the front end to make it more accessible.I've not developed...
View Articleuser_type_id
I am trying to understand a complex piece of code, in which I found a join which is as below, can any one help in with the conditionuser_type_id <> 165 means ? (SELECT [object_id], [name] FROM...
View ArticleSimple Question on ANSI Join
Hi All,I've simple question on the below join, What I am understanding is:If the --1st Join do not return data it evaluates --2nd join and if this also do not return data it checks for --3rd if third...
View ArticleSQL Server: The login is from an untrusted domain and cannot be used with...
Hello,This is a weird issue, I am on a server which is in domain test.zone, two instances instance1 and instance2 both have their own cname sqltst1i1.test.zone, and sqltst1i2.test.zone.I cannot connect...
View Article