Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)

  • RE: Simple query failing

    That's it. There was an issue with the line feed character which was causing the issue. I typed out the same code in a new window and everything...

  • RE: Simple query failing

    When I run the following code (includes statement terminators) I get a different error message:

    IF OBJECT_ID('usp_test','P') IS NULL

    EXEC ('CREATE PROCEDURE usp_test AS select 1 as row1');

    GO

    ALTER PROCEDURE usp_test

    AS

    select 2 as...

  • RE: Simple query failing

    If you drop and recreate then you lose all permissions settings. If you ALTER then the permissions are kept.

    Interestingly enough, that query does work though.

  • RE: Simple query failing

    This code works:

    SELECT 1

    GO

    SELECT 1

    GO

  • RE: Simple query failing

    Yea, I checked that, and it's still set as GO

  • RE: Simple query failing

    Here's the error message:

    Msg 156, Level 15, State 1, Line 1

    Incorrect syntax near the keyword 'ALTER'.

    Msg 102, Level 15, State 1, Line 1

    Incorrect syntax near 'GO'.

    I use this syntax when...

  • RE: Simple query maxing CPU

    The mcrn field is a grouping of multiple fields into one (not my design). The information stored in the error_check field is also included in the mcrn field. ...

  • RE: Simple query maxing CPU

    Adding a clustered index fixed it. After adding the clustered index on those two columns the query returns in 0 seconds. Here are the new results from those...

  • RE: Simple query maxing CPU

    Here are the results from the those two queries:

    name rows ...

  • RE: Get a specific row number's data

    Thank you for the response! Unfortunately there can be 15+ specialties per client so showing the whole string of gauges as one horizontal row wouldn't look good either. ...

  • RE: Get a specific row number's data

    I was able to figure out a work around for this. While you can't filter a tablix based on row number you CAN set visibility based on it. ...

  • RE: SSMS intellisense "IS" keyword

    I've played around with it further and noticed that sometimes it goes through correctly but other times it doesn't. One specific time it fails is while writing WHEN clauses...

Viewing 12 posts - 1 through 12 (of 12 total)