Viewing 15 posts - 211 through 225 (of 432 total)
How about putting the user in the db_denydatareader Database security Role?
July 18, 2013 at 3:03 pm
What's your Max Server Memory setting in SQL Server? Any sign that the server ran out of available RAM?
July 18, 2013 at 2:56 pm
Interesting! When tinkering with data, I've often forgotten to to run COMMIT TRAN until the last change, then just ran COMMIT TRAN repeatedly until "The COMMIT TRANSACTION request has...
July 18, 2013 at 2:31 pm
The answer is yes. If the code in the inner BEGIN/COMMIT TRAN runs without a SQL error, I was able to undo the changes with the outer ROLLBACK TRAN....
July 18, 2013 at 12:04 pm
I'd guess you have at least one record with an ID that is a negative number, and has a value in DATE that cannot be converted to a DATETIME value.
Try
SELECT...
July 18, 2013 at 10:42 am
Since the procedure uses multiple update statements depending on the parameters entered, I have BEGIN TRAN inside the procudure with a COMMIT TRAN at the end of the TRY block...
July 18, 2013 at 10:32 am
Correct. Users need to be able to optionally set a date other than the current date. Sean's suggestion to default to null and then use ISNULL() set it...
July 18, 2013 at 10:02 am
You can pass the recipient list as a variable as in
EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'YourProfileName',
@recipients = @emaillist,
...
July 17, 2013 at 11:57 am
I've seen this happen with a funky installation of Management Studio. Try it from another computer.
July 17, 2013 at 10:39 am
Have you confirmed your Standard Edition is 2008 R2 and not 2008? We ran into an issue based on that confusion yesterday.
Starting with 2008 R2, Standard Edition...
July 17, 2013 at 10:35 am
Do a set of system file backups (bak), then the next time you can stop the SQL Service, make copies of the MDF & LDF files.
I wouldn't trust a master...
July 15, 2013 at 5:44 pm
I am assuming that the SELECT TOP 1 Record_ID ..... ORDER BY MODIFYDATE DESC is going to return the record that was just modified. Is it...
July 12, 2013 at 9:10 am
If the object already exists the Agent Job will be logged as errorred rather than success.
In this situation, the procedure is simply not going to be...
July 10, 2013 at 1:24 am
This would break any code that references the instance name, any linked servers, ODBC connections or connection strings in connecting applications out there. There a lots of gotchas so...
June 27, 2013 at 2:53 pm
Viewing 15 posts - 211 through 225 (of 432 total)