Viewing 15 posts - 211 through 225 (of 294 total)
You could use OSQL to run a script, where the script could be as big as you want ie:-:-
EXEC master..xp_cmdshell 'osql -E -S Servername-d master -l 100 -i "D:\script.sql" -o...
March 26, 2008 at 8:04 am
See http://msdn2.microsoft.com/en-us/library/aa173551(SQL.80).aspx
"Restoring a database using both database and transaction log backups works only if you have an unbroken sequence of transaction log backups after the last database...
March 20, 2008 at 2:24 pm
If I ever alter the recovery model to Full from Simple the first thing I do is take a full backup, before even thinking of taking a log backup, simply...
March 18, 2008 at 11:22 am
Not my idea but yes I've been asked to do just that, I know its meaningless but it's what they want to do.
March 11, 2008 at 11:48 am
How are you trying to enter the data? Are you inserting into the Primary Table first?
March 11, 2008 at 11:16 am
I want to be able to explicitly deny access to the full range of schema roles ie:-
ALTER ANY APPLICATION ROLE
ALTER ANY ASSEMBLY
ALTER ANY ASYMMETRIC KEY
ALTER ANY CERTIFICATE
ALTER ANY CONTRACT
ALTER ANY...
March 11, 2008 at 11:08 am
I am trying to deny access at schema level - Don't ask why!!! Your script doesn't list the permissions not already given, so I can't get the list from...
March 11, 2008 at 10:57 am
BEGIN TRAN
DECLARE @intErrorCode INT
--Some code
/* check to see if we had an error and if so goto the error handler and rollback the transaction */
SELECT @intErrorCode =...
March 4, 2008 at 3:39 am
Spookily enough I'm working on a security script as I write.
DECLARE @Database sysname, @sql varchar (max)
SET @Database = db_name()
SET @sql = 'SELECT ''GRANT EXECUTE ON...
February 27, 2008 at 11:43 am
ltrim or rtrim strips spaces L eft or R ight of the field
February 26, 2008 at 8:26 am
Look up Cross Tab Reports in BOL
February 26, 2008 at 6:14 am
Look at the space on the drive where your PRIMARY filegroup resides, and filespace on drive where the tempdb files reside.
February 26, 2008 at 6:13 am
I have seen this error before and it was because of other activity on the server at the time the backup was run, it could not find enough virtual memory...
February 26, 2008 at 6:10 am
Your syntax is wrong from BOL:-
SELECT au_fname, au_lname,
CASE state
WHEN 'CA' THEN 'California'
WHEN 'KS' THEN...
February 26, 2008 at 5:56 am
Viewing 15 posts - 211 through 225 (of 294 total)