Viewing 15 posts - 2,176 through 2,190 (of 3,348 total)
Good question - but what's up with the word "other" in the question?
March 28, 2012 at 12:32 am
davidandrews13 (3/27/2012)
a. i create a view by using the CREATE VIEW As statement with a SELECT * and the view automatically expands out the column names.
That is, apparently, what happens...
March 27, 2012 at 9:27 am
davidandrews13 (3/27/2012)
bitbucket-25253 (3/27/2012)
davidandrews13 (3/27/2012)
Carlo Romagnano (3/27/2012)
Easy question!Good practice is never use "SELECT * FROM" in view, too.
😉
surely it doesn't matter if you do SELECT *?
every time i create or update...
March 27, 2012 at 9:05 am
davidandrews13 (3/27/2012)
to create a view I right-click teh 'Views' node in Object Explorer and click 'New View...'. I then click to 'Close' the dialog box that asks me...
March 27, 2012 at 9:02 am
davidandrews13 (3/27/2012)
surely it doesn't matter if you do SELECT *?
It definitely matters. In the case of this question, you get an error either way. But in an earliers message, I...
March 27, 2012 at 8:53 am
palotaiarpad (3/27/2012)
BOL: If a view is not created with the SCHEMABINDING clause, sp_refreshview should be run when changes are made to the objects underlying the view that...
March 27, 2012 at 2:41 am
L' Eomot Inversé (3/22/2012)
So which to believe: SSMS and BoL, or what the database tells me when I query it?
I think you can believe both.
SSMS and BOL give you the...
March 22, 2012 at 7:30 am
L' Eomot Inversé (3/22/2012)
I don't know which version of SQL Server this is supposed to apply to. I don't thionk there is any version it actually does apply to.
Sorry,...
March 22, 2012 at 4:34 am
kaspencer (3/22/2012)
March 22, 2012 at 4:13 am
tilew-948340 (3/12/2012)
I am not sure to understand perfectly the WITH CHECK option.
Put simply, WITH CHECK means that rows that are inserted or updated through the view must still satisfy the...
March 13, 2012 at 1:50 am
A good, solid question. Too bad it's only worth 1 point, I think 2 points would have been called for here.
tilew-948340 (3/10/2012)
March 12, 2012 at 2:03 am
I am embarassed to admit that I got this question, that apparently was based on my comments, wrong.
I should have been warned. I even checked the code several times. All...
March 9, 2012 at 1:05 am
Viewing 15 posts - 2,176 through 2,190 (of 3,348 total)