Forum Replies Created

Viewing 15 posts - 2,911 through 2,925 (of 5,394 total)

  • RE: Are the posted questions getting worse?

    Grant Fritchey (7/26/2011)


    Can't help it, I have to share. I was doing some Boogling or Ginging, whatever we call it now, when I stumbled across a really scary bit of...

  • RE: Update, Insert or delete data from table on another server

    1. Does the other server need to be registered ?

    2. How do I know that the other server is linked ?

    1. Yes. Use sp_addlinkedserver or SSMS wizard (server objects, linked...

  • RE: Update, Insert or delete data from table on another server

    Did you register the linked server?

  • RE: Update, Insert or delete data from table on another server

    This should do:

    Select *

    Into #TempA

    From TB_ARTICLE

    Where ARTICLE_ID not in (Select ARTICLE_ID from remote_server_name.database_name.schema_name.TB_ARTICLE)

    EXEC('USE database_name; set identity_insert TB_ARTICLE on') AT remote_server_name

    Insert into remote_server_name.database_name.schema_name.TB_ARTICLE

    Select * From #TempA

    Hope this helps

    Gianluca

  • RE: Update, Insert or delete data from table on another server

    Looks like a good place for replication.

    Have you checked that option?

  • RE: binary tree calculation

    In SQL Server 2008 you can use the HierarchyId datatype to store tree structures.

    AFAIK, MLM is illegal in many countries (including Italy).

    Be careful what you do.

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (7/25/2011)


    mtillman-921105 (7/25/2011)


    Too many of these posters don't realize the level of expertise that they are getting here. Maybe you all need more intimidating titles like "Grand Intergalactic...

  • RE: What's a safe backup?

    You're right.

    I'll stop it here. Would have lots to say, but I'll stop it here. 😉

  • RE: What's a safe backup?

    Ninja's_RGR'us (7/25/2011)


    Gianluca Sartori (7/25/2011)


    Ninja's_RGR'us (7/25/2011)


    There's just no reason to shutdown the server to take a backup.

    ... unless you're working with Oracle. :Whistling:

    It's called "cold backup" and it's advertised as "the...

  • RE: Are the posted questions getting worse?

    GSquared (7/25/2011)


    GilaMonster (7/25/2011)


    I just had a fun one. Told someone that they shouldn't run Backup log with truncate only as it breaks the log chain. So they reference an article...

  • RE: What's a safe backup?

    Ninja's_RGR'us (7/25/2011)


    There's just no reason to shutdown the server to take a backup.

    ... unless you're working with Oracle. :Whistling:

    It's called "cold backup" and it's advertised as "the only consistant backup"....

  • RE: Valid RBAR scenario

    I don't think so, unless you're really using SQL Server 2000 (is this the right forum?).

    Take a look at these articles and see if they help:

    Displaying Sorted Hierarchies[/url]

    Hierarchies in SQL[/url]

    Hope...

  • RE: SQL Process % Complete

    Nice, thank you.

    You could add it to the scripts section, using the contribution center.

  • RE: Audit database connections

    Probably the user that connects to the database is requested to write an object (auditing table) that is outside of his permissions, due to the trigger execution. You could wrap...

  • RE: Audit database connections

    I suspect this is not the right forum: logon triggers are not available in SQL Server 7 or 2000.

    However, what is failing in your logon trigger?

Viewing 15 posts - 2,911 through 2,925 (of 5,394 total)