Forum Replies Created

Viewing 15 posts - 1,066 through 1,080 (of 1,228 total)

  • RE: Are the posted questions getting worse?

    GilaMonster (10/25/2010)


    Tom.Thomson (10/25/2010)


    I'm definitely one of those who prefers a quick solution without work. Essentially I'm extremely lazy.

    I think most good developers are to some degree.

    Well I... nah I...

  • RE: Are the posted questions getting worse?

    mtillman-921105 (10/26/2010)


    Steve Jones - SSC Editor (10/26/2010)


    I loved Foxpro. First SQL App I wrote was an upgrade from Fox/DOS to VFP/SQL Server. Worked great!

    Good, then I'm glad I don't have...

  • RE: WHILE loop and inserting records

    Or even this...

    DECLARE @XML XML;

    SET @XML ='

    <NewsDTO>

    <NewsList>

    <NewsID>A4C13A4A-2350-4D21-AB06-9E2946182D39</NewsID>

    </NewsList>

    <NewsList>

    <NewsID>A3613580-99C3-489D-9988-92E5F24BC8F7</NewsID>

    </NewsList>

    <NewsList>

    <NewsID>F934D9F9-A73F-4ACF-B225-8A0ED7BAF8C4</NewsID>

    </NewsList>

    </NewsDTO>';

    WITH...

  • RE: WHILE loop and inserting records

    There's no need for the funky looping stuff for the update.

    DECLARE @doc NVARCHAR(MAX)

    SET @doc ='

    <NewsDTO>

    <NewsList>

    <NewsID>A4C13A4A-2350-4D21-AB06-9E2946182D39</NewsID>

    </NewsList>

    <NewsList>

    <NewsID>A3613580-99C3-489D-9988-92E5F24BC8F7</NewsID>

    </NewsList>

    ...

  • RE: would like to create a nested query on the stored procedure

    sharonmtowler (10/26/2010)


    the queries took to long and were timing out the reports. the union or union all query returns to rows of data for one style

    If the whole query returns...

  • RE: Querying Question

    mikes84 (10/26/2010)


    ...

    Now, If John and Jim are both DBAs in the IT department, their records in the Positions table could look like this:

    ID, Position, Department

    66, DBA, IT

    67, DBA, IT

    I need...

  • RE: would like to create a nested query on the stored procedure

    Hi Sharon

    Try to get into the habit of using table aliases, they make code like this very much more readable:

    SELECT DISTINCT

    b.DIVISION as COMPANY,

    b.SEASON AS SEASON,

    b.STYLE as STYLE,...

  • RE: need to change where claus

    harita (10/26/2010)


    Hi, all

    the code i have now selects only selected itemname but i want to select all he items can some change the code- thanks

    WHERE IT.ITEMNAME IN ('xxx','xxx','xxx','xxx','xxx','xxx') AND

    If you...

  • RE: updating columns across table

    wardy (10/22/2010)


    Hi, I am sure this is easy but being a newb this is confusing me. I have x2 tables that are joined by a primary key. I...

  • RE: WHILE loop and inserting records

    UPDATE t SET (column in t) = somevalue

    FROM #temp t

    INNER JOIN News n ON n.news_id = t.news_id

  • RE: Table Variable as output parameter in SP

    Prassad Dabbada V R (10/26/2010)


    Where is the question? or the topic itself is question?

    It's the invisible man skiing.

  • RE: Huge Records...

    hosseini.mehran (10/26/2010)


    So what is your suggestion?

    Post the whole query. Could a doctor diagnose a sore throat from looking at a single toe?

  • RE: How to find the user map to different tables

    Senthil Varadharajan (10/26/2010)


    Hi,

    Is it possible to find the single user map to different table using SQL Query.

    Thanks,

    Senthil Varadharajan.

    This isn't a properly formed question, it makes no sense as it stands....

  • RE: How to query this ?

    sanujss (10/26/2010)


    I have tables like TAB_Mobiles, TAB_Laptops. Both the table is of same structure. The fields are ID, Selling_Date,

    Total_No_Of_Items_Sold

    I need to create a report summary. We pass a selling...

  • RE: Sequence-numbering groups

    Paul White NZ (10/24/2010)


    For those edge cases where absolute performance is critical (perhaps you have a few billion rows to process) the SQLCLR solution really shines. As far as...

Viewing 15 posts - 1,066 through 1,080 (of 1,228 total)