Forum Replies Created

Viewing 15 posts - 1 through 15 (of 16 total)

  • RE: Syntax error in SQL Statement when executing SPROC

    tstagliano (6/26/2013)

    DECLARE

    @sqlQuery NVARCHAR(MAX),

    @finalQuery NVARCHAR(MAX),

    @q CHAR(1) = ''''

    Try changing this to:

    DECLARE

    @sqlQuery NVARCHAR(MAX),

    @finalQuery NVARCHAR(MAX)

    DECLARE @q CHAR(1) = ''''

    or

    DECLARE

    @sqlQuery NVARCHAR(MAX),

    @finalQuery NVARCHAR(MAX),

    @q CHAR(1)

    SET @q = ''''

    Warm Regards,Greg Wilsonsolidrockstable.com

  • RE: SP producing an impossible error

    The trace we ran confirmed that the code that was executing was not what we expected to be executing. Further analysis found (quite shockingly) human/process err.

    The check of "Is...

    Warm Regards,Greg Wilsonsolidrockstable.com

  • RE: SP producing an impossible error

    Lowell (6/24/2013)


    does the proc insert potentially multiple rows?

    is the proc generating a unique key value? a bad join in a SELECT statement could pass the not exists, but ...

    Warm Regards,Greg Wilsonsolidrockstable.com

  • RE: Question of the Day for 10 Aug 2007

    Korn shell?  On windows?  That's being a glutton for punishment.

    Warm Regards,Greg Wilsonsolidrockstable.com

  • RE: SQL Server Security: Pros and Cons of Application Roles

    FYI - If you are using app role security with reporting services, you need to use a custom data extension on the reporting server.  I've got some sample C#...

    Warm Regards,Greg Wilsonsolidrockstable.com

  • RE: SQL Server Security: Pros and Cons of Application Roles

    There is a way to reset permissions (in 2005) sp_unsetapprole.  It does take some careful coding to make sure it is always called before returning connections to the app_pool, but it...

    Warm Regards,Greg Wilsonsolidrockstable.com

  • RE: RS only connects to datasource from local machine

    Why would it use the ASP.NET acount for non-local browser connections, and correct windows identity information on local  browser connections?  The web site is set to not allow anonymous authentication,...

    Warm Regards,Greg Wilsonsolidrockstable.com

  • RE: RS only connects to datasource from local machine

    I'm not passing in login information.  I'm using integrated windows security.  (Which worked fine in RS2K in similar scenarios)

    Warm Regards,Greg Wilsonsolidrockstable.com

  • RE: RS only connects to datasource from local machine

    I tried all the things that you suggested with no improvement.

     

    One new thing I notice is that the log files record the following on each failed attempt to pull a...

    Warm Regards,Greg Wilsonsolidrockstable.com

  • RE: Giant T-Logs

    I'm doing them both because I don't know any better.  What is a better solution?  Only reorganize?  Reorganize daily and reindex once a month?

    Warm Regards,Greg Wilsonsolidrockstable.com

  • RE: Question of the Day for 25 May 2007

    So if C is what the explanation says, why isn't it the correct answer?

    Warm Regards,Greg Wilsonsolidrockstable.com

  • RE: The Differences Between SQL Server 2000 and 2005

    I enjoyed this article a lot, because I happen to be getting ready to present a 2-hour bit to a group of 20 enterprise DBAs on exactly this topic.  I...

    Warm Regards,Greg Wilsonsolidrockstable.com

  • RE: Question of the Day for 26 Apr 2007

    This is probably the most ambiguous question I've seen in QOD for a while.  It makes the COMPLETELY INACCURATE assumption that a RAID level is always (or even morst of...

    Warm Regards,Greg Wilsonsolidrockstable.com

  • RE: How to avoid fast growth of Transaction Logs

    Is Snapshot Isolation turn on in your database?  If so, are you actually using it, or did you just turn it on because it is a new feature?

    Using Snapshot isolation...

    Warm Regards,Greg Wilsonsolidrockstable.com

  • RE: Secure Coding

    Firstly, Microsoft DOES release gobs of high quality code, and has for years.  Have you missed the Starter Kits that they have been publishing for years?  So, the point...

    Warm Regards,Greg Wilsonsolidrockstable.com

Viewing 15 posts - 1 through 15 (of 16 total)