Forum Replies Created

Viewing 15 posts - 811 through 825 (of 844 total)

  • RE: Always Abstract

    Eric M Russell (8/22/2013)


    Chrissy321 (8/22/2013)


    And as I stated earlied how do you look at a log for a stored procedure? If I have a 1000 line SQL with 50...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Always Abstract

    Chrissy321 (8/22/2013)


    And as I stated earlied how do you look at a log for a stored procedure? If I have a 1000 line SQL with 50 different SQL statements...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Display the SELECT statement for any table

    Why don't you just right click on the table name in SSMS in the object explorer and do 'Script table as' then select 'SELECT to'. This will do the...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Always Abstract

    Craig-315134 (8/21/2013)


    Tom, I agree strongly with you. I favour moving as much application business logic into stored procedures as is possible,

    As a developer I have to disagree. 🙁 Where...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Always Abstract

    Craig-315134 (8/21/2013)


    The author wrote:

    ... I sometimes think that an investment in developer education would quickly erase any productivity losses ...

    Education is always a good thing, but it applies all around,...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Always Abstract

    In the past when we have tried to use views the performance was horrible so we stopped using them. And we avoided using stored procedures as much as possible....

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: option other than looping

    When I tried something similar awhile ago I found it was faster to delete the records from the 'temp' table as I went. I would think this would do...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: How do you analyze a query?

    I guess in the 10+ years I've been writing SQL I haven't found that 'awesome' moment with subqueries yet. Like I said I don't completely avoid them, I do...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: How do you analyze a query?

    Thanks for the info, I'll have to look into 'cool' ways I can use this. I know it's just a simple example but I can't see how I would...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: How do you analyze a query?

    It can be very frustrating looking at other peoples code to try and determine what it is doing. What I like to do is make a copy of it...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: SSIS process log

    Here is some code I've used to try and get this info, it helps cut out some of the clutter, but it still doesn't produce one line per 'step' with...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Balloons and Data

    Sorry for using 'work' table when I mean an intermediate table. If I have process A that normally ran at 10 PM and it created a intermediate table work_db.dbo.policy_list,...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Balloons and Data

    My comment is centered around the use of tempdb over 'work' tables. What I mean is that in the very beginning of us using SQL server we wrote almost...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Convert Varchar to Date??

    Your varchar is to small for the data you are putting into it, so it is only taking the first 8 characters and then trying to convert that to a...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: The Desktop

    Scott Arendt (7/15/2013)


    No laptop at work and I don't really want one either. Without one, I am free to go home without carrying a laptop and free to go...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

Viewing 15 posts - 811 through 825 (of 844 total)