Viewing 15 posts - 301 through 315 (of 819 total)
Another solution is adding a xml column to the PlayList table and add the execution order there. So, it's just ONE update on ONE column.
December 22, 2014 at 3:53 am
natalie.ignatieva (12/21/2014)
December 22, 2014 at 3:50 am
It might be better to use JOINS, but that is a different question.
I disagree! JOINS are different than IN or EXISTS in the WHERE clause.
JOINS multiply the number of...
December 16, 2014 at 1:03 am
ROWCOUNT_BIG() differs from @@rowcount only from the type.
So, ROWCOUNT_BIG() is the correct answer. All other functions may be followed by the OVER clause.
November 20, 2014 at 1:27 am
One solution may be this one:
use tempdb
execute (
'
use AnotherDB
declare @a as a
insert @a values(1),(2),(3)
exec z @a
')
or using sp_executesql.
November 19, 2014 at 1:17 am
Koen Verbeeck (10/29/2014)
Louis Hillebrand (10/29/2014)
Koen Verbeeck (10/29/2014)
Nice question, thanks.A bit curious as why you use DATALENGTH instead of just LEN.
With DATALENGTH you can also use a space as the separator,...
October 29, 2014 at 2:47 am
Koen Verbeeck (10/21/2014)
Very excellent question.Thanks Sean.
+1
October 21, 2014 at 12:54 am
happycat59 (10/14/2014)
Msg 156, Level 15, State 1, Procedure my_sp, Line 2
Incorrect syntax near the keyword 'FROM'.
because "Column" is a reserved keyword and needs to be delimited if you...
October 15, 2014 at 1:11 am
rabih_karam (9/30/2014)
DATABASE Name : Master
-----------------------------
0.713591993212924
0.713591993212924
0.713591993212924
0.713647892126698
0.713647892126698
0.713647892126698
0.713647892126698
0.713722424011731
0.713722424011731
0.713722424011731
0.713722424011731
0.713722424011731
0.713722424011731
0.713722424011731
0.713852854810538
0.713871487781797
0.713871487781797
0.713908753724313
0.713908753724313
0.713908753724313
and if i run it on other DB I ll get the below result
0.713591993212924
0.713591993212924
0.713591993212924
0.713591993212924
0.713591993212924
0.713591993212924
0.713591993212924
0.713591993212924
0.713591993212924
0.713591993212924
0.713591993212924
0.713591993212924
0.713591993212924
0.713591993212924
0.713852854810538
0.713852854810538
0.713852854810538
0.713852854810538
0.713852854810538
0.713852854810538
so in...
September 30, 2014 at 1:10 am
Viewing 15 posts - 301 through 315 (of 819 total)