Forum Replies Created

Viewing 15 posts - 2,176 through 2,190 (of 3,348 total)

  • RE: Contained Databases

    Good question - but what's up with the word "other" in the question?

  • RE: VIEWS 4

    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...

  • RE: VIEWS 4

    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...

  • RE: VIEWS 4

    davidandrews13 (3/27/2012)


    i dont, no.

    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...

  • RE: VIEWS 4

    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...

  • RE: VIEWS 4

    palotaiarpad (3/27/2012)


    I'm a bit confused.

    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...

  • RE: SQL Server Agent Roles

    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...

  • RE: SQL Server Agent Roles

    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,...

  • RE: SQL Server Agent Roles

    kaspencer (3/22/2012)


    A message to Steve Jones: Steve, appoint a named reader of every QotD before questions are used on the site. Otherwise, SACK those question-writers who do not read their...

  • RE: SOME

    KWymore (3/21/2012)


    Are there any instances where you could not perform the same logic using IN instead of ANY?

    Yes, as GSquared already shows.

    However, there are (as far as I know) no...

  • RE: SOME

    venoym (3/21/2012)


    Hugo Kornelis (3/21/2012)


    Nice question on a little known (and, frankly, barely useful) feature.

    Too bad it is hampered by the all too common mistake of depending on a time format....

  • RE: SOME

    Nice question on a little known (and, frankly, barely useful) feature.

    Too bad it is hampered by the all too common mistake of depending on a time format. In some regions...

  • RE: VIEWS 2

    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...

  • RE: VIEWS 2

    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)


    Since then, I put only "SELECT" permission on the...

  • RE: Temporary Objects 2

    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...

Viewing 15 posts - 2,176 through 2,190 (of 3,348 total)