Viewing 15 posts - 16 through 30 (of 198 total)
ALTER DATABASE [db_name] SET READ_WRITE
GO
April 9, 2008 at 4:18 am
This looks like a bad experience. The trick with using VMs is to treat them - logically speaking - as real machines. Then the next question would be: why would...
April 9, 2008 at 1:32 am
It's a fairly easy select to be run, no need for sps;
use yourdb
go
select dp.NAME AS principal_name,dp.type_desc AS principal_type_desc,
o.NAME AS...
April 7, 2008 at 7:32 pm
There is nothing wrong happening with your sql instance; in sql 2005, the query duration is reported in microseconds (it was milliseconds in sql 2000) However, the profiler is still...
March 30, 2008 at 5:09 pm
unlike create database, restore is not a ddl statement with server scope; read BOL ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/a3d3c1a5-6ca0-465b-b1d4-f197dd2b682d.htm
February 17, 2008 at 8:54 pm
You can run queries accross >= two databases only if those dbs are in the same instance. In order to do this you have to qualify each table in your...
January 22, 2008 at 7:47 pm
Steve Jones - Editor (1/21/2008)
Sites such as this one are good for general knowledge.
Steve is a bit modest with what he said. I would say that this is "the...
January 22, 2008 at 7:32 pm
"Hanging" could have many meanings; it looks like your DTS process(es) is blocked by something else. If this happens every day at the same time then you may check for...
December 9, 2007 at 8:12 pm
I believe my answer comes a bit late, however first thing should be done when a db is marked as suspect is to run sp_resetstatus followed by a service restart....
November 26, 2007 at 7:12 pm
You may want to find out that MS not only changed the name of DTS, but changed it from scratch.
You cannot do transforms under a workgroup edition.
For a better understanding...
November 26, 2007 at 7:05 pm
Here is a script for backing up a db while attaching the date/time of the backup. This can be a sql agent job step.
Declare
@vDBNameVarchar(255),
@vFileNameVarchar(100),
@vNewPathVarchar(1000),
@vBackupStringVarchar(1000)
Set @vDBName='YOURDB'
Set @vNewPath='D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\' --FILL...
November 25, 2007 at 3:59 pm
The scope_identity function usage is well explained in BOL ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/tsqlref9/html/eef24670-059b-4f10-91d4-a67bc1ed12ab.htm
This behaviour is expected when PK-FK constraints are not defined correctly.
November 21, 2007 at 6:19 pm
ALTER DATABASE [your_db] SET ALLOW_SNAPSHOT_ISOLATION ON
GO
The db should have no user connected when enabling or disabling row versioning.
Test it first as this is at the db level; watch tempdb...
November 21, 2007 at 5:15 pm
When installing more than a sql instance on the same machine, only one may be default and that listen on port 1433, all the others being named instances - other...
November 21, 2007 at 4:28 am
If you want to take backups over the network then you have to use a domain account. The usual practice is to take backups locally then to move them to...
November 21, 2007 at 4:03 am
Viewing 15 posts - 16 through 30 (of 198 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy