Forum Replies Created

Viewing 15 posts - 196 through 210 (of 911 total)

  • Reply To: The default ORDER BY

    I'm just hoping that Microsoft will get around to implementing the ANSI/ISO standard null first or last subclause that goes after the sorting direction. Since it applies column by column,...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • Reply To: Ordering with NULL

    The case expression returns a value of a particular data type. In your example, you're sorting on a numeric, without regard to what the original column was. This would seem...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • Reply To: Ordering with NULL

    The ANSI/ISO standards specify an extra clause that goes after the order of the sort (ASC | DESC) which will let you decide the order of the nulls within that...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • Reply To: Dynamic column names in XML

    You missed one of the most fundamental, concept of RDBMS. A column models a particular attribute inside of the declaration of a particular set of entities. They do not magically...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • Reply To: Get Particular Date from a Month

    There is another calendar format is used in the Scandinavian countries and has an ISO standard. It looks like "yyyyW[0-9][0-9]-[1-7]" the W is a number between 01 and 52 or...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • Reply To: Bad career advice from a 14 year old

    I remember the safety rules about always hiring C programmers and UNIX systems guys in pairs. Force them to work as a team. That way if one died or quit,...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • Reply To: Practice SQL querying with dates and aggregations

    >> would hate having to be the DBA going to a place that Celko had designed / created. What a nightmare of missing leading zeros or added leading zeros that...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • Reply To: Practice SQL querying with dates and aggregations

    >> Completed script.<<

    Why not start with learning how to write DDL? I've always felt that 80 to 90% of the work in SQL is in declaring your data properly and...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • Reply To: Bad career advice from a 14 year old

    We used to have people who did what was called job secure programming. The code they produced was virtually impossible to read. My favorite, when I worked in the state...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • Reply To: How do you convert a timestamp into a date

    >> For some reason, you insist that COBOL controls everything. <<

    Not controls, but influences it. Strongly. Are you still using the Latin alphabet?

    >> I don't remember Dr. Codd ever mentioning...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • Reply To: Find MAX value from another table

    Just some remarks about the way you write SQL. The use of the affix "tbl" is a design flaw called a tibble. It violates the rule about mixing data and...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • Reply To: Using hierarchyID

    Every chart of accounts I have ever seen uses a hierarchical encoding scheme. I'm going to assume you've been to all library and seen the Dewey Decimal Classification codes for...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • Reply To: IF IF IF versus IF Condition 1 and condition 2 and condition X

    >> Actually most people had separate keypunch operators, it was very rare for a developer to punch his own cards: he/she would be too slow at it and thus use...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • Reply To: How do you convert a timestamp into a date

    Everything we do today is affected by punchcards, and then by COBOL. Look at how 00 programming still assumes a procedural model.

    Are you surprised that all animals have DNA? Axle...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

  • Reply To: Table Alerts

    This does not sound right to me. Usually, renewal/expiry systems like this require a complete date, not down to the microsecond. But that's not what you described. This is just...

    Please post DDL and follow ANSI/ISO standards when asking for help. 

Viewing 15 posts - 196 through 210 (of 911 total)