Forum Replies Created

Viewing 15 posts - 6,916 through 6,930 (of 7,187 total)

  • RE: DTS and Jobs

    Depending on whether you just want the empty database or the data as well, you can script out the creation or restore of the database.  Do the same for the...

  • RE: Backup Status

    Andrew

    Yes, just set the stats option in the command in the job in the same way as you would if you were running it in Query Analyzer.

    John

  • RE: Search entire database for date fields

    Jeff

    You are indeed missing a trick.  The tables MyTable, ThisTable and AnotherTable have to exist in your database.  If they don't, substitute them for some tables (and columns) that do. ...

  • RE: Invalid object name after synchronize manually replication

    OK, so the problem is occurring in transferring data from the distribution database to the subscription database (Northwind) on 192.168.195.10.  I would guess that there's a problem with the sp_MSins_Region...

  • RE: Invalid object name after synchronize manually replication

    Claudia

    Is it the LogReader Agent or the Distribution Agent that gives you the error?

    John

  • RE: Unable to load .csv file in System Monitor

    Happy to help.

    John

  • RE: Relationship Problem

    I don't think this can work with your current database design.  It seems to me that where you have gone wrong is to create your FK constraints the wrong way...

  • RE: Relationship Problem

    Please will you post the SQL for creating the constraint FK_PaymentTypes_CashPayment.

    Thanks

    John

  • RE: A Look at GUIDs

    Not if you use bigint, which is 8 bytes.  Then you can have more than 18 billion billion records in your table.

    John

  • RE: Restore from network location

    Fernando

    Try doing your restore with T-SQL.  Something like this:

    RESTORE DATABASE MyDB FROM DISK='\etc\etc\etc.bak'

    John

  • RE: Setting up relationships correctly

    I understand the restrictions on cascading updates and deletes... I think this is what I tried to explain to Darren.  Self-referencing tables aren't to do with this problem, just an...

  • RE: Setting up relationships correctly

    I thought we were talking about foreign keys?  At least that is what Darren's original question refers to.  I'm afraid I don't understand how you can have a foreign key...

  • RE: Setting up relationships correctly

    Gift

    Am I understanding you correctly?  Are you saying that, to create a foreign key, the name of referencing and referenced columns must be identical?  Is this new to SQL 2005,...

  • RE: Setting up relationships correctly

    Darren

    I'm afraid I'm not familiar with the SET TO NULL option.  But you can't have cascading deletes for the reason I mentioned above.  And you may find that you still...

  • RE: Setting up relationships correctly

    So I'm guessing you're getting the error message when you try to create the second foreign key constraint?  I'm also guessing that you are using the following code to attempt to...

Viewing 15 posts - 6,916 through 6,930 (of 7,187 total)