Forum Replies Created

Viewing 15 posts - 10,471 through 10,485 (of 13,469 total)

  • RE: Linked Server MERG data

    easy enough.

    Stripping preceeding zeros, you just convert to int.

    for the rest, here's an example:

    --results:

    exString ...

  • RE: Linked Server MERG data

    [ code] --a sql comment [ /code ] <-- with no spaces makes your code become syntax highlighted

    --a sql comment

    if you are using preceeding zeros, when you...

  • RE: Linked Server MERG data

    a huge help, thanks for the layout!

    try this query..it has all the defaults you were looking for. if the query works, uncomment the INSERT portion and confirm that that peice...

  • RE: Monitoring a Table/ Log for a table

    Greg Charles (9/28/2009)


    You could also query the log file written by the default trace, a background trace that runs in SQL 2005. See "Default Trace" in BOL or search...

  • RE: How to open XML file from a website using xp_cmdshell

    bad form!

    do not post the same question multiple times!

    no need to cross post to multiple forums it fractures the answers you get and makes posters duplicate others work.

    the "Recent Posts"...

  • RE: Linked Server MERG data

    you cross posted across a few forums...the first being a SQL 2000 forum.

    The MERGE keyword is for SQL 2008 only, but all the same process can be duplicated with INSERT...

  • RE: Linked Server MERGE data

    duplicate post.

    no need to cross post to multiple forums it fractures the answers you get and makes posters duplicate others work.

    the "Recent Posts" link shows us everything.

    continue the thread here:

    Linked...

  • RE: Linked Server MERGE

    duplicate post.

    no need to cross post to multiple forums it fractures the answers you get and makes posters duplicate others work.

    the "Recent Posts" link shows us everything.

    continue the thread here:

    Linked...

  • RE: Linked Server MERG Data

    duplicate post.

    no need to cross post to multiple forums it fractures the answers you get and makes posters duplicate others work.

    the "Recent Posts" link shows us everything.

    continue the thread here:

    Linked...

  • RE: Delete Duplicates from table with no identity column

    it's the actual physical address: i think the format is [file_id]:[page_id]:[slot_id], so it's the true physical address on your server;

  • RE: Delete Duplicates from table with no identity column

    ar-727381 (9/25/2009)


    i already have this table created. i just gave you the top few rows of it. I dont think i can update the table with %%LockRes%%

    so will...

  • RE: Delete Duplicates from table with no identity column

    ok here's a 2005 secret: there is a hidden row identifier in every table row named %%LockRes%%,

    in 2008 they renamed the identifier to %%physloc%%

    you can use that as part of...

  • RE: Make a backup of SQL Server tables............

    as you know SQL backs up whole databases, so your options are:

    -- a not "real" SQl backup: send the DDL and the data to a text file via BCP, so...

  • RE: Email script

    yes...because the test is HAVING COUNT(RT_MCP_Alarm_Text) >= 1, it probably sends for testing purposes...change it back to 30, and it won't until you finally have 30 or more messages and...

  • RE: Email script

    that looks more like an error from running the script on the wrong database.

    if the original SQL you pasted was valid, the rest should be valid too...

    what you pasted is...

Viewing 15 posts - 10,471 through 10,485 (of 13,469 total)