Forum Replies Created

Viewing 15 posts - 47,806 through 47,820 (of 59,064 total)

  • RE: tsql

    Ummm... cramming for an interview is a bad thing. If you don't know an answer for a question they ask, chances are you really don't know and reciting a...

  • RE: Converting rows into columns

    maynor_ramirez (10/9/2008)


    I need to pivot on some not all rows, I have search the sqlservercentral site for the answer but nothing yet..

    Thanks

    [url="Cross Tabs and Pivots, Part 1 – Converting Rows...

  • RE: Select *

    That would grab /*__*/ if it's on the same line as some code of embedded within a statement.

  • RE: Select *

    Vincent Central (10/9/2008)


    Who said developers have full access to production? Doing a select * only takes read access.

    Thank you all for your replies. I have "coached" the offending developers and...

  • RE: Updating NULL Values

    cdex3 (10/9/2008)


    Thanks for the info!

    This is my first post so I apologize for any lack of etiquette.

    Your never too old or too young to learn new things and ideas.

    Heh......

  • RE: Updating NULL Values

    Oh yeah... almost forgot... you can usually get away without using an Index "Hint", but like ORDER BY in a Select, it's always best to have one to force the...

  • RE: Updating NULL Values

    That and you need a "anchor" column even if it doesn't do anything for the code... one that is just @variable = @column. Sometimes it works without one... don't...

  • RE: Exclude Word List to filter SELECT results

    rbarryyoung (10/9/2008)


    Here's another (simple) way to do it:

    Select *

    From Locations

    Where NOT EXISTS( Select * From Excludes

    Where Location LIKE '%'+Excludes+'%')

    This is probably close to what Jeff intended to write,...

  • RE: 'N' number of usage - Tally Table

    Sergiy (10/9/2008)


    Jeff Moden (10/9/2008)


    change all the delimiters to a "thorn" and go for it.

    There is no guarantee "thorn" is not or will not be used within the filed for...

  • RE: Data Shuffle

    Heh... I was hoping you had an IDENTITY PK... I won't have to make many changes to the script I just wrote above...

  • RE: Table Variables and performance

    Michael Earl (10/8/2008)


    While it is running, look for tables in tempdb:

    SELECT * FROM TempDB..Sysobjects WHERE Type = 'u'

    A table variable usually has to get pretty big before it spills over...

  • RE: Table Variables and performance

    G Bryant McClellan (10/8/2008)


    Michael,

    Thanks for the reply. I can see that testing is the only sure-fire method to compare the performance, but there must be some indication that the switch...

  • RE: 'N' number of usage - Tally Table

    Dang it... I forgot about RegEx. That might work... change all the delimiters to a "thorn" and go for it.

  • RE: Cross Tabs and Pivots, Part 1 – Converting Rows to Columns

    riga1966 (10/9/2008)


    I have a very clear understanding of how to do a Cross-Tab now.

    How about Uncross-Tab?

    Does anyone have any samples?

    Thanks,

    Heh... that's called either "UnPivot" or "Normalizing". You could probably...

  • RE: Dense_Rank Challenging

    You bet. Thanks for the feedback.

    Just remember... if you can't wedge a clustered index in there like I did, this solution will not work correctly.

Viewing 15 posts - 47,806 through 47,820 (of 59,064 total)