Forum Replies Created

Viewing 15 posts - 57,166 through 57,180 (of 59,060 total)

  • RE: Inserting Blank Lines as Value Changes

    I know they asked for blank lines... ask them if this is better...

    DECLARE @Table TABLE(pKey int,grp int, val int)

    INSERT INTO @Table

    SELECT 1,1,11 UNION ALL

    SELECT 2,1,12 UNION ALL

    SELECT 3,1,13...

  • RE: Converting fields

    Unless there is also a date column, there is no way to "query between 18:00:00 and 06:00:00'.... maybe between 06:00:00 and 18:00:00 but not the other way around.

    So, is there...

  • RE: what about this one


    the time when i had to read books is over


    Then, your career as a successful DBA is over.

  • RE: Developers and DBAs

    Sounds like it was a bad match all the way around... it was a good thing that you bailed.  How ya doin' now?

  • RE: Displaying rows into cloumns using sql-server 2000

    Actually, Philip didn't write the query... I did...

  • RE: bcp output format question

    Cool... thank you for the feedback.

  • RE: New T-SQL Features in SQL Server 2005 Part 1

    The other articles are not the immediate concern.  Plagerism and breaking of copy right laws should be your immediate concern... I think you make too little of the good advice...

  • RE: database diagram

    You can't and for good reason... saving a database diagram will change the database, as well.  You certainly don't want the users playing around with your diagram and hitting "Save"......

  • RE: bcp output format question

    Isn't it amazing that such a simple format is so very complex programatically speaking?  Why they didn't make BCP do this a little easier, I'll never know...

    This would be how...

  • RE: Displaying rows into cloumns using sql-server 2000

    Heh... thanks for the feedback, Phillip... I kinda figured it was something like that.  Every once in a while, I'll look at one of these posts, start writing code, go...

  • RE: Concatenating fields

    As the two links John posted suggest, add an IDENTITY column to your table and concatenate  with the string conversion of that.

  • RE: Displaying rows into cloumns using sql-server 2000

    Uhp... nope... don't need a temp table for this one, Phillip... and we don't need to go near INFORMATION_SCHEMA or SysObjects... and it flies even with lot's of data. 

    Suryah,

    Thank...

  • RE: New T-SQL Features in SQL Server 2005 Part 1

    I don't think the author intended it this way, but to answer your question of "So what if parts are copied from BOL"? Because...

    1.  Plagerism is in pretty bad form. ...

  • RE: SQL 2000 TSQL question

    You'd have to store it as a BIGINT... most phone numbers are too big for just INT.  That would also guarantee numerics only.

  • RE: Number format

    Why do you need DTS to preserve the leading 0?  What are you using DTS for?  Are you trying to create an "output file" of some sort?  Why do you...

Viewing 15 posts - 57,166 through 57,180 (of 59,060 total)