Viewing 15 posts - 91 through 105 (of 514 total)
Grant Fritchey (3/13/2008)
... or the one about cleaning up radioactive water with a bunch of towels ...
What a coincidence. Do you just light up a room when you walk...
March 13, 2008 at 11:39 am
The only credit I can take is that I found it on the net. I have used them in some code that I wrote.
...
March 13, 2008 at 9:37 am
You think that is sad. Here is my best story.
I once had a situation where a company called me up and asked me if I would be interested in...
March 13, 2008 at 8:33 am
Go Steve Go....
Forget about the fact that you have to write the EDJ for tomorrow. Tell us your story... How did you get the cushy job you have...
March 13, 2008 at 8:29 am
Actually that made me wonder what the record is? Or do we have to count only those posts that were about the OP topic 🙂 I would guess...
March 13, 2008 at 6:57 am
If nothing else cursors are painfully slow. They hold locks for extended periods causing other issues. If a set based solution is not available, the following is a...
March 13, 2008 at 6:53 am
FYI a way around the problem above.
Pass the object_ID of the table rather than the name..
...
@theTableID = object_id('tblTheTable')
...
select @theSQL = 'select id,name from ' + quotename(name)
from sys.tables where object_id =...
March 13, 2008 at 6:44 am
"with execute as owner" is the best way around that issue, but be very careful that you can't use that procedure to incorporate SQL INJECTION.
There are some great...
March 13, 2008 at 6:38 am
This is a good time to post some utilities that I have used before. There are functions to return several SQL Locations.
March 13, 2008 at 6:14 am
I'm thinking that the issue is that the name of the DB has "Special characters" in the name.
Just place []'s around the Name
CREATE DATABASE [This Is a Stupid...
March 12, 2008 at 2:38 pm
After looking at the post... srcTable and destTable are confusing to say the least. :blush: Also, obviously you will need to "Create" it before you alter it.
March 12, 2008 at 2:29 pm
Forgive this for being thrown together in about 10 min.
I suspect this is what the OP is trying to do:
ALTER PROCEDURE bobTest
@srcTableID INT,
...
March 12, 2008 at 2:25 pm
Another example (sorry didn't use yours) This also detects Nothing to do situation
DECLARE @status BIGINT
BEGIN TRANSACTION
BEGIN TRY
DELETE
FROM [master].[dbo].[tblAppLog]
WHERE tblAppLog.entry_num = @EntryID
...
March 12, 2008 at 1:10 pm
There are many reasons why you want to move the System Databases, and I agree with all of them.... However;
Rarely do they need restored, they are often much easier to...
March 12, 2008 at 12:54 pm
J (3/12/2008)
I would be weary about using the social security number, especially if you have an employee code or number. ssn should in my humble view used only for matters...
March 12, 2008 at 12:46 pm
Viewing 15 posts - 91 through 105 (of 514 total)