Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)

  • RE: T-SQL Problem Using "run as user" in job step

    Lowell,

    On the Job Step Properties, I am specifying the user database. The SQL is reading (unqualified) tables in the user database and inserts into a table that's in another...

  • RE: count(*) sysindexes.rows

    Thanks Noel.

     

    This worked just great:

    DBCC UPDATEUSAGE(0) WITH COUNT_ROWS

  • RE: count(*) sysindexes.rows

    Thanks Jo.

    I'll stick with select count(*) when I need to know the real time row count.

    I tried "UPDATE STATISTICS censusdatageneric with FULLSCAN" and I tried simply updating one of the...

  • RE: Converting text to datetime

    Thanks govinn and Noel.  I now see how string manipulation will help.

    Best Regards,

    rnpatter

  • RE: Converting text to datetime

    govinn:

    Thanks.  I think I'm getting closer.

    But, the strings I want to convert will ultimately come from a table where they reside in a CHAR column without the space.  So, I still...

  • RE: Table Ownership

    Yes, my login was assigned to the System Administrators server role on the test server.  That was the difference.

    Thanks.

  • RE: Remove duplicate entries from a table with text fields!

    How about just pushing the table into another temp table and use that:

    Insert #NewTempWebNotes (........) SELECT CC025_ORG_CODE, CC025_EXT_ACCT_CODE, CC025_NOTE_CLASS, CC025_PROD_CODE, max(Note_text), max(HTML_text)

    FROM #TEMP_WEB_NOTES

    GROUP BY CC025_ORG_CODE, CC025_EXT_ACCT_CODE, CC025_NOTE_CLASS, CC025_PROD_CODE

  • RE: Trigger Status

    Hey, nice script. Thanks a lot.

  • RE: Need help dropping PK constraint

    Thanks for the assist Frank. This also seems to work ok: DECLARE @oldtable sysname SET @oldtable = (select a.name from sysobjects b inner join sysobjects a on (a.id...

Viewing 9 posts - 1 through 9 (of 9 total)