Forum Replies Created

Viewing 15 posts - 196 through 210 (of 241 total)

  • RE: CROSS TAB Query Question.

    lmu92 (4/23/2010)


    Rob Schripsema (4/23/2010)


    As Imu92 said, you don't give us a lot of details about how the data will look, but assuming it is all consistent with your sample and...

    Rob Schripsema
    Propack, Inc.

  • RE: CROSS TAB Query Question.

    As Imu92 said, you don't give us a lot of details about how the data will look, but assuming it is all consistent with your sample and there are only...

    Rob Schripsema
    Propack, Inc.

  • RE: SQL Query Question on Union All

    Do both WWW and WWW1 have indexes on ABC, A1, A2 and A3? And updated statistics?

    Depending on how the tables are being used, it may or may not be wise...

    Rob Schripsema
    Propack, Inc.

  • RE: help with query to search for 3rd decimal

    Very clever, Wayne. I like that.

    Rob Schripsema
    Propack, Inc.

  • RE: insert and replace data in one column

    Oops, not ON DELETE CASCADE, I meant to say, ON UPDATE CASCADE.

    Sorry.

    Rob Schripsema
    Propack, Inc.

  • RE: insert and replace data in one column

    Did you say that the 'path' column serves as the primary key on this table? Strikes me as a little odd....

    I've never faced this exact situation, but it seems to...

    Rob Schripsema
    Propack, Inc.

  • RE: Differential Backup of Database

    Did the Sunday full backup complete successfully?

    Rob Schripsema
    Propack, Inc.

  • RE: works but getting error on sp_executesql

    Should I still add the ISNULL check? I am not sure how you do that in the IF statement. I was only thinking you do ISNULL like so: ISNULL(value,...

    Rob Schripsema
    Propack, Inc.

  • RE: Semi colons

    I think we need more info. Your code here will just concatenate a first and last name. In a query, you'll get one row per record, not a list. The...

    Rob Schripsema
    Propack, Inc.

  • RE: Update table data value

    No apologies necessary. We were all newbies once...

    Rob Schripsema
    Propack, Inc.

  • RE: Running a SQL Stored Procedure in a Loop

    Why a loop?

    Why not just the following:

    EXEC proc_student '2010-01-06'

    EXEC proc_student '2010-01-07'

    EXEC proc_student '2010-01-11'

    EXEC proc_student '2010-01-20'

    EXEC proc_student '2010-01-25'

    Rob Schripsema
    Propack, Inc.

  • RE: Update table data value

    Like you said, UPDATE is used to update values within the table - it is a DML (Data Manipulation Language) command. What you want to do is modify the structure...

    Rob Schripsema
    Propack, Inc.

  • RE: How to setup From Year / To Year as parameters

    When I run the sproc the "FromYear" and "ToYear" are displayed as below:

    FromYear ToYear

    1905-07-30 00:00:00.000 1905-07-30 00:00:00.000

    The right display should be FromYear 2009 and ToYear 2010

    Why are my parameter fields...

    Rob Schripsema
    Propack, Inc.

  • RE: Include Index the same as clustered index

    mec (4/14/2010)


    I always thought the reason you can't use include on clustered indexes was that it brings no benefit, as essentially you read the table when reading a clustered index...

    Rob Schripsema
    Propack, Inc.

  • RE: Delete query - Huge table

    I think you need to provide more info before anybody here can help you.

    What does the table schema look like?

    How are you detecting the duplicates? Is THAT the process that...

    Rob Schripsema
    Propack, Inc.

Viewing 15 posts - 196 through 210 (of 241 total)