Forum Replies Created

Viewing 15 posts - 151 through 165 (of 575 total)

  • RE: Replication failed due to referential integrity

    Was the Foreign Key added to the Publishing Database or the Subscription Database?


    Kindest Regards,

  • RE: SCOPE_IDENTITY vs. @@IDENTITY

    I appreciate your concern about performance between the 2 functions however, In this situation data integrity is far more important than performance as per my original reply!


    Kindest Regards,

  • RE: How to Populate the Datawarehouse

    Ok thanks folks.


    Kindest Regards,

  • RE: Checking to see if Table is being processed

    The most efficient way that I can think of is to use xp_sendmail at the end of your Inserts & Updates to send an email to you when an Insert...


    Kindest Regards,

  • RE: Problem With Remotely Executing Stored Procedures

    Any reason why you are using Dynamic SQL to achieve this simple query?

    Although the above may work in my mind it would be simpler if you just used the four...


    Kindest Regards,

  • RE: SCOPE_IDENTITY vs. @@IDENTITY

    Personally and from experience, I wouldn't worry about perfromance on this issue!

    The reason is that a couple of years ago I got bitten very badly by using @@IDENTITY. One of...


    Kindest Regards,

  • RE: How to Populate the Datawarehouse

    The source system is SQL Server 2000.

    I haven't got a timestamp Column on any of the teables yet but can do if I need it!

    2 Fact Tables and several Dimension tables.

    We...


    Kindest Regards,

  • RE: Run a crystal report from TSQL

    Or you could use xp_sendmail to send the Crystal Report as an attachement!


    Kindest Regards,

  • RE: Why do I need to do a DISTINCT

    Sergiy,

    You led me to the answer. In the first query, the Temporary Tables have only 1 row per PersonID. That is why I need the DISTINCT in the 2nd query...


    Kindest Regards,

  • RE: The process was successfully stopped - How find out Why or Who?

    If you suspect the Junior DBA, then disable his/her access and then see if the problem persists. If it does persist, then there must be some process that is stopping it.


    Kindest Regards,

  • RE: Redesign Help - Composite Keys

    I have been in this situation twice.

    The best thing to do as Jacek0 has suggested is to use the Identity Column. Once you have done that the painful process begins...


    Kindest Regards,

  • RE: Export to Excel

    Firstly, I will apologise for creating such a thread.

    The reason is that after much playing around, all I did was opened the Excel spreadsheet, highlight the first row been...


    Kindest Regards,

  • RE: Update

    Ok thanks for your input you guys. From now on I will be using an Alias.


    Kindest Regards,

  • RE: Update

    Ok. Sorry about about that!

    That works. How come it works with an alias as oppossed to the actual table name?


    Kindest Regards,

  • RE: Query timeout

    Have a look at the Remote Query Timeout option. You set this with sp_configure.


    Kindest Regards,

Viewing 15 posts - 151 through 165 (of 575 total)