Forum Replies Created

Viewing 15 posts - 6,241 through 6,255 (of 7,187 total)

  • RE: Transaction Log restore(LOG SHIPPING)

    By default, a transaction log backup will truncate the transaction log. So, unless your normal backups use then NO_TRUNCATE option, you will need to restore all the transaction log...

  • RE: Concurrent Timespan Calculation

    Yes, I think that's the way to go. Either put a trigger on your table that updates another table, SessionCount, say, whenever a session starts or finishes, or write...

  • RE: "fetch"

    Is this a homework question? You'll find that people are more likely to help you if you show what you've tried so far.

    John

  • RE: Nested Update Statement (NEW)

    Yes, I noticed that too. I assumed that Sandy was using it for testing and forgot to comment it out or delete it before posting the code.

    John

  • RE: need help in DB design

    A few observations:

    (1) You should have separate tables for insurance companies and survey companies. You shouldn't duplicate that information in every record in your Estimates table.

    (2) If you have...

  • RE: How to Trim a Memo field?

    Ramesh

    Yes, you're right - I corrected it in my SSMS window but then forgot to copy it back into my reply!

    Lim

    What is a "Memo field"?

    John

  • RE: How to Trim a Memo field?

    Am I right in inferring that there should only be a match if the "ABC" is at the end? How about this?

    CREATE TABLE #Memo (ID int, Memo1 varchar(10), Memo2...

  • RE: Is 'on update cascade' include column name changing?

    Rachamim

    Strictly speaking, it's not necessary to change the name of the column in the child table. But you will need to drop any foreign key constraints and recreate them...

  • RE: Nested Update Statement (NEW)

    Sandy

    I must admit I'm not clear what you're trying to do. You say in your first post that it's working fine... so what's the problem? Perhaps you could...

  • RE: need help in DB design

    Please post it on this thread so everybody can see it. Obviously it will help if you also explain how and for what the database is going to be...

  • RE: Runs in Production but not QA

    Check that you're connecting using the same network library (Named Pipes or TCP/IP) on both servers. I've seen this make a significant difference in the past.

    John

  • RE: Help on moving Database between SERVERS

    I don't think you're going to be able to do this without at least a momentary interruption to service as you switch to a different database server. You might...

  • RE: Who wants to be a SQL Server DBA?

    rhat (10/15/2007)


    I have been using SQL Server for around 8 years and I have never, ever had to use a DBCC command. Why? Because I backup regularly and I design...

  • RE: Help on moving Database between SERVERS

    Back up your databases and restore them on the new server. Lots of discussion about stuff like that on this site. Likewise, you should also be able to...

  • RE: TRY & CATCH PROB

    Sandy

    This behaviour is documented in Books Online. Have a look at this topic:

    ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/tsqlref9/html/248df62a-7334-4bca-8262-235a28f4b07f.htm

    John

Viewing 15 posts - 6,241 through 6,255 (of 7,187 total)