Forum Replies Created

Viewing 15 posts - 5,446 through 5,460 (of 15,381 total)

  • RE: Left join

    You likely have not gotten any responses to your question because you didn't post enough information. In order to help we will need a few things:

    1. Sample DDL in the...

  • RE: Cursor taking long time

    Igor Micev (3/14/2014)


    Luis Cazares (3/14/2014)


    Igor Micev (3/14/2014)


    Do you know that cursors' performance is nearly the same to the set-based statements when they are run on up to about 1000 rows.

    Not...

  • RE: Array of Strings to string.

    andrexcobar (3/14/2014)


    Sean Lange (3/14/2014)


    Well you first example was using a parameter. Not sure what you mean by an array of strings. How do you get this into sql?

    You seem to...

  • RE: Array of Strings to string.

    Well you first example was using a parameter. Not sure what you mean by an array of strings. How do you get this into sql?

    You seem to be jumping back...

  • RE: How to add previous row end date as the next row start date?

    JP10 (3/14/2014)


    I have been for past few hours. =) I just added + 1 for speed purposes. Appreciate the help.

    So you want the startdate for the first row...

  • RE: How to add previous row end date as the next row start date?

    JP10 (3/14/2014)


    Ok here is my other issue. Below is the sample data. What if the StartDates and EndDates were not stored in the table and were derived originally...

  • RE: Array of Strings to string.

    andrexcobar (3/14/2014)


    Sean Lange (3/14/2014)


    First of all I want to confirm that you are actually using sql 2000.

    I can't use CTE, TEMP Tables or SPs, I have to resolve this in...

  • RE: Inserting Date Range

    Mark Derryberry (3/14/2014)


    Sorry if this layout is complicated. I'm a little naïve when it comes to posting code into forums.

    Not to worry, we were all first timers at one...

  • RE: Array of Strings to string.

    First of all I want to confirm that you are actually using sql 2000.

    I can't use CTE, TEMP Tables or SPs, I have to resolve this in the SELECT query...

  • RE: How to add previous row end date as the next row start date?

    Thanks for the ddl and sample data. This helps make this a LOT easier.

    The first thing I did was to use a cte to allow me to number the rows....

  • RE: Cursor taking long

    Pritz (3/14/2014)


    Thanks, please consider this one.

    I am newbee on this.

    What I am trying to do is set @rec_num to 0 and then

    Set @Nrec_num = @Nrec_num + 1

    Set @SQLexec =...

  • RE: How to add previous row end date as the next row start date?

    JP10 (3/14/2014)


    Hello,

    Let's say the first row returned has StartDate = 1/1/2014 and EndDate is 1/2/2014. The next row I want the StartDate to equal the previous row EndDate so...

  • RE: Inserting Date Range

    Mark Derryberry (3/14/2014)


    I've run into a brain teaser (at least to me) and I'm hoping for some forum help.

    Simply put, I'm trying to modify a date range, but it's much...

  • RE: TEMPDB on RAM

    Admingod (3/14/2014)


    Configuring SQL to put TEMPDB completely on RAM? .If RAM is dedicate to TempDB will improve performance?

    Thanks

    You can't put tempdb exclusively in ram. The size of tempdb is very...

  • RE: Remove certain words from a string

    Luis Cazares (3/14/2014)


    With out the spaces added to both sides of the words, the string 'the foreign institute of comics' would become 'feign institute comics', just to give an example.

    Ahh...

Viewing 15 posts - 5,446 through 5,460 (of 15,381 total)