Viewing 15 posts - 3,301 through 3,315 (of 4,087 total)
Jonathan AC Roberts (3/5/2012)
drew.allen (3/5/2012)
Jonathan AC Roberts (3/5/2012)
Create a function to split a string into a table:
The original question was about taking multiple values and storing them in a single...
March 5, 2012 at 9:47 am
Jonathan AC Roberts (3/5/2012)
Create a function to split a string into a table:
The original question was about taking multiple values and storing them in a single variable, not doing the...
March 5, 2012 at 8:55 am
suresh0534 (3/4/2012)
March 5, 2012 at 8:53 am
fahey.jonathan (3/2/2012)
IF Boolean_expression { sql_statement | statement_block }
[ ELSE
{ sql_statement | statement_block } ]
Is your point that "TRY...CATCH"...
March 2, 2012 at 12:51 pm
Let me see if I can rephrase this so that it makes sense.
DECLARE@MyIntINT = 1
IF@MyInt = 1
BEGIN
PRINT'Begin: Int = 1'
PRINT'Begin: It really does.'
END
ELSE
PRINT'Begin: Int <> 1'
This code is parsed as
IF...
March 2, 2012 at 11:47 am
fahey.jonathan (3/1/2012)
1) Is there documentation on what can define a statement_block?
2) Is "TRY...CATCH" intended to define a statement_block or is that an accident that may be removed...
March 1, 2012 at 1:28 pm
If the process task is in an event handler, it can be fired multiple times independently.
I haven't really used the event handlers, because I found that SSIS' built-in logging was...
February 29, 2012 at 2:21 pm
This formula is jammed with functions—ROW() and INDIRECT()—that depend on the underlying structure of Excel that consists of a grid of cells with each cell having a specific location within...
February 29, 2012 at 1:55 pm
TeraByteMe (2/29/2012)
update #removepgpset originalfilename=REPLACE(originalfilename,'.pgp','')
update #removepgp
set originalfilename=REPLACE(originalfilename,'.dat.pgp','.txt')
update #removepgp
set originalfilename=REPLACE(originalfilename,'.dat.gpg','.txt')
You need to be careful on the order here. The second update here will never match any records (barring something unusual like...
February 29, 2012 at 10:23 am
Just to clarify. INSERT has an optional INTO that is almost never specified, and DELETE has an optional FROM that is almost never specified. In both cases, the...
February 29, 2012 at 8:00 am
Your function is what is known as a "catch-all" query and these are known to have performance problems. Gail has a very good article about "Catch-all" queries[/url] and how...
February 29, 2012 at 7:44 am
You still haven't fixed the FATAL FLAW that you were warned about in this thread http://www.sqlservercentral.com/Forums/FindPost1256724.aspx.
Someone (SQL KIWI maybe) mentioned that one company had gone out of business, because they...
February 28, 2012 at 8:42 am
CELKO (2/23/2012)
Start using the ANSI/ISO row constructors
Evil Kraig F (2/27/2012)
February 27, 2012 at 1:36 pm
Alexander G. (2/27/2012)
Hoping to be more helpful and less snotty than others:
I'm a firm believer in the old aphorism, "Give a man a fish and you feed him for a...
February 27, 2012 at 10:51 am
From the title it's obvious that you know you should be using the PIVOT/UNPIVOT to accomplish the task, but the text of your question indicates that you have no idea...
February 27, 2012 at 8:44 am
Viewing 15 posts - 3,301 through 3,315 (of 4,087 total)