Forum Replies Created

Viewing 15 posts - 5,791 through 5,805 (of 6,679 total)

  • RE: Add Columns to existing table where I need the column to be?!

    WebTechie38 (12/22/2008)


    Hi,

    I couldn't use SSMS because it was giving me an error message. I tried but since the tables had a lot of data, I couldn't just move the...

  • RE: backup newly created database automatically

    ps (12/21/2008)


    Do you mean we shud have a generic backup job that takes tran log backup for all databases(even for newly created ones)? in this case i dont think i...

  • RE: Add Columns to existing table where I need the column to be?!

    And, if you decide to follow 'timothywiseman' solution - don't forget to remove any indexes and recreate them on the new columns, as well as the foreign key references (if...

  • RE: Job running for ever!!!!

    I would bet anything that the job is stalling on the WAITFOR command. 😛

  • RE: backup newly created database automatically

    ps (12/21/2008)


    How about writing a simple backup statement at the end of database creation! the other point i mentioned in initial posts. I think that should do the needful for...

  • RE: backup newly created database automatically

    That's kinda what I thought - so, your choice is simple. You need to create a job that checks for newly created databases and, if found - back them...

  • RE: backup newly created database automatically

    RBarryYoung (12/21/2008)


    Pradeep's point is well taken here: There is no point to backing up the database immediately after it is created, because it does not have any data yet....

  • RE: Cleaning up transaction log backups

    Look in the SQL Litespeed help file on the command line utility - and extended procedures. I don't have the reference available right now - but there is an...

  • RE: Dynamic Coding

    So, the first thing we need to do is define the schema:

    CREATE SCHEMA DELT AUTHORIZATION dbo;

    Then, we would create the synonyms:

    CREATE SYNONYM DELT.ACCT AS REPORTDB.DELT.ACCT

    CREATE SYNONYM DELT.ORG_ACCT AS REPORTDB.DELT.ORG_ACCT;

    Create the...

  • RE: SSRS Cannot Export to Excel

    SSRS outputs to Excel 2003 format - which has a maximum number of rows of 65357 (I think that is the number). If you have over 900,000 records -...

  • RE: set up SPN in sql 2005

    Mike - are you sure all other connections are using the FQDN when connecting? Are you sure that all other connections are using a matching SPN record to connect?

  • RE: Query simplification

    You can use a CTE or a derived table - here is an example using a CTE.

    ;WITH myCTE (field1, field2, field3, ...)

    AS (SELECT {complicated sql...}

    ...

  • RE: Dynamic Coding

    I would recommend using synonyms for this. Much easier to manage and change as needed. Example:

    -- create a schema for the synonyms, not really needed - could use...

  • RE: Order by numbers in proper sequence

    Lynn Pettis (12/19/2008)


    Dejanette,

    I am sure you would help if you could. My problem is with applying SP 3 to a multi-instance x64 server running SQL Server 2005 Developer Edition.

    If...

  • RE: Need help diagnosing a problem

    Is that procedure the only procedure doing any inserts? Can you confirm that the inserts that you see that are blocked are all related to this procedure?

    If so, that...

Viewing 15 posts - 5,791 through 5,805 (of 6,679 total)