Viewing 15 posts - 1,171 through 1,185 (of 3,011 total)
Jeffery Williams (10/22/2010)
Is there a way to import this with breaks creating multiple tables, AND...
October 22, 2010 at 1:48 pm
A sortable name is better. Makes it easier to look through the contents of a directory.
declare @bkdbName varchar(50)
set @bkdbName =
'myDB_LOG_BKUP__'+
replace(replace(replace(convert(varchar(19),getdate(),121),'-','_'),':','_'),' ','__')
select bkdbName = @bkdbName
Results:
bkdbName
-----------------------------------
myDB_LOG_BKUP__2010_10_21__12_19_56
October 21, 2010 at 10:21 am
There is no answer without knowing what that integer actually represents.
Many UNIX systems represent dates with integer values that are offsets in seconds or milliseconds from 1970-01-01 00:00:00. It's...
October 21, 2010 at 10:05 am
Use the DBCC SHRINKFILE command.
You can look up the syntax in SQL Server Books Online.
October 21, 2010 at 9:50 am
Perry Whittle (10/20/2010)
david.armstrong 13072 (10/18/2010)
It seems like transactional replication would get the job done.providing all the replication objects have a primary key defined!
Yes, and if the system is architected so...
October 20, 2010 at 2:34 pm
You may also want to look into the process that caused the dev and prod databases to get out of sync.
No point in fixing the problem just to see it...
October 20, 2010 at 2:11 pm
And you may want to consider some of the points people mentioned on this other thread:
October 20, 2010 at 2:07 pm
SkyBox (10/19/2010)
My call center enters sales...
October 19, 2010 at 2:08 pm
The only hash functions built into SQL Server 2008 are MD2, MD4, MD5, SHA, or SHA1.
If you need another hash algorithim, you will need to create your own custom function...
October 19, 2010 at 10:23 am
If you decide you need to shrink the data files, you might find the script on the following link useful:
Shrink DB File by Increment to Target Free Space
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=80355
As has been...
October 19, 2010 at 9:58 am
David.Poole (10/16/2010)
October 19, 2010 at 9:26 am
Do tables that reference table konten have indexes on their foreign key columns?
October 15, 2010 at 3:27 pm
We had a database consulting company come in recently and develop a database and application exactly as specified by the VP of development.
Of course what he told them had nothing...
October 15, 2010 at 12:59 pm
Pei Zhu-415513 (10/15/2010)
BTW, sql server 2008 r2 supports datafile/logfile on network share.
Only under specific conditions, which Gail pointed out NFS does not meet.
Description of support for network database files in...
October 15, 2010 at 12:42 pm
David Portas (10/15/2010)
Michael Valentine Jones (10/14/2010)
Always use Surrogate keys for the primary key. Add unique constraints on all natural keys (alternate keys).
A primary key means exactly the same thing as...
October 15, 2010 at 12:33 pm
Viewing 15 posts - 1,171 through 1,185 (of 3,011 total)