Viewing 15 posts - 331 through 345 (of 1,033 total)
Bill Wehnert (5/18/2012)
Table 3 doesn't get created because there is no PK...
May 18, 2012 at 8:49 am
Gazareth (5/18/2012)
dwain.c (5/18/2012)
May 18, 2012 at 8:46 am
well text is heavily deprecated, but... you could convert text to varchar(max)... that seems to work for me...
May 18, 2012 at 8:42 am
Gazareth (5/18/2012)
I don't think you can, directly from that query.You'd have to generate some dynamic sql based on your results from the query you have.
And why would you need to...
May 18, 2012 at 7:21 am
;WITH cte_firstset AS (
SELECT s.Name AS SchemaName ,
t.Name AS TableName ,
SUM(p.rows) AS RecordCount
FROM...
May 18, 2012 at 7:01 am
Running the code gives me the correct answer, after I fixed my typo.
I was fully aware of what would happen here... as I've generated this error quite a few times...
May 18, 2012 at 6:57 am
Lynn Pettis (5/17/2012)
May 17, 2012 at 9:20 am
Nice easy question.... I misread it....
I read the BLOB one as that it does check BLOBs.... and went... wait I think it does all of these...
May 17, 2012 at 6:50 am
CELKO (5/15/2012)
May 16, 2012 at 2:38 pm
Brandie Tarvin (5/16/2012)
Okay, now you've peaked my interest. How do you do the help entry? Does it just do a PRINT? Or a SELECT? Or is there some other neat...
May 16, 2012 at 10:02 am
capn.hector (5/16/2012)
IF @Input <> (good input)
BEGIN
SELECT 'you have bad input'
RETURN
END
kills it with...
May 16, 2012 at 9:17 am
Well if we're going to nitpick.... let's get the thing out of Master while we're at it.
May 16, 2012 at 9:15 am
The RETURN statement will do that.
May 16, 2012 at 8:27 am
In addition to what Brandie said... learning to use the code and /code IFCode shortcuts to separater your code from your post is a big help too.
May 16, 2012 at 8:26 am
Please see the link at the bottom of my signature that explains how to give the DDL and enough sample data for us to help you.
Thanks!
May 16, 2012 at 8:24 am
Viewing 15 posts - 331 through 345 (of 1,033 total)