August 5, 2016 at 12:16 am
Comments posted to this topic are about the item Updating the View or the table?
August 5, 2016 at 1:54 am
Easy one for the end of the week. I was looking for the gotcha but there wasn't one
August 5, 2016 at 4:50 am
This was removed by the editor as SPAM
August 5, 2016 at 5:57 am
I also appreciate an easy one to end the week. Since this was the first week after vacation, it was a long one.
August 5, 2016 at 6:35 am
Almost missed the fact that firstname wasn't part of the view. It's a good thing I double checked.
August 5, 2016 at 7:44 am
Luis Cazares (8/5/2016)
Almost missed the fact that firstname wasn't part of the view. It's a good thing I double checked.
Same here. It's a good thing I test, especially before my second cup of coffee.
August 5, 2016 at 1:03 pm
Thanks, Steve, and have a great weekend!
August 8, 2016 at 1:56 am
Nice question, thanks.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
September 20, 2016 at 11:22 am
But there is no data in the table. There is at that point to EmpID = 2 or 1 for that matter
September 22, 2016 at 9:54 am
H Laforest (9/20/2016)
But there is no data in the table. There is at that point to EmpID = 2 or 1 for that matter
Why would you assume no data? That is not mentioned.
September 22, 2016 at 10:54 am
H Laforest (9/20/2016)
But there is no data in the table. There is at that point to EmpID = 2 or 1 for that matter
The presence of data makes no difference here whatsoever. With a completely empty table you will get the same error. It can't update because the column doesn't exist in the view.
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy