Viewing 15 posts - 9,421 through 9,435 (of 18,923 total)
Short and sweet...
Make new DB
SELECT * INTO NewDB.dbo.TblName FROM dbo.CurrentTbl
Backup new databse
Backup currentdb
DELETE dbo.CurrentTbl
Import
August 14, 2007 at 2:18 pm
This also assumes that you don't have to comply with SOX.
August 14, 2007 at 1:44 pm
You realize that ALL constraints are disabled by this script. You better make sure to revalidate all your data before inserting it into the table.
Also doing that will mark the...
August 14, 2007 at 11:32 am
You can also browse BOL in the alter table ection to find out what script can disable/enable a constraint (any type).
August 14, 2007 at 11:16 am
Like the one of the guy who invented that exemple ?!
.
August 14, 2007 at 9:00 am
That can also be used as a split function (when the dba doesn't want to have one on the server). Of course, that works only if you only need to...
August 14, 2007 at 8:19 am
Why do you think I can't figure out a usefull way to use that thing???
The only way I could see a good use would be to do a deffered cross-join...
August 14, 2007 at 8:16 am
It's possible if you know the Max Depth of the tree... as you can do as many left joins as the max depth requires... but that also has some draw...
August 14, 2007 at 5:00 am
UPDATE dbo.YourTable SET Seq = CASE Seq WHEN 1 THEN 2 WHEN 2 THEN 1 ELSE Seq END WHERE Seq IN (1, 2)
August 14, 2007 at 4:58 am
Nothing comes to mind. I have not used mysql in over 3 years (back in school actually) so I never really needed to find one.
Google maybe?
August 13, 2007 at 8:21 pm
Where do you want to send that new information?
You have to give more details or the answers we'll provide will be extremely generic... at best.
August 13, 2007 at 3:07 pm
There are not. Sorry but I can't help you anymore than I did. Somebody else will catch up with this sometime soon and figure it out.
August 13, 2007 at 3:06 pm
This compiles OK in my QA.. but I can't test without the tables so tell me how it goes.
UPDATE tblSchedule
SET tblSchedule.HomeScore = 14,
tblSchedule.AwayScore = 17
FROM tblSchedule
INNER...
August 13, 2007 at 2:36 pm
Assuming the previous idea works (make sure you test first).
Script all the tables but only the clustered index.
Do a search and replace to set the new filegroup and add the...
August 13, 2007 at 2:14 pm
Viewing 15 posts - 9,421 through 9,435 (of 18,923 total)