Viewing 15 posts - 121 through 135 (of 267 total)
Yes INSERT INTO.
I am getting an error that I need an output clause. Sorry, not sure where to put that or what syntax.
Exact Error:
Msg 10716, Level 15, State 1, Line...
April 14, 2016 at 8:41 am
P.S. I tried an insert in the sample below but is says I need a FOR OUTPUT and this is where I am stuck, don't know where to put...
April 14, 2016 at 8:39 am
Figured out solution. Still need to fine tune it but if it is useful to anyone here it is.
You can change the DB name, I just have that going into...
April 13, 2016 at 7:29 pm
I am such an idiot. I was beating my head against the wall. It is not like I have not done this before.
Good grief.
I had 'stf.TableName'
Instead...
April 12, 2016 at 11:13 am
I hope this addresses what you are looking for. I uploaded the tables. with data for a give table.
Now if you query both those tables;
SELECT DISTINCT *
FROM SourceTableFields stf
WHERE TableName...
April 12, 2016 at 10:05 am
The environment is mixed. Thank you for the recommendation.
March 16, 2016 at 8:15 am
That is a great suggestion. In those case it wont work because I am having to link server call everything and their are many databases across multiple servers. In other...
March 15, 2016 at 10:53 am
Very awesome, thank you so much.
March 15, 2016 at 10:01 am
Thanks I had something like this as well but I need to specify the DB to get the count from. It will be a stored procedure and will be getting...
March 15, 2016 at 9:50 am
I messaged the person that sent the message to my group. They are usually pretty on point but I am confirming. And yes agreed this is not a MS SQL...
February 16, 2016 at 3:42 pm
The issue seems to be outside my trigger.
And, I did include the text of the error message. Error message is as follows:
would update more than one row.
And yeah... you...
February 16, 2016 at 3:11 pm
I tried manually updating a record that would result in a single row updated. And then one that results in multiple rows.
Both work fine. I should have done that...
February 16, 2016 at 2:27 pm
So you are saying my trigger looks fine for updating several records? Not what I wanted to hear 🙁 It is a purchased app and I put audit tables on...
February 16, 2016 at 2:08 pm
My new assignment here is full of it. If i were not so darn tired I probably would have gotten it. Thanks again! And yes dynamic SQL...
July 8, 2015 at 1:00 pm
You Lynn are a genius!
Thank you so much for your help.
July 8, 2015 at 12:52 pm
Viewing 15 posts - 121 through 135 (of 267 total)