Viewing 15 posts - 7,426 through 7,440 (of 13,459 total)
toparsi (6/7/2011)
I will probably have to do the generate scripts for creating DDL Scripts. But I need to have all the schemas in the same Database, so the second...
Lowell
June 7, 2011 at 10:15 am
ok how about this...untested but i'm brainstorming.
backup and restore the database as a new database.
go to the "new" database, and rename a specific schema to a new name.
Lowell
June 7, 2011 at 9:53 am
i assume that working within the new/specific schema is critical, and so copying the database and restoring under a new database name is not really an option?
is using the ideas...
Lowell
June 7, 2011 at 9:46 am
toparsi (6/7/2011)
I have an application which has one dbo schema and 2 other schemas. Client wants me to create copies of certain schema for his testing with different name....
Lowell
June 7, 2011 at 9:20 am
there's more to the job than you posted...this is all that was in the docx file you posted:
set nocount on
declare @ppdate datetime
declare @sqlcmd nvarchar(4000)
declare @cmdTxt nvarchar(4000)
DECLARE @i int
EXEC master..xp_fileexist...
Lowell
June 7, 2011 at 9:14 am
Sriram.RM (6/7/2011)
SELECT COUNT(*) VAL2 FROM
(
SELECT COLUMN_NAME FROM TABLE_NAME WHERE (C1 NOT LIKE...
Lowell
June 7, 2011 at 8:41 am
doh thanks and i edited my psot...
Lowell
June 7, 2011 at 7:47 am
SQL uses the CONVERT function to format dates...there's an optional parameter, like 101, which means dd/mm/yyyy; you can read the details inbooks online under "Cast and Convert"
i think this is...
Lowell
June 7, 2011 at 7:37 am
AWE was the work around for 32 bit systems, because hard drives available RAM got larger than the upper limit of the # of address the system can keep track...
Lowell
June 7, 2011 at 7:26 am
thanks for the clarification Gail!
you said "... If a plan is never cached, it won't appear in the query stats DMV at all...", can you clarify?
I thought every query...
Lowell
June 7, 2011 at 5:52 am
i can think of two ways:
1. set up a DML trace, and after it's run for a while, look at the high values in Duration, Reads,Writes or CPU as a...
Lowell
June 7, 2011 at 5:39 am
DAC is the Dedicated Administrative Connection...If you enabled in on your server (it's optional and off by default), when you have a runaway process you can still connect, and maybe...
Lowell
June 7, 2011 at 5:26 am
forsqlserver (6/7/2011)
check the mdf,Ldf size,
Take a full backup,
Change the recovery model to simple,
again do a full backup,
check the ldf...
Lowell
June 7, 2011 at 4:33 am
ok...i see the plan...but it goes back again to what will the table be used for? the purpose of the table has a lot to do with the best way...
Lowell
June 6, 2011 at 11:09 pm
a single, master table tracking all changes and the original values isn't really going to work well...think it through with me.if you want to keep old and new values, you...
Lowell
June 6, 2011 at 10:37 pm
Viewing 15 posts - 7,426 through 7,440 (of 13,459 total)