Viewing 15 posts - 16 through 30 (of 312 total)
The Application is Sproc/Read/Write Permissions. It is a separate install that does the DB maintenance as DB_Owner. That is safe. I was thinking something similar as to what you are...
April 21, 2017 at 2:06 pm
The Nolocks is how they want views written for reports so there are less page locks. I guess they are not concerned about ghost reads. We have not had adverse...
February 20, 2017 at 1:06 pm
Thanks for the ideas. Both isnull and Coelesce work. I chose isnull, but really they both were fine. thanks for the help
February 20, 2017 at 12:49 pm
That is great work. It is exactly what I needed. Thanks
October 27, 2016 at 4:48 pm
That is a tough setup to visualize. I feel your pain with guids, and trying to work with indexes. I have found from past experience that adding an...
March 28, 2016 at 12:01 pm
Thanks guys for getting me resolved quickly. works well now. Triggers always mess with me. I would have thought that first statement would work. It passed...
February 11, 2016 at 2:48 pm
I thought we were saying something like this would work
ALTER TRIGGER [dbo].[BadUpdate]
ON [dbo].[SomeTable]
INSTEAD OF UPDATE
AS
BEGIN
IF EXISTS (
SELECT 1 FROM dbo.Foo
...
February 11, 2016 at 2:22 pm
OK so it is not a pass/fail. It is a Pass -> UPDATE SomeTable SET WHERE. That is what I was kind of thinking but wasn't sure. Thanks
February 11, 2016 at 1:08 pm
I think I found the answer here:
http://www.sqlservercentral.com/Forums/Topic1044870-392-1.aspx
BEGIN TRY
BEGIN TRANSACTION;
-- Some code
COMMIT TRANSACTION;
END...
September 21, 2015 at 10:03 am
That's interesting I did not know you could do that. Are they trying to get away from doing select and unions?
September 17, 2015 at 12:08 pm
INSERT INTO @Temp
SELECT * FROM (SELECT @QuantityID as ID UNION
SELECT @LengthID UNION
SELECT @CostID) Temp
WHERE id is not null
Better idea than this?
September 17, 2015 at 11:01 am
That is basically what I have.
SQL2008Dev
SQL2012Dev
SQL2014Dev
It is organized, but I have issues with my scripts. I have made an installer that runs scripts to build DBs for different regions....
August 27, 2015 at 8:12 am
I am in pretty much the same place. I have to verify each version and then if things happen in customer locations I have to get the DB's to...
August 20, 2015 at 2:32 pm
I thought so....I was really hoping, but knew it was a long shot. Thanks for the quick reply
August 20, 2015 at 11:23 am
There is no problem with the code Steve presented. I just did not want the overhead of the select from a temp table. It seems like that will...
June 26, 2015 at 10:34 am
Viewing 15 posts - 16 through 30 (of 312 total)