Forum Replies Created

Viewing 15 posts - 76 through 90 (of 138 total)

  • RE: Sniped by QOD (26-Dec-2003)

    This happened to me this morning, I believe on the same question. The page did indicate that I had previously answered the question, and I do recognize the question...

  • RE: Elevate permissions within stored procedure

    My apologies - I'm following what you're saying now.

    R David Francis

  • RE: Elevate permissions within stored procedure

    If Brian's response is in reply to my suggestion/question, I'm not recommending dynamic SQL....

    R David Francis

  • RE: Transactions locking database

    I had a situation where my process was fast enough in getting from the COMMIT TRAN back to the BEGIN TRAN that queries weren't being processed.

    My solution was to put...

  • RE: Varchar datatype reaches max size?

    In the real world, the situation you describe is common. You've never had a problem because most of the data in those varchar columns happens to be far smaller...

  • RE: Elevate permissions within stored procedure

    No idea whether or not this would work, but:

    Create a user.

    Give the user the permissions to do whatever needs to be done with the tables.

    Create the stored procedure as belonging...

  • RE: Updating Base tables of a view

    Could this be as simple as a locking issue? I'm not sure how views operatr under the hood, but one would suppose that, if activity has a base table...

  • RE: Exec statement not working

    I think the issue is that, within the environment of your EXECUTE statement, the variables don't exist.

    Try:

    set @sql='update pivot '

    +'set date_'+cast(@cnt as varchar(3))+'=''' + CONVERT(varchar,@date_) + ''','

    +'flow'+cast(@cnt...

  • RE: Find first name?

    quote:


    ... it ignores multiple word last names (like mine). Of course, some people down South have multiple word first names.

  • RE: QOD 9 Dec 03 - Users

    At my former company, we had an Application Service Provider-style time and billing app. We designed that so that the application itself relied on the appropriate views to determine...

  • RE: Passing parameters with '@' in the code.

    This looks like it should be as simple as a terminology change in the code.

    Why can't you rename @JULY_ID to @MONTH_ID?

    What are we missing?

    R David Francis

  • RE: Intelligent vs. Surrogate keys

    I am inclined to place surrogate keys (by which I mean an abstract unique ID, usually an int column with the IDENTITY property) on almost every table I create.

    As others...

  • RE: Terminal Services - A Couple Tips

    I became dependent on Terminal Services/VNC during a period when our internet connection was a bit flaky. I had several long-running jobs to execute, and running them from a...

  • RE: Help with Error converting data type varcha

    Try running your procedure and returning the textnumber. You'll see that it's not translatable (for '1993-10-01, I got 1*274 as the answer).

    Turns out DATEPART(yy,<date>) still returns a four-digit year.

    If...

  • RE: Query help

    Often, in a situation like this, it's a good idea to go back to the English statement of the requirements. If the statements you've translated from English (or whatever...

Viewing 15 posts - 76 through 90 (of 138 total)