Viewing 15 posts - 76 through 90 (of 139 total)
CASE WHEN is not required. You can use Lowell's last script. Also you have a where condition. So all the data will be with NULL.
April 8, 2011 at 8:12 am
As per Lowell's query you can create the temp table.
Actually, I tried to ask you to write a script as below.
EXEC sp_executesql @inputQuery -- N'SELECT CustId AS label1, Name...
April 8, 2011 at 6:39 am
Try this. I didnt test the code as I do not have sql installed in my system.
DECLARE @startdate as datetime
DECLARE @enddate as datetime
DECLARE @T TABLE (startdate DATETIME, enddate...
April 8, 2011 at 5:40 am
Is there any prob with using a temp table? If not, create a temp table with IDENITITY field and insert data from customer table. Then you can loop through each...
April 8, 2011 at 5:09 am
UMG is UMG Developer. User name of the previous post. DDL is Data Definition Language. HowardW corrected my mistake in the trigger type. Thanks HowardW.
April 8, 2011 at 2:32 am
UMG might be saying about Logon "DDL" Trigger.
April 8, 2011 at 1:46 am
In Express edition you can not restore a backup which is having more than 4gb. You may required to reduce the size of the database by removing unwanted data and...
April 7, 2011 at 1:05 pm
2-3 years back I faced the same issue like Doctor and his available consultation slots. Table structure was same. What I did, joined both table and brought 2 columns DoctorName,...
April 7, 2011 at 3:11 am
This is the comment in the following MS Link: http://msdn.microsoft.com/en-us/library/ms189107.aspx
Use the Lock:Timeout event class to monitor when time-out conditions occur. This information is useful to determine if time-outs...
April 6, 2011 at 11:59 am
Subrat,
Hope your data as below
EmpId | EmpSal
---------------
120000
210000
315000
What would be your expected result?
April 6, 2011 at 8:11 am
Gail/Ali, Is there any way to restore the data from Mirror to Primary if something happened to primary data?
April 6, 2011 at 6:33 am
You may required to run the setup to repair master db.
Also please check the below links.
http://www.articlesnatch.com/Article/How-To-Fix-Master-Database-Corruption-In-Ms-Sql-Server/972983
April 6, 2011 at 3:15 am
Ans 1
True. We can not compress db in Std edition
Ans 2
I have gone the below link and read the following
"Backup compression was introduced in SQL Server 2008 Enterprise. Beginning in...
April 5, 2011 at 8:58 am
Viewing 15 posts - 76 through 90 (of 139 total)