Viewing 15 posts - 45,346 through 45,360 (of 59,063 total)
Vladan, check your code... I don't believe it's coming up with the correct result set. π
January 31, 2009 at 7:47 pm
You can use a While loop if you want... but I wouldn't... π See the following...
January 31, 2009 at 7:11 pm
ammarghanem921 (1/31/2009)
I do have One stored procedure that calls other stored procedures, each on which might call another stored procedure. However, am making begin transaction, commit transaction and...
January 31, 2009 at 7:06 pm
Isn't there something missing from that JOIN? Like a table or somthing and an equation?
January 31, 2009 at 7:02 pm
RBarryYoung (1/31/2009)
January 31, 2009 at 6:58 pm
Jeff Moden (1/31/2009)
RBarryYoung (1/31/2009)
January 31, 2009 at 6:54 pm
RBarryYoung (1/31/2009)
January 31, 2009 at 6:53 pm
On that note, all I can do
is raise my mug into the air
and say "3 cheers to SSC"
and to all of those that care! π
January 31, 2009 at 6:49 pm
I ran into an interesting article... glad to see that "big money" hasn't changed Steve a bit since then except that he continues to just keep making it better and...
January 31, 2009 at 6:42 pm
Heh... "Don't use undocumented features"... as opposed to what? Using just the documented ones? You mean like the wonderful and heavily documented sp_MakeWebTask whose required privs changed overnight...
January 31, 2009 at 6:36 pm
It depends on whether or not you believe in the myth of portable code. TOP is an SQL Server manifestation.
Other than that, "best", in my book, is the one...
January 31, 2009 at 5:50 pm
Heh... Barry graduated from the school of "Right Now" and teaches from the good book of "Boy Howdy!" π
January 31, 2009 at 5:39 pm
Dyamond (1/31/2009)
Hello, I'm trying to keep together/group on the following:SELECT date,name,desc,βCodeβ as cdDesc
FROM activity
WHERE date = β2009-01-05' and site = β80' and
code in (β55544',β33333', β66666')
I'm a bit thick on...
January 31, 2009 at 5:27 pm
Ok... coming full circle back to Martin's original problem...
Here's the test data...
USE TempDb --Just a safe place to run things
GO
--DROP TABLE dbo.YourTable
GO
--===== Populate the test table...
January 31, 2009 at 3:18 pm
By the way... if anyone else wants to study the code, the original "puzzle" question and two sets of data are available at the following URL...
http://www.sqlmag.com/article/articleid/93462/sql_server_blog_93462.html
... and like I've done...
January 31, 2009 at 2:12 pm
Viewing 15 posts - 45,346 through 45,360 (of 59,063 total)