Forum Replies Created

Viewing 15 posts - 4,156 through 4,170 (of 5,590 total)

  • RE: how to identify numbers in varchar column

    -- See how you start off by actually creating a table

    -- and then inserting the data into it? Doing this really

    -- makes things a lot easier for all the...

  • RE: Result Set to Excel OR Text

    Jeffery Williams (5/24/2010)


    2. I am running SQL 2008 on a 64 bit machine. Some of the things I have tried are giving me problems because of this fact

    INSERT INTO OPENROWSET...

  • RE: rewriting the code in SUb queries

    athatipamula (5/24/2010)


    I have a code using except function

    can any one rewrite the code using sub queries?

    I am using 2 databases and 2 different tables

    here is the code:

    SELECT [MODE],[NUMBER],[DESCRIPTION],[UNITSIZE]

    FROM [database1].[DBO].[table1]...

  • RE: Index Structures

    The Dixie Flatline (5/21/2010)


    A thought provoking question anyway....

    I think "unique" should count twice or not at all. You can have unique clustered indexes and...

  • RE: Index Structures

    About 3 weeks ago, I was doing some research on a related topic and found that this answer is wrong. I had asked Steve to change this question then.

    This QotD...

  • RE: Are the posted questions getting worse?

    Jack Corbett (5/19/2010)


    Quiet in here today. Everyone at 24 HOP?

    Yep... I took the week off, and among all the chores I had a list of 13 sessions I wanted...

  • RE: Crosstab based on row counting

    Here's an approach that is similar to the one Lutz posted. As he did, it's based off of tally table.

    Main differences are that you can specify the number of rows...

  • RE: convert an interger to time

    Slight modifications to the solution already provided by ColdCoffee, in order to show with the field name you specified. And a way to eliminate the case statement.

    DECLARE @YOUR_TABLE TABLE

    (

    ...

  • RE: Help with Date part

    Rob Schripsema (5/18/2010)


    Nice tweak, Jeff. Not perfect -- won't allow for years prior to 2000 (and I, for one, have a birthday before 2000 :hehe:) -- but a definite improvement.

    Perfectly...

  • RE: Are the posted questions getting worse?

    Trey Staker (5/18/2010)


    CirquedeSQLeil (5/18/2010)


    Steve,

    I like the change to the headlines section on the front page.

    Agreed, it's a nice change.

    Yes, it looks VERY nice!

  • RE: Are the posted questions getting worse?

    CirquedeSQLeil (5/18/2010)


    Is Wayne out there changing his name?

    http://www.sqlservercentral.com/Forums/UserInfo589137.aspx

    LOL.

    Actually, I found that avatar on a post out here on SSC... but the poster hadn't been active in quite some while. Might...

  • RE: FOR XML PATH question on column data instead of column names

    I would be interested in your solution to this also!

    Thanks!

  • RE: Backup\ Restore completion Status.

    gary.mazzone (5/18/2010)


    I got it right but since when is a Dynamic Management View a table?

    I agree with you Gary... it's a view (albeit into a system table).

    And with Carlo also......

  • RE: Need some help with query

    You know, the people that help out here are all un-paid volunteers, so please HELP US HELP YOU. Providing the DDL scripts (CREATE TABLE, CREATE INDEX, etc.) for the tables...

  • RE: How to obtain week by week plus YTD totals

    simflex-897410 (5/17/2010)


    ... rather than use WHERE EndDate BETWEEN @StartDate AND @EndDate, can I replace it with year so that users can just enter year to obtain the report for that...

Viewing 15 posts - 4,156 through 4,170 (of 5,590 total)