November on TechNet: Calling All SQL Server Gurus - Enlighten Us!
"An influential teacher, or popular expert" Oh mighty reader, we need your enlightenment! Only YOU can show us... the TRUE WAY to code! Win the love and adoration of generations to come, by giving...
View ArticleShrink DB
We have a DB of 450 GB configured with MirroringEvery week we are deleting around 25 GB of data in itCurrently It has around 200 GB of free space in all filesShould I shrink the database or not?Please...
View ArticleUnable to connect to remote SQL Server
Hi,I have two machines here on a LAN. Both used to connect and log on to a remote (internet) SQL Server 2012 successfully. The client I am using is SSMS.As of yesterday, one machine can still connect...
View ArticleBusiness contact manager does not show fields in Windows 8.1
I have loaded business contact manager both 2013 and went back to 2010 and the fields are not fully sized in the new windows 8.1 system. I have tried talking to Microsoft for over 10 hours and no one...
View ArticleConnect to Server: Cannot connect to (loca)
After installing SQL server 2008R2, I go to MSSMS and find out there are only Integration Services available with Running packages and Stored Packages are there.When the, "Connect to Server" dialog...
View ArticleSQL Server 2008 R2 hangs due to presence of a job imported from SQL Server 2005
Hi,My production SQL Server 2008 R2 hangs due to presence of a job imported from SQL Server 2005. The situation was not relieved until I deleted the job. This job imports data into a table through a...
View ArticleNot able to connect to ODBC through Access
I have a 32bit machine with MySQL installed and trying to connect to a different machines with Access installed using ODBC. I want to pull data from MySQL into ODBC but I am getting the following...
View ArticleNeed help with two questions ( SET OPERATORS and WINDOW FUNCTIONS )
I did 'Querying Microsoft SQL Server 2012 Jump Start' Course. But I got these two following questions wrong:1)True or False: You use the INTERSECT operator to combine results from two SELECT...
View ArticleDatabase Maintenance Plan Update Statistics Error
Hi,We have been running a daily database maintenance plan (Update Statistics / Database Backup for 3 production databases) in a SQL Server 2008 Server.We get an error last night as there is no...
View ArticleSQL Server Patch Failed
May I know the cause of this?I don't understand why the patches failed. My colleague tried on other server and it works, but not on the current machine and prompt the log as below.Overall summary:...
View Article"A SELECT statement that assigns a value to a variable must not be combined...
Hi thereWhy simple request like SELECT @j=Id, Status from [Employee] where [Id]>100;cause problem, shown in the subject?First of all, why I cannot use the "into" reserved word - it is the TSQL...
View ArticleNew to SQL server
I have SQL statements our ERP support people sent me to handle a multiple jobs issue we have since they upgraded us.Basically what happens is the system will submit 1 or 2 jobs thousands of times, but...
View ArticleFunction declaration problem
Hi thereI'm doing the migration from legacy DB to MS Sql. How to simulate the CREATE FUNCTION with the out parameter?All suggestions on using Table-based result sets are Ok, but in that case I have to...
View ArticleMax connections
Hi,Max connections are reached while Iam trying to connect and to take backup. What I need to do?
View ArticleInsert Trigger causes application to think "another user modified data during...
We are using an application called Sage FAS (Premier Depreciation).They have an Asset table "currently with no triggers" where we need to update a table in another SQL Server when receives a new...
View ArticleSQL Server Processor/Core Licensing and Windows CALs
I've scoured the internet for an answer to this question, so I'm assuming the scenario isn't as common as I think, or people are purposely looking the other way because they don't want to know the...
View ArticleError: Operand data type datetime is invalid for sum operator.
I am trying to print 0 if the total of the count is 0 but not working select sum(DATEADD(day, DATEDIFF(day, 0, dCreated), 0)) as TotalCount, DATEADD(day, DATEDIFF(day, 0, dCreated), 0) as...
View ArticleWont go past OSCHECK
Hello,I am trying to install SQL Server 2008 R2 standard but i cannot go past the Installation rules page. It keeps fails at "Operating system supported for edition"I am trying to install this on a...
View Articleprimary key voilation in transactional replication
Hi,How to resolve primary key voilation in replication.
View Article