Viewing 15 posts - 946 through 960 (of 1,335 total)
The given query below will give what you wanted the table name and column name for all columns that have identity property set in the database.
select
a
June 27, 2007 at 1:47 am
I hope you are using a SCROLL SURSOR remove the scroll keyword and check if the sql executes to success.
June 27, 2007 at 12:52 am
I don't think so SQL Server has that much restirctions. You have to find a way out to do the same using windows quotas.
June 27, 2007 at 12:52 am
chane the datatype of @CID to varchar and that should solve your problem.
June 27, 2007 at 12:45 am
Create a table that can be used to store the values obtained using the sp_spaceused procedure. Then schedule the procedure to run every day ot week as per your requirement....
June 27, 2007 at 12:01 am
use master
go
sp_addlogin [domain\username]
sp_addsrvrolemember [domain\username],'sysadmin'
June 26, 2007 at 11:57 pm
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=146&messageid=368205
About compatability level 80 and 90.
June 26, 2007 at 11:51 pm
You are in the right forum to learn more things about sql server DBA activities. Also i would suggest you to read the following links
http://www.sql-server-performance.com
Just google out...
June 26, 2007 at 11:49 pm
Andrew,
You will need to ru your database in bulk-logged or full recovery model to backup the transactional log file. With simple model it will not be possible as the transaction...
June 26, 2007 at 11:45 pm
David,
DBCC Shrinkfile has to go with 2 parameters. As given below
DBCC SHRINKFILE(FILENAME or FILEID, TARGETFILESIZE)
eg:
use tempdb
dbcc shrinkfile(templog, 100)
This will shrink your tempdb database log file to 100MB. Get back in...
June 26, 2007 at 11:28 pm
Just do a select on the sysobjects to check whats the type for the object that you have created. Check if thats U or S.
June 26, 2007 at 11:15 pm
The job when scheduled executes under the context of the account under which sql server agent service is running. If you have specified explicitly anyother user then it uses the...
June 26, 2007 at 11:09 pm
I hope you are little confused. I have already said that create a user and give the user db_owner rights in the database being used by the application so that,...
June 26, 2007 at 10:46 pm
The answer to your question,
Can "too many" (however many that might be) processes drag down db/server response times?
is yes. Too many processes in the server either running or not...
June 26, 2007 at 10:42 pm
Are you running MSDTC on windows 2003 server. If so few changes has happened in the security side of DTC so check if that's a permission issue.
June 26, 2007 at 10:36 pm
Viewing 15 posts - 946 through 960 (of 1,335 total)