Forum Replies Created

Viewing 15 posts - 3,721 through 3,735 (of 7,191 total)

  • RE: part of database backup

    Did you read the link that Grant posted?

    John

  • RE: custom schema owner

    The owner of the database is always mapped to the dbo user in the database.

    ALTER AUTHORIZATION ON SCHEMA::MySchema TO dbo

    John

  • RE: INSERTION

    Loop through the table and execute the statements one by one. Either that or write a query to build one set of INSERT statements and execute that in one...

  • RE: Regarding backups and recovery model

    (1) No.

    (2) Recover from what?

    (3) Yes.

    By the way, there's no need to post the same question in more than one forum.

    John

  • RE: Why sql server didn't find my temp table

    That means that that table doesn't exist. Please will you post the statement that you used to create the table?

    John

  • RE: Switching between Database Instances

    arrjay (11/27/2013)


    Thanks John - This is the issue. I created a default instance for SQL2012 and a named instance for SQL2008. Whenever I connect to my (local) instance...

  • RE: shrink file

    Shrink performance on the file? I don't know what you mean, I'm afraid. But, unless it's a problem that your transaction log is 2GB (perhaps you're running out...

  • RE: Switching between Database Instances

    SSMS will remember the last instance you connected to. So if you run SSMS 2008 and connect to your 20008 instance, that's what it'll default to the same time....

  • RE: regarding backups

    Also, some third-party backup utilities, such as Litespeed, include object-level restore. I've never used that feature so I don't know how well it works.

    John

  • RE: Convert a field from numeric type to date format

    the field also has nulls and 0's

    What date would you like 0 converted to?

    John

  • RE: Check change in database

    You need a DDL trigger, not a DML trigger. But I would recommend looking at service broker or extended events if you are looking at setting up some sort...

  • RE: Exporting Maintenance plans

    Type "move maintenance plans" into your favourite search engine. When I tried that, I got quite a few links that looked as if they were just what you're looking...

  • RE: Transaction Log Management

    I recommend you search the internet for "Transaction Log Management". There is a very comprehensive series of articles by Gail Shaw. I'm not sure whether they're available on...

  • RE: Having Clause results minus results from Left join query

    This is a SQL Server forum. Are you sure you're not using Oracle?

    John

  • RE: tempdb growth

    Yes, and it's not just explicit use of temp tables and temp variables that use tempdb. Maybe the query optimizer will decide that it needs to materialise a part...

Viewing 15 posts - 3,721 through 3,735 (of 7,191 total)