Viewing 15 posts - 241 through 255 (of 441 total)
The database is in single_user mode, but that does not prevent you from connecting on another Database (master).
Connect to the master database, and run sp_who2, check the SPID of the...
July 13, 2009 at 12:47 pm
Are the queries in stored procedures? If yes, then just deny the updating of those procedures to the users in question, and leave them only to the DBA, or admin...
July 9, 2009 at 7:30 am
steven.wood (6/16/2009)
Ok a bit of context for you, I have a 3rd party software app I cannot change the database structure of, data from this...
June 16, 2009 at 8:30 am
GilaMonster (6/16/2009)
J-F Bergeron (6/16/2009)
2- You can't execute a procedure from a trigger, you simply can't, so you will need to add the code you want directly in the trigger code.
?????
A...
June 16, 2009 at 8:26 am
steven.wood (6/16/2009)
Please can someone help as I'm an utter novice when it comes with working with Triggers.
I have a holding table that is populated by a trigger no problem, thing...
June 16, 2009 at 7:53 am
Highlight the table name in SSMS and do ALT+F1, it launch sp_Help on the current selection. You will see the fields, datatypes, and index informations.
Hope that helps,
June 15, 2009 at 12:51 pm
Thanks a lot Gail, this is the best explanation I had of page verify settings. Once again I learn a lot from reading your posts.
I will change my DB To...
June 15, 2009 at 8:25 am
Gail, what's the difference between
Page Verify - None
Page Verify - Torn Page Detection
Page Verify - CheckSum
One of my DB is currently set to Page Verify - None, which makes...
June 15, 2009 at 8:04 am
Oh Geez... SQL 2000, Sorry, my solution will not work, it's for 2005.
Sorry about that... I should've read the entire post..
June 12, 2009 at 10:20 am
kam7395 (6/12/2009)
I am new to SQL Server 2000, Please somebody let me know how to "count the occurences of weekdays in a year" or else...
June 12, 2009 at 10:19 am
You need to group by Every column that is not contained in your sum, here's how:
SELECT A.empnum,
A.ename,
...
June 11, 2009 at 2:12 pm
Hi,
The Sum aggregate is used to SUM the same columns accross rows. What you want to do is sum different columns.
Here is an example
Select
EmployeeID,
Name,
(Select (reg_hrs + ot_hrs + sick_hrs +...
June 11, 2009 at 11:33 am
Happy I could help Ian,
Have a great day,
June 11, 2009 at 11:23 am
Dave Ballantyne (6/11/2009)
I think we've all been there , cant quite believe what you are seeing , then realising the massive cock-up.Careful with uncommitted reads http://sqlblogcasts.com/blogs/tonyrogerson/archive/2006/11/10/1280.aspx
Why do you do...
June 11, 2009 at 9:44 am
John Rowan (6/10/2009)
-- Result Set = Full Result Set
-- Result...
June 10, 2009 at 11:57 am
Viewing 15 posts - 241 through 255 (of 441 total)