Viewing 15 posts - 121 through 135 (of 306 total)
Yes it can be but part of the script will need to be reconstructed
March 17, 2008 at 6:34 pm
Learning from our mistakes.. i've also experience the same situation where i backup only those existing databases in the server so when there are new databases restored in the server...
March 11, 2008 at 8:22 pm
ywb (3/11/2008)
It's great that I get the counts in the brackets now, but is there any way to have each fruit in it's own column? I'm not very good...
March 11, 2008 at 7:42 pm
The pain of CURSOR and the glory of JOINS hehehe thanks for the correction.
March 11, 2008 at 7:36 pm
ALZDBA (3/11/2008)
DBCC SHRINKFILE ( file_name , EMPTYFILE )
and later on
alter database xyz REMOVE FILE logical_file_name
Read BOL for...
March 11, 2008 at 7:00 pm
donpolix (3/11/2008)
This is quite a pain, but you can create a new filegroup, add one data file to...
March 11, 2008 at 6:55 pm
$sanjayattray (3/11/2008)
March 11, 2008 at 6:54 pm
In my Experience i created a database with 1 data file then used DTS to transfer the data from thos multiple data files to the database that i created with...
March 10, 2008 at 11:39 pm
This is a bit long.... you can analyze the flow of the script so that you can develope your own script and maybe enhance this one (i know this is...
March 10, 2008 at 9:54 pm
I created the table by using a dummy table not a temp table that is why the tables dont have #
select datename(yyyy,c.consumptiontime) as 'Year',
CASE WHEN month(c.consumptiontime) = 1 THEN 'January'
...
March 10, 2008 at 8:04 pm
If you want to change table owner other than dbo you can use the command sp_changeobjectowner
Example:
sp_changeobjectowner 'lester.table','dbo'
March 9, 2008 at 11:25 pm
Thanks for the quick response this is what i did
--= Use Northwind Database for testing
Use Northwind
GO
--= Condition if the table doesn't exists
IF NOT EXISTS (select name from sysobjects where xtype...
March 9, 2008 at 8:43 pm
Thanks to all we successfully transfer the databases in 1 hard disk to another not by using dettach/attach but by using backp and restore to another hard disk location. I...
March 9, 2008 at 6:40 pm
Viewing 15 posts - 121 through 135 (of 306 total)