Problem in View
I have a question regarding creating a view. Does the view name has to be something in the existing database? I got the following error when I create a view. Please help, thank you. Create view...
View ArticleDead lock schedulers in sql server 2008R2 sp2.
Hi All,I did googled for this error and all I could get is about error 17883,17884 etc and the causes for this error, butPlease help me in with recommendations to avoid this error in future.SQL VERSION...
View ArticleFinding SQL Server 2008 product key from an installed instance
Hey How can i get SQL Server 2008 r2 product key from an installed instance ?Thanks
View ArticleTemp DB size
Hi, all,We just installed a new program which uses SQL 2008 R2 DB. One of the recommended specs was 40 GB of temp DB size. Can anyone please explain what it meant by that?What I have now is quadcore,...
View ArticleFromatting date within an expression
hi all!I have written a report which uses an expression to combine a couple of fields and some text in one sentence. the issue that I have is that when I combine texts and fields I don't have the...
View ArticleSQL 2012 installation on VMWARE
Hi,I am installing SQL 2012 on a VM(Vmware ESXi 5.1.0, 838463). this is my disk setupOS DiskProgram DiskData Disk Log DiskWhen I install the sql installation on the program drive and point the data and...
View Articlesqlquery to get all cases in a child table
I have to tables - demographics and PatSubs. Both tables are linked by caseno filed.Now, PatSubs may have one or many substance entry for the caseno.If I do the following:USE [njpies2013]GOSELECT...
View ArticleSQL query to retrieve a Rich Text Memo field
What will be the select command to retrieve a field [ToxPatMemo] which is in RTF format? I just want to retrieve the Text contents without all the characters for underline, bold, etc.Thanks in...
View Articlesql query on many child tables
I have an SQL database with many linkesd tables.If I do:SELECT [CaseNumber]<o:p></o:p> ,[CenterCode]<o:p></o:p> ,[Outcome]<o:p></o:p>it will give me all...
View ArticleFlat files data comma separated using SSIS.
Hi,I have multiple flat files which come in comma separated columns. See example below :Customer Data CustID,FName,LName,Disease,Email,Phone 12345,Xyz,Smit,Bronchitis, Asthma and...
View ArticleBad practise : IP hardcoded and now SQLSERVER MOVED IP
Hi all, I have a big big trouble. there is a remote Server in a virtual factory.Right now I need to move all the applications inhouse... no problem... we copied all the software, we moved the...
View ArticleHelp with a query using ISNULL and RTRIM in the same select statement
What I'm trying to accomplish is to blend the following two statements together:ISNULL (EMail_Address, '') As Matrix_Member_Email ANDRTRIM (EMail_Address) as Matrix_Member_EMailSo that if the email...
View ArticleSQL Server 2014 License
I need to purchase a license for my client, but he is asking me can this license be transfered to another PC if need. Other words in HD failure can I reactivate the license on the new HD or PC. Also in...
View ArticleChecking these SQL Server Questions ??
I got these questions from a practice book based on sections that talks about learning SQL. It does not have a Key to grade it. Does any of the questions I answered look wrong(I answered in orange)?
View ArticleSQL 2008 Trigger to handle multi rows scenario
I have created below trigger to start logging the company changes from the table1 into another audit table. It works fine with single row but crashing with identical change with multiple rows. Can you...
View ArticleFailed Backup "Set Property Devices"
Windows Server 2008 R2 with full version of SQL Server management Studio.I have been running and using this database on a test server for a couple of months now and as we get closer to production i am...
View ArticleSQL Query
Hi Everybody,I have a table and two fields.like Name CityABC LondonABC New YorkXYZ DelhiXYZ MumbaiI want to output like below.Name CityABCLondon,New YorkXYZDelhi,MumbaiThanks in...
View ArticleData file size is reducing automatically
Hi,I have increased the data file size but it will reduce automatically to initial size after some time.Auto shrink is set as False.Kindly help to fix this.ThanksShashikalaShashikala
View ArticleSql browser 2008 Sp4 - client can't connect to remote server but sql browser...
Hi all,I have a strange issue on a sql server 2008 named istance (servername\SQLSERVER ) that mount SP4.The client resolve the name correctly(ping) and the instance is on the default port (1434 , no...
View ArticleSQL Server 2008 R2 installation
I was trying to install SQL Server 2008 R2 express. I got the following error message. Please help me to solve the problem.Thanks[Error Message] Attributes do not match. Present attributes (Directory,...
View Article