SQL migration
HI sir, We migrated from Microsoft SQL Server 2005 32 bit to Microsoft SQL Server 2014 32 bit version recently now. We actually detached the MDF file from the previous installation of SQL Server 2005...
View ArticleWhat is the need of OUTPUT parameter in Stored Procedure?
Hi,I am not clear about the use of OUTPUT parameter in stored procedure as we can return any value using select query.Can anyone clarify by simple example.Thanks and Regards,Anujit KarmakarAnujit...
View ArticleSQL Server 2008 Install: the performance counter registry hive is corrupted
Hello,I am trying to install SQL Server 2008 Express Edition on a Windows XP machine. I get the error "Performance counter registry hive consistency".I tried to manually rebuild Performance Counter...
View ArticleHow to configure TCP/IP access for SQL Server/Express 2014
I need to use a third party JDBC driver and SQL Server authentication (as opposed to windows authentication) for a java program. My java program is working with this third party driver when I use named...
View ArticleScript to find out login failed for which database.
Hi Experts,I know how to find out login failed users randomly, but I need to find out to which database these failed logins were associated with?Can you please let me know is there any script with...
View ArticleRebuild index in sql server 2014 log file increased
HI i have add maintenance plan rebuild index in sql server 2014 log file increased very tremendous space how to avoid thiskindly advice mebaskarlakshmi
View ArticleHow to install SQL Server 2008 five parts .
Hi experts , I have downloaded SQL Server 2008 R2 in 5 parts and now i wanna install it . How can i install SQL although of it's multiple parts ? note : i wanna install it on windows server 2008...
View Articlewhat causes my buffer cache hit ratio to hit 100 %
Hi experts, can you please help me to find out what is causing buffer cache hit ration to hit 100 % constantly, I have googled it but I get lots of information which I am not able to understand.please...
View ArticleTrying to download SQL Server Express, Download link redirects me to start of...
Hi. I can't seem to complete the registration process for downloading SQL Server Express. Is anyone else having this issue? I've used multiple browsers and multiple accounts, but they all run into the...
View ArticleHaving trouble
I have the below code and want to run a sub query but keep getting a syntax error:Msg 156, Level 15, State 1, Line 11Incorrect syntax near the keyword 'FROM'. the field...
View ArticleHow many databases we can add in aways on replica`
Hi All,is there any limition in AlwayOn to add database in secondary replica?Regards,Pawan SinghThanks
View ArticlePurchasing SQL Server 2014 Standard CALS (UK)
Hi,I need to purchase SQL Server 2014 standard version and I am very confused about where to buy extra CALs from. I'm from the UK and have found the store page for SQL Server 2014 Standard but it...
View ArticleHow do I merge two rows only if there is the TagWidgetIds are same but the...
I have this stored procedure which generates the following output.The query which generates the output from the stored procedure is as follows:SELECT tat.[agent-id], tat.[agent-guid], tat.[agent-name]...
View ArticleConversion failed when converting date and/or time from character string.
Hi,This is my code and I don't know why this error keeps coming out : PS : I did cursor to execute query.Th error showed is bold: DECLARE RegCreatedDate CURSOR FORSELECT DISTINCT...
View ArticleSQL 2014 upgrade error code 2331
I tried to upgrade my current MSSQL 2008 R2 developer to MSSQL 2014 developer run on OS 7 professional.here is the link to...
View ArticleTable Joins Causing Duplicates
HelloI have a table with call data (ContactID, Queues Entered, Call Status, Date & Time Stamps etc). Each entry relating to a contact ID goes onto a new row. The first row for a contact is the date...
View ArticleODBC drivers for SQL Server 2008
Hi:I am using an application (ERWin) which is looking for 2008 ODBC drivers. I have two questions:1. Where can I download the SQL Server 2008 ODBC driver from?2 Are these drivers compatible with SQL...
View Articlequery ddatetime
HI ,In my below query it is not calculating hours correctly WITH CTE_Sum AS (SELECT e.EmployeeName, d.ProjectName, DATEADD(ms, SUM(DATEDIFF(ms, '00:00:00.000', d.Total)), '00:00:00.000') AS TotTime...
View ArticleWhat is smaller when saving to SQL database?
When saving a blank column to an SQL database, which of these two options actually uses the least amount of space on the hard drive? NULL or ""would there be a benefit to using one over the other?might...
View ArticleMy "Create Table" Code isn't working
I'm trying to make a certain simple table, having an indexed ID field which enumerates automatically (like MS Access's Autonumber). I also have a checkbox field. (I do not know the best datatype for...
View Article