Viewing 15 posts - 1,711 through 1,725 (of 3,348 total)
sknox (6/3/2013)
... the result returns the data type of the expression with the highest data type precedence.
should probably be
...
June 3, 2013 at 12:00 pm
L' Eomot Inversé (6/1/2013)
(in this case watching the pattern of NULLs is a better way of identifying groups than using the badly chosen grouping id)
True, but only in this case....
June 1, 2013 at 2:53 pm
I don't get it.
First, the idea of the question. We are given SQL to create and populate a table, *and* SQL that (supposedly?) shows the correct answers. Are we supposed...
May 31, 2013 at 6:56 am
catus0124 (5/29/2013)
but can't type with red color.
You can't create red color in an empty message pane. But if you first execute a statement that will generate an error, then type...
May 30, 2013 at 12:37 am
Mike Dougherty-384281 (5/29/2013)
Given that some of us might consider this a problem to be solved...Can you index a computed column that is: left( [varcharmaxfield], 900 )
I didn't test it,...
May 29, 2013 at 8:37 am
I am not surprised that SELECT ... INTO loses the FILESTREAM attribute. However, I was surprised to find that varchar(max) with FILESTREAM would be converted to varbinary(max).
So then I did...
May 29, 2013 at 3:29 am
L' Eomot Inversé (5/28/2013)
May 28, 2013 at 3:18 pm
Toreador (5/28/2013)
There is no use of DISTINCT, so how can it be the key...
May 28, 2013 at 3:53 am
manik123 (5/27/2013)
how it is possible insert into second table even without # or @ (table variable or temp table) Symbol? what type of table is this?
A normal (permanent) table. It...
May 27, 2013 at 5:31 am
Mighty (5/27/2013)
One remark though:
...if you run code that generates an actual error
This not only works when an error has been generated. Any message that...
May 27, 2013 at 2:15 am
Dineshbabu (5/23/2013)
May 23, 2013 at 9:41 am
Dineshbabu (5/23/2013)
I'm really very sorry.. Still i'm not clear.. can you give me the sample code ,one as single batch and another separate batch.
Sure. It's here: http://www.sqlservercentral.com/questions/T-SQL/98942/%5B/url%5D.
First run the part...
May 23, 2013 at 6:53 am
David Conn (5/23/2013)
I haven't read BOL re. "Between" but does it state that it...
May 23, 2013 at 3:36 am
Dineshbabu (5/23/2013)
In this scenario, eventhough if we run both insert statements as single batch, first statement will be executed successfully and we will get error only on second one...
May 23, 2013 at 3:24 am
I'm little bit confused with your explaination,
I knew that neither statement would execute when sent as a single batch.
I didn't understand this part. can you give some...
May 23, 2013 at 2:03 am
Viewing 15 posts - 1,711 through 1,725 (of 3,348 total)