Brighten up our day! Become a shining September SQL Server Guru!
As we in the Northern hemisphere watch the leaves turn brown, and the days grow shorter once more, we mourn the onset of darkness and cold. Winter is coming, and it may be a long one! (heard that...
View Articleregarding sqlserver
Hi, one product is there with 100 pieces,at a time three users are operatinguser1 ordered 50 piecesuser2 ordered 60 piecesuser3 ordered 60 pieceshow can i write sqlqueryplease help me
View ArticleThe Microsoft TechNet Guru Awards, for July 2014, has been posted!
The Microsoft TechNet Guru Awards, for July 2014, has been posted.Congrats to all winners! Well done all contributors...
View ArticleSet out of range value to a time datatype in sql server 2008
Hi,I have a variable set to time datatype in SQL server 2008. I need to set a value more than 24 hrs to that. Is there any way? I get an error like Conversion failed when converting date and/or time...
View Articleconvert access to sql server
please helpI have sql work in access but in sql server I get errorTRANSFORM First(Eval1to4.answer) AS FirstOfanswer SELECT Eval1to4.evalOid, Membershiptypemap.mappedvalue as membership,...
View ArticleThe number of client workstations currently connected to the database server
Hi All,I am receiving some alerts for SQL 2000 version saying that "The number of client workstations currently connected to the database server is 650.00". In this scenario what need to check and any...
View ArticleWhat is the difference between CTE and temp table and when to use one over...
Hi Everyone,What is the difference between CTE and temp table. I know how to create both and use but would like to know and when to when to use one over the other?RegardsGautam SGautam S
View Articlehow to add another column to a query result
Hello, I have two queries that I make a union all, to this I would add a column that makes me from another query. I tried as below and in other ways but without successSELECT Name, ( SELECT...
View ArticleNon Yielding Resource Monitor in 2012
Hi All,I have got the resolution for Non yielding resource monitor in 2008 and R2 But not in 2012, Can you please help me in this?this stack dump is in 2012:...
View Articlestackdump
Any reviews and recommendations please?Database backed up. Database: msdb, creation date(time): 2008/07/09(16:46:27), pages dumped: 2577, first LSN: 12977:136:73, last LSN: 12977:176:1, number of dump...
View ArticleInstall error: SQL Server 2012 Developer, hardware & software appear good
Installing from disc and get error 'MS SQL Server 2012 Setup' w/says The OS does not meet min requirements ... for Windows 7 ... SP 1 + is required. For more information, see hardware and software...
View ArticleAuto Restore to Test Enviroment
I have set this up once, so I know it's possible, just do not have the script previously used to replicate the process:Step 1) Execute the Backup of DatabaseLive (DatabaseLive.mdf &...
View ArticleHow to resolve this.
Error: 26040, Severity: 17, State: 1. Server TCP provider has stopped listening on port [ 1433 ] due to a failure. Error: 0x2726, state: 1. The server will automatically attempt to reestablish...
View ArticleHow to Create a Dynamic Crosstab Query?
Hi friends,I have a table like: DateOfSale SalesPerson SalesAmount Which may have any number of sales' staff (old/new workers) who have sold goods on different dates which may range atany length...
View Articleunable to install sql server in win 7
hi i am unable to install sql server 2008 on win 7 professional 32 bit ,so pls kindly help out of this
View ArticleOperations that leads to clear server cache
Hi, i want to know what are all operation that lead to clear server cache & Database cacheThanks in advance
View ArticleSQL Server Licenses
Hi,I am currently doing a project with an IT services company and they are trying to start a new hosted database service. Would anybody know in order for our customers to use SQL server which license...
View ArticleHow to recognize single quotes in sql query where condition in sql server...
Hi Team,I want search results that includes Single quote as well irrespective of its position in the query. ExampleIf My search word is(input) "Sundaris" then I need to get list(output)Sun'daris,...
View ArticleAdd date to a sql command
I have the following command, am looking to make the replace = Training: RunDate (where run date equals the value of when the command was ran)update dbo.tblOrgInfo set sOrgName = replace(sOrgName,...
View Articlehow to convert a datetime to varchar for comparing a field
I am importing an Excel file into the SQL server table. One of the fields is called DOB and it displays for example as 04141963.However, when the import is completed in the SQL Server table, the...
View Article