Forum Replies Created

Viewing 15 posts - 21,286 through 21,300 (of 26,490 total)

  • RE: Matching the conditions by using T-SQL 2005

    How about you first try to fix the things we have already noted for you in what you originally posted? I pointed you to a logic error that I...

  • RE: Are the posted questions getting worse?

    As it is, I really need to check the forum of question before I post. Really sad when I post a SQL answer in an Access forum.

  • RE: Are the posted questions getting worse?

    john.arnott (4/29/2009)


    Jack Corbett (4/29/2009)


    Lynn Pettis (4/28/2009)


    You know, I can think of some one else that, IMHO, ranks right there with our favorite White House window washer, and here is his...

  • RE: Payroll Query

    Try something like this:

    SELECT DISTINCTROW JKTime.PayrollWeek, JKTime.Mechanic, JKTime.JobID, JKTime.TimeType, Sum(JKTime.Time) AS [Sum Of Time]

    FROM JKTime

    GROUP BY JKTime.PayrollWeek, JKTime.Mechanic, JKTime.JobID, JKTime.TimeType

    HAVING (((JKTime.PayrollWeek)=#1/1/2009#));

    You will need to change the date for PayrollWeek

  • RE: Payroll Query

    Sorry, I didn't realize this was Access when I posted the query. Don't know enough about Access to help at this point. Let me do some research and...

  • RE: GROUP BY and sub-query COUNT

    Give this a try:

    CREATE PROCEDURE ...............

    @LanguageID Int,

    @Type Int,

    @DateStart DateTime,

    @DateEnd DateTime

    AS

    BEGIN

    SET NOCOUNT ON;

    with ClientExitCount(

    ClientUrlID,

    ...

  • RE: Payroll Query

    I think this is what you are looking for:

    declare @PayWeek int;

    set @PayWeek = 1; -- just a value for illustration purposes

    select

    jkt.Mechanic,

    sum(case when...

  • RE: Detect duplicate rows - with a twist

    It's simple why you wouldn't want to do that. First of all the data types VARCHAR(MAX), NVARCHAR(MAX), and VARBINARY(MAX) are blob data types that can hold up to 2...

  • RE: Multiple Cursors in a stored procedure

    I'd like to see a little more, including the DDL for the tables, some sample data for the tables (in a readily consumable format, not like how you posted the...

  • RE: Are the posted questions getting worse?

    Luke L (4/29/2009)


    Entirely too easy get to points for answering the QOTD instead of posting. Plus, there's no guarantee of the quality of any posts, just a number.

    -Luke.

    Which is...

  • RE: Are the posted questions getting worse?

    Gaby Abed (4/29/2009)


    GilaMonster (4/29/2009)


    tosscrosby (4/29/2009)


    Lynn Pettis (4/28/2009)


    You know, I can think of some one else that, IMHO, ranks right there with our favorite White House window washer, and here is...

  • RE: Comparison of Dates in SQL

    Aneesh (4/28/2009)


    Hello,

    Using SQL function in where condition is not a good practice.

    That is dependent on how and where you use the SQL functions in the WHERE clause.

  • RE: Are the posted questions getting worse?

    GSquared (4/28/2009)


    ROTFLMAO. All I could see was the commercial on TV where people started throwing candy bars at the deer!

    I don't watch TV, so I have absolutely no clue what...

  • RE: Are the posted questions getting worse?

    Bruce W Cassidy (4/28/2009)


    [font="Verdana"]This morning I had an idea. After I had had a bit of a sit down to recover from that novel feeling, and to reassure myself...

  • RE: Are the posted questions getting worse?

    Albatross ...

Viewing 15 posts - 21,286 through 21,300 (of 26,490 total)