Viewing 15 posts - 1 through 15 (of 54 total)
The question asked to amend the value in Column1, yet options 1,2 & 3 used a field called col1, so leaving #4 as an answer - not possible ... using...
October 24, 2011 at 3:11 am
So I learnt about a new feature of the INSERT statement in SQL 2008.
Definitely use feature that when systems finally upgraded to SQL 2008.
Perhaps I should have paid closer attention...
April 22, 2010 at 3:34 am
You need the option
Must declare the scalar variable "@Dec".
When running on a Case Sensitive collation.
Once that select statement on line 2 is adjusted then it would work.
------
Robert
December 7, 2009 at 1:35 am
When MDX is considered part of mainstream t-sql language construct then fine. Otherwise it should have being labelled MDX as the topic.
------
Robert
April 14, 2009 at 2:33 am
I couldn't believe it! I have had the same situation occur during the week for one of the SQL Servers. The notifications for jobs were not being received. The event...
December 12, 2008 at 7:16 pm
What are the results of using
exec msdb.dbo.sp_notify_operator @name = '<operator>'
a) in query window of SQL Server Mgt Studio
b) as the code in a job step of an SQL Agent
1....
December 10, 2008 at 1:56 am
So you can control the name of the attachment, use the @attachments parameter for xp_sendmail.
I suggest you also review the online help for the @separator parameter since you mention you...
October 21, 2008 at 2:49 am
The roll back for all transactions is documented in the BOL.
Quote
"ROLLBACK TRANSACTION without a savepoint_name or transaction_name rolls back to the beginning of the transaction. When nesting transactions, this same...
May 7, 2008 at 1:12 am
When the loop is up to @id = 6, you will have 7 pending transactions.
The commit tran will only commit the inner most of these, still leaving 6 'Begin tran'...
May 6, 2008 at 11:26 pm
Thanks ALZDBA for the method.
I am going to define a new step 3 which will then change what the starting step will be for the job on its next execution,...
April 4, 2008 at 12:59 am
Thanks to Greg and Catherine for pointing out how to migrate existing DTS packages from SQL2000 to SQL2005 and keeping them as legacy format.
I had assumed that the Migration wizard...
December 21, 2007 at 3:30 am
It would appear that the ability to send scripts, one per file, when selecting multiple objects, is not in the Script Wizard of MS SQL Server Management Studio in SQL...
December 12, 2007 at 2:32 pm
From within SQL-EM, highlight the list of stored procedures within the database.
After right click and choosing Tasks-->Generate SQL Scripts, the "Generate SQL Scripts" window appears.
the [General] tab will show those...
December 12, 2007 at 1:39 am
Sometimes I use a 'select * into', other times 'create table', but always followed by 'insert table'.
The reason being that whilst the 'select * into ' statement is processing the...
June 14, 2007 at 1:03 am
Given you know that the first part of the string you want to search, use the BETWEEN rather than LIKE.
This does require you to determine the lowest rank character in...
March 28, 2007 at 10:10 pm
Viewing 15 posts - 1 through 15 (of 54 total)