Viewing 15 posts - 4,516 through 4,530 (of 4,745 total)
ALZDBA,
I put the code in one exec
set @statement = N'use [' + @name +']'+ " exec sp_grantdbaccess 'PRODUCTION\DCT_SQL_VALIDATION','DCT_SQL_VALIDATION'"
exec sp_executesql @statement
but it still refuses to switch database context!
---------------------------------------------------------------------
March 21, 2008 at 8:51 am
the truncateonly option only deallocates space up to the last used extent, so you were probably not getting much space back as you had an allocated extent near the end...
---------------------------------------------------------------------
March 21, 2008 at 7:59 am
space required =
size of .mdf + size of all .ndf (if present) + size of .ldf + size of .bak file
The .bak will almost always be smaller than the...
---------------------------------------------------------------------
March 19, 2008 at 1:49 pm
I would not try and move over the master database just script out logins, server roles, default database and language and run in on the other side (no problems with...
---------------------------------------------------------------------
March 18, 2008 at 4:14 pm
Also, remove builtin\administrators group from SQL (after setting up alternative group with sysadmin to run sql under.)
but a local admin with a bit of knowledge could get round that................
---------------------------------------------------------------------
March 18, 2008 at 4:05 pm
I think SQL Oracle had your answer early on in that you set the client up so the only access they gave is via the app, and their only permissions...
---------------------------------------------------------------------
March 18, 2008 at 3:59 pm
you can use standard. Its only limitation (cluster-wise) is it only goes up to two nodes, which is what you have got. No. of instances, active\passive or active\active is not...
---------------------------------------------------------------------
March 18, 2008 at 2:42 pm
Also, if you are restoring a backup of a production database, you are possibly in some sort of DR situation, and in those cases you want the database back as...
---------------------------------------------------------------------
March 18, 2008 at 2:38 pm
usual reason for this error is the sql instance is set to only accept windows authenticated logins but you are trying to connect with a sql authenticated ID. check the...
---------------------------------------------------------------------
March 18, 2008 at 2:19 pm
Marios, got it, cheers
---------------------------------------------------------------------
March 17, 2008 at 9:42 am
so high i/o queries benefit from parallelism? And one hope queries in OLTP do not produce high i/o (hence comment about tuning, by which I presume you mean code)
Its heavy...
---------------------------------------------------------------------
March 17, 2008 at 9:09 am
....which brings me on to a question, is parallelism a good thing in the database engine?
Amount of times I see CXPACKET waits and PAGEIOLATCH_* waits on parallel queries, especially on...
---------------------------------------------------------------------
March 17, 2008 at 8:16 am
in the job properties, who owns the job.? If it is not sa or the service account, change the job owner to one of them
---------------------------------------------------------------------
March 13, 2008 at 4:38 pm
yes paul;, realised that as soon as I posted, which is why I deleted post, but you were too quick for me! :blush:
---------------------------------------------------------------------
March 13, 2008 at 4:24 pm
Are you sure there are no 'UMS Scheduler Hung' messages in the SQL errorlog?
This is the only thing I am aware of which will completely freeze a SQL instance. If...
---------------------------------------------------------------------
March 13, 2008 at 8:40 am
Viewing 15 posts - 4,516 through 4,530 (of 4,745 total)