Good book on Microsoft SQL Server 2012
Hi Guys,which book you would recommend to learn SQL Server 2012 from SQL developer's perspective, instead of SQL Server DBA.Thanks
View Articlehow to create a composite nonclustered index using sql server management studio
Hi,How do I create a composite non clustered index using Manage Index and Keys dialogue box?sukai
View ArticleResuse existing object (Sp,tables etc)or create new object if that is possible?
Hello Everyone,Is it a good practice to create new objects (stored procedures, tables etc.) or modify and reuse the existing object if that can be done?RegardsRegards
View ArticleSQL Server Error 53 and SQL Server Error 17
SQL server 2000 with remote clients at 3 locations. Sites had been connected via leased line. We switched everything to internet/VPN. Everything works, but a several times a day, the clients receive...
View ArticleSelect query gives insufficient system memory.
Issue: Msg 701, Level 17, State 123, Line 1 There is insufficient system memory in resource pool 'default' to run this query. Details : Some times we are getting the above issue when we run the select...
View ArticleHow much HDD space and an index possibly use?
I just ran this:sp_spaceusedDB size is 5432MB.reserved data index_size unused 5556408 KB 5336728 KB 1184 KB 218496 KBI have only Windows 7 and SQL Server 2014 installed on a 40GB...
View ArticleAttach SQL Server 2000 database file to SQL server 2014
HI All, I want to attach SQL Server 2000 database file to SQL server 2014, but this error message occurs,“Database db_14 cannot be upgrade because its non-release version (539) is not support by this...
View Articlehow to setup a variable attachment in SendMail task in SSIS?
Hi Everyone,I'm using a SQL2k5. I want to configure a variable attachment in SendMail task, but I didn't find where I should go to. In the above pic, I can only input a hard-coded path. Howerver, the...
View ArticleWindows update quits working giving me access error when installing SQL...
I am at my wits end. I've been developing on Windows for 20 years but have never run across something like this. On Windows 7 Pro I need to install the SQL Server 2014 demo (SQLServer2014-x64-ENU)...
View ArticleMoving Default Trace File in SQL Server
How can I move the default trace file in SQL server? SQL Server 2012?Thanks in advanceebro
View Articleextract and convert the date part
ApplicaitonIDApplicationdate2612FSK_LHER_Sep 9 2013 2:45:51:877PM_26122902FSK_AKBH_Dec 19 2013 12:15:19:450PM_29022902FSK_GUOBE_Dec 19 2013 12:15:21:870PM_29022902FSK_GUIBE_Dec 19 2013...
View ArticleUsing function in select statement
Hi,CREATE FUNCTION [dbo].[udf_testFunction] ( @value int ) RETURNS int AS BEGIN-- Declare the return variable here declare @returnValue int set @returnValue = @value*2; return @returnValue; END GO...
View ArticleIs it possible? A table that contains 1000 columns?
Hi,May I create a table that contains 1000 columns each having datatype of varchar(5000) in sql server?I was asked the question in an interview. Have anybody any idea?Anujit Karmakar Sr. Software Engineer
View ArticleHow to determine if SQL Server 2008 is setup to be Unicode
HiI am trying to determine if my sql db is setup as Unicode or Non-Unicode.I ran the following command: SP_HELPSORTFollowing is the output: Latin1-General, case-insensitive, accent-sensitive,...
View ArticleDifference between varchar and varchar(max)?
Hi,What is the difference between varchar and varchar(max)?Anujit Karmakar Sr. Software Engineer
View ArticleDefault startup UserID
My SSExpress2012 database uses SQL Server authentication. I am the SysAdmin and the ServerAdmin. Whenever I open a connection in SSMS, it opens up with the same UserID (not mine) and I have to select...
View ArticleSSAS - Invalid Directories
Hi,I earlier had two instances on SQL Express Edition on the official laptop. Thereafter, I installed the enterprise edition of SQL Server 2014 some days ago but installed just the Engine and created...
View ArticleIP configurations while doing Sql clustering on windows server 2008 R2
Hi there,I am doing a demo practicle for two node windows clustering later which I will be using for Sql clustering and HAG for sql 2012.As I am novice in this and have little knowledge of Networking I...
View ArticleOpening BIDS causes disk queue length to shoot up
Hi,I have a SSIS package and I noticed that when I open it in Visual Studio the Avg Disk Queue Read Length briefly shoots up on both my data and tempdb drives. Is there a potential issue here or how...
View ArticleSave queries of views automatically
Hi all,i have a problem: i want to save a lot of queries of views. The views are already existing, and i want to save the queries of theese views. I don't know how to do it.Now i do it this way:right...
View Article