Forum Replies Created

Viewing 15 posts - 58,081 through 58,095 (of 59,070 total)

  • RE: row length exceeds 8060 bytes.

    Two tables with a common key will be much much easier than a Text column... put the VARCHAR(8000) column in the second table along with the primary key of the...

  • RE: Divide by 2.1 Billion

    How big is the numerator?  Do you want the quotient with or without decimal places?  If so, how many do you want or are you willing to put up with...

  • RE: Need help writing query

    Thank you for the feedback...

  • RE: Need help writing query

     

    Thought I'd take a bit more time to show what you can do with a template (this also correct's a minor logic error in the WHERE clause of the...

  • RE: Need help writing query

    You bet, Ed.  Thank you for the feedback.

  • RE: T-SQL Optimization Tips

    Aye.  Thank you for the tips... there have been several discussions over temp tables and table variables and most have involved some form of blood-letting

  • RE: Need help writing query

    Thanks Brian... looking forward to it.  Enjoying my weekend, too!  Slept the whole day!  First time in more than a year! 

  • RE: Need help writing query

    Shoot... here we go... this is a perfect example of what I've spoken of in the past... You had to write a little VB...

  • RE: Need Max Right 4 numeric values in list of alpha numeric

    Using ISNUMERIC to determine if something is all numeric digits is a form of "Death by SQL"...

    IF IsNumeric(RIGHT(RTRIM('ABCDEF$-1,'), 4)) = 1

    print 'yay'

    else

    print 'boo'

    IF IsNumeric(RIGHT(RTRIM('ABCDEF0D01'), 4)) = 1

    print 'yay'

    else

    print 'boo'

    IF IsNumeric(RIGHT(RTRIM('ABCDEF23E2'),...

  • RE: Putting results into strings...

    Although I agree that doing an ORDER BY in a view is a bit crazy, I'd have to disagree with the author of the blog because I tried the methods...

  • RE: need help with dynamic SQL

    Sorry for my obvious post, Jason... I pulled to reply to Mick's post and got distracted... in that time, you answered and I didn't see it.

  • RE: Data types and sizing for commonly used fields.

    True but you have to be careful not to allow things so large that you have the potential for trying to store more than 8060 bytes (or less) in a...

  • RE: SQL 2005 Developer Error!!! Yikes.

    Which one worked?  The merge or the reregister?

  • RE: Using Dynamic SQL, OPENROWSET, output variable

    You cannot say SELECT @somevariable = * and get away with it...

    While OPENROWSET is fine, it exposes passwords and logins... it would be far better to create a Linked Server.

  • RE: DTS - Log packages

    I don't know if DTS has a way to modify that output but, if it can, replace the 1234567 in the following code with whatever DTS uses...

    SELECT CONVERT(CHAR(8),DATEADD(ms,1234567,0),108)

    Converts 1234567 milliseconds...

Viewing 15 posts - 58,081 through 58,095 (of 59,070 total)