Viewing 15 posts - 5,581 through 5,595 (of 5,684 total)
Jeff Moden (9/15/2010)
Of course, I also get ticked that object names in a FROM clause can't use a variable name. If I can do it using dynamic SQL, it...
September 15, 2010 at 6:09 pm
Jason Tontz (9/15/2010)
Because I get an error :Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'TOP'.
Add in a SET @Topcount = 1 between the declare and...
September 15, 2010 at 5:55 pm
I know *A* way, and it's not pretty. But to determine its validity before giving one of the gurus round here a chance come up with a better way,...
September 15, 2010 at 5:52 pm
Jeff Moden (9/15/2010)
Correct me if I'm wrong,please, but I don't see anything that pops over 8K to begin with.
Need to use the second post's code, not the first, might be...
September 15, 2010 at 5:36 pm
Code correction, need to cast the replicate or it trims itself as close to 8k as it can:
create table #tmp
(tID INT IDENTITY( 1,1),
TestString VARCHAR(MAX)
)
GO
INSERT INTO #tmp (TestString) VALUES (
REPLICATE( REPLICATE(...
September 15, 2010 at 5:17 pm
GilaMonster (9/15/2010)
Craig Farrell (9/15/2010)
September 15, 2010 at 5:14 pm
GilaMonster (9/15/2010)
Craig Farrell (9/15/2010)
September 15, 2010 at 4:35 pm
WayneS (9/15/2010)
I believe so, but I've never tried it. How about running a test and letting us know?
Why was I afraid you'd say that? New thread created here. ...
September 15, 2010 at 3:53 pm
Usually when this happens on an active database you force truncate the log immediately, and then proceed to an immediate full or differential backup, because you broke the log-chain.
If you're...
September 15, 2010 at 3:36 pm
Hey Wayne, does substring still work if the data for the VARCHAR(MAX) is no longer stored in row, and goes out to a separate LOB page?
I thought I...
September 15, 2010 at 3:14 pm
jcrawf02 (9/15/2010)
September 15, 2010 at 3:09 pm
jcrawf02 (9/15/2010)
September 15, 2010 at 2:58 pm
WayneS (9/15/2010)
Craig Farrell (9/15/2010)
sql.abhishek (9/15/2010)
I am desperately looking for some piece of code to get this type of out put .... kindly help me out of this.
For the code, you'll...
September 15, 2010 at 2:47 pm
It won't directly impact it, but it will let your logs get transferred faster because their smaller. You can find out more details about the specifics between full and...
September 15, 2010 at 2:46 pm
jcrawf02 (9/15/2010)
Be a good gig for a BASE jumper.
:w00t: I never thought I'd get such delicious ideas for my... extracurricular activities... from a SQL forum. I like yer thinkin'.
September 15, 2010 at 2:40 pm
Viewing 15 posts - 5,581 through 5,595 (of 5,684 total)