Forum Replies Created

Viewing 15 posts - 3,541 through 3,555 (of 4,820 total)

  • RE: Find list of stored procedure is used by crystal reports.

    patla4u (7/1/2015)


    Only One Server

    Crystal Reports report files have the .RPT file extension, and the data is not readily consumable, so I know of no possible way to programmatically get such...

  • RE: Count of consecutive years of participation (islands and gaps)

    OLSONEJ (7/1/2015)


    The solution presented works to a point. An additional point of criteria, that I was only informed of this morning, is that we only want to count as...

  • RE: Increment date based on the time value automatically

    karthik82.vk (7/1/2015)


    I have a client data which has the candidate id, a start date which will have only the date in varchar format and a time value associated to that...

  • RE: Pivoting question

    sgmunson (6/30/2015)


    Luis Cazares (6/30/2015)


    Steve,

    You can test your code using SQL Fiddle

    Was in progress using that site when 5pm showed up. Will look further at this later tonight...

    Finally got...

  • RE: Pivoting question

    Luis Cazares (6/30/2015)


    Steve,

    You can test your code using SQL Fiddle

    Was in progress using that site when 5pm showed up. Will look further at this later tonight...

  • RE: Pivoting question

    a4apple (6/30/2015)


    @steve-2, your query failed with an error message LAG doesn't have an OVER clause. So I added that with partition between AccountID.

    Next, It actually prints the flag for the...

  • RE: Pivoting question

    a4apple (6/30/2015)


    Luis Cazares (6/30/2015)


    I was exactly going to suggest the @Points table because I had to use a triangular join which might cause problems.

    Using your new Points table, here's a...

  • RE: Query Question -- odd results

    mikes84 (6/30/2015)


    Yes, that is it! I get consistent results when I'm more specific in the ORDER BY clause.

    Thank you!

    Mike

    You're welcome. Glad I could help.

  • RE: Count of consecutive years of participation (islands and gaps)

    OLSONEJ (6/30/2015)


    My apologies, I was not aware of the business rules previously as it had to be decided upon since we are rebuilding something that previously existed. Same reason...

  • RE: how to properly write this syntax? case when statement with dates

    dandenise316 (6/29/2015)


    DROP TABLE mytable;

    CREATE TABLE mytable(

    primary_attribute_value VARCHAR(33) NOT NULL PRIMARY KEY

    , date VARCHAR(27) NOT NULL

    , emails INTEGER(3) NOT NULL

    , emails_delivered INTEGER(3) NOT NULL

    , delivery_rate NUMERIC(6,4) NOT NULL

    , opens...

  • RE: Dynamic Conversion of PIVOT COLUMNS

    ramrajan (6/29/2015)


    Any one can you please respond with solution

    Your query from the ZIP file has a number of DECLARE statements where you do the equivalent of:

    DECLARE @somevariable dbo.sometablename

    That will never...

  • RE: Query Question -- odd results

    mikes84 (6/30/2015)


    Hey guys,

    Thanks so much for the suggestions! I found the exact query that produces different results each time I execute it. I'm still not exactly sure why, but there...

  • RE: Deleting a file from file system. Worked before and now an error, strange.

    Jeffery Williams (6/29/2015)


    Quotes did not work. Bouncing the service did not work. Bouncing the server did not work.

    I am on the 4th floor... I wonder if a bounce out the...

  • RE: Help with a query

    coachmkavanaugh (6/29/2015)


    Hello,

    I work in the world of swimming and use a SQL Server Database to help me work on reporting. I have the following query below.

    select b.last_Name

    , b.first_name

    ,FLOOR(DATEDIFF(day, b.birthdate,...

  • RE: Query Question -- odd results

    mikes84 (6/30/2015)


    Thanks for the suggestion, Gerald.

    I've run it section by section, but without the row count changing intermittently, it's very difficult to pinpoint the exact problem.

    Mike

    And without a posted query...

Viewing 15 posts - 3,541 through 3,555 (of 4,820 total)