Forum Replies Created

Viewing 15 posts - 14,461 through 14,475 (of 15,381 total)

  • RE: How to do ?

    I know we have some language barriers here but keep in mind that nobody can do anything with the code you loaded. You have an update to a temp table...

  • RE: sp_executesql

    Your string really is still in the variable you just can't see it. You can check the length of it with

    select datalength(@sqlstring)

    Here is an example of what Michael was talking...

  • RE: sp_executesql

    There is a limit in the output of a query in SSMS. Just because you can't see it doesn't mean it is not in your variable. Tools -> Options ->...

  • RE: Update Query

    Don't get too hung up on it. Joe is a really smart guy but he admits his online personality is intentionally arrogant. He hits that nail on the head with...

  • RE: Converting varchar to datetime

    YUCK!!!! After you catch your breath for beating your dev senseless....you will have to convert each of your columns. Assuming they are in the same format you can just add...

  • RE: How to do ?

    To get some real help you need to help us help you. Please see the link in my signature for best practices on posting questions. There are lots of people...

  • RE: Converting varchar to datetime

    So slap your developer and make him change it to an appropriate datatype. 😛

  • RE: Converting varchar to datetime

    This of course is exactly why you should use datetime datatypes to hold datetime data. Assuming your format is consistent you can use something like the following;

    declare @val varchar(20) =...

  • RE: Update Query

    steve.anderson 7639 (6/28/2011)


    Hi:

    I have this query (below). MaterialDesc is the fieldname, and I want to append data to the value. I'm certain I have not selected the value...

  • RE: greater than equal

    That and the total lack of proof. The author just says do this instead of that because it is faster but presents no facts to back up the claims. Jeff...

  • RE: SSMS Layout

    Would you mind sharing so others might learn?

  • RE: T-SQL Question: Getting different ways to reach from Point A to Point B

    Surely with almost 900 points you should know how NOT to post a question. There are no details for anybody else to go on. We can't see over your shoulder...

  • RE: Kill Database Connections

    Robert klimes (6/27/2011)


    There is also a dispose method which, if I understood correctly, would completely breakdown the connection but then you could not make use of connection pooling.

    This is a...

  • RE: cursor issue

    The hard part here is that nested cursors are hideously horrible for performance. This doesn't look like you need a single cursor let alone two of them. There are few...

  • RE: how to return zeros with a group by that returns nulls

    I'm guessing you didn't actually read the article I pointed you to. If you post some ddl, sample data (insert statements) and desired output with a clear explanation you will...

Viewing 15 posts - 14,461 through 14,475 (of 15,381 total)