Forum Replies Created

Viewing 15 posts - 2,056 through 2,070 (of 2,469 total)

  • RE: Storing partial birth date

    Phew!!!! For some time I thought my responses were visible only to me and no one else...okay - so long as we're all talking the same language I'm fine...I only...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Storing partial birth date

    okay - I'm going to ask for one LAST time and then forever hold my peace....

    if the data is ALWAYS going to be full DOB or Year (as poster indicated)...what...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Updates

    The best way to do this is to have a copy of the client's database that you can work with - you then run all the scripts, updates etc. testing...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: COMPUTE BY

    Also, here's something else to "chew on" from BOL....

    "COMPUTE and COMPUTE BY are supported for backward compatibility. The ROLLUP operator is preferred over either COMPUTE or COMPUTE BY. The summary...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: COMPUTE BY

    you have to have an aggregate function on the column that you are selecting (max, min, avg etc...) when you do a "group by"....in other words, the selected column should...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Storing partial birth date

    If it's ONLY the full DOB OR just the year, what's the argument against storing the YEAR ONLY value as a '01/01/yyyy' and using the flag indicator to specify that...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: convert varchar to float

    I can't test this out right now but I was wondering if it would not be better to convert it to money datatype instead of float - after all, we...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: convert varchar to float

    Hans - for the extra cents that you threw in, maybe Ann should go with checking ascii values....

    SELECT @myNum = CASE WHEN ISNUMERIC(@myCol) = 1 AND ASCII(@myCol) >= 48 AND...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: periods of dates

    ...except that the # of available days is 4 and not 3 as poster says...so maybe I don't understand either ?!







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: periods of dates

    I think the first query is something like:

    select * from periods

    where fromdate >= '2005-07-01' and until = 1) -

    (select (DATEDIFF(d, '2005-07-07', until) + 1) from periods

    where until > '2005-07-07' and...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Storing partial birth date

    Remi - this may not be "wrong" data necessarily - it could be DOB or year of birth!

    Since you already have a date field you could use it to store...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Simulation Testing

    Yeah! Dawn of a new era ??? This could only be the beginning of everything as it should be about certifications and testing skills!

    Wonder if scc.com had (at the very...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Unicode -VS- Non-Unicode

    Here's something from one of my favourite SQL books from the chapter on database design...Robert Vieira ("SQL Server 2000 Programming") - (Normalization & other basic design issues):

    "Choose what you need,...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: conversions to proper case

    There are any number of ways to do this but you would basically be using LOWER() for the field in all but the first character - and if you have...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Can Wives Shorten Work Hours?

    The response to this from Canadian GPF^... is going to be interesting because I have it on good authority that with this country the choices are so many that even...







    **ASCII stupid question, get a stupid ANSI !!!**

Viewing 15 posts - 2,056 through 2,070 (of 2,469 total)