Forum Replies Created

Viewing 15 posts - 5,476 through 5,490 (of 7,636 total)

  • RE: Invalid views

    That's why, if you look closely, you'll notice that I always capitalize "Cursor", unless I am specifically talking about those other benign (and usually hidden) cursors. For instance, these...

  • RE: Invalid views

    Jeff Moden (9/20/2008)


    I agree, Barry... I used to call variables such as these "accumulators" which is also probably more appropriate.

    "Pseudo Cursors"? That's certainly a correct description, but the word...

  • RE: Invalid views

    Wandrag (9/18/2008)


    Whoa -this is cool....:)

    Can you please explain how this works (Not the sp_refreshview part), but the fact that one don't have to loop through the view names to build...

  • RE: Invalid views

    Jeff Moden (9/18/2008)


    Don't you just love the fact that you can overload variables in SQL Server like that? That doesn't work in most other very well known RDBMS's.

    I agree...

  • RE: Joining the darkside

    Heh indeed. 😛

  • RE: Thank You All

    Thanks and congratulations too!

    I think that most of us are not doing it for the praise, but it is always nice to know when we are having a positive effect....

  • RE: Killing users

    francis (9/19/2008)


    Is there a way to kill certain users after hours for an application before doing backup ? Since when application is running, backup software refuses to continue. ...

  • RE: Joining the darkside

    Jeff Moden (9/18/2008)


    What ever possesed you to join the darkside?

    You don't know the power of the darkside!

    😀

  • RE: Invalid views

    Igor Brusetti (9/19/2008)


    in the way proposed by rbarryyoung, I have the message only for the first view that gives an error.

    Good point, but it is easy to fix this with...

  • RE: Why Use Service Broker? Examples please

    I should also add that access to the above described service can be controlled through GRANTS to the individual users,.

  • RE: Why Use Service Broker? Examples please

    In my experience, there are three different general things that you can use Service Broker for:

    1. Asynchronous processing in response to events

    2. Decoupling execution from a source caller

    3. Implementing a...

  • RE: Invalid views

    Actually it's much easier than that and you don't need any evil Cursors either:

    Declare @sql as NVarchar(MAX)

    Set @sql = ''

    Select @sql = @sql + 'EXEC sp_refreshview ''['

    ...

  • RE: Help with Incremental update in sql server

    FWIW:

    Microsoft encourages the use of the TOP clause in SQL 2005+ over the SET ROWCOUNT statement.

  • RE: Test Environment

    Steve Jones - Editor (9/18/2008)


    Best you can, though most people have smaller environments and have to make guesses on performance. I would think the data size is the most important,...

  • RE: Importing into wide table with sparse columns

    Your other choice would be to bring it into a staging with a single NVarchar(MAX) per row, and then parse it from within SQL into Sparse column_set XML.

Viewing 15 posts - 5,476 through 5,490 (of 7,636 total)