Viewing 15 posts - 181 through 195 (of 911 total)
>> I remember learning Algol during a teacher strike while I was in High School back when dinosaurs still roamed the land. I actually liked the language. <<
I learned Fortran...
December 29, 2020 at 5:26 pm
A little bit of history here. The ANSI/ISO Standards committee decided that the grammar for SQL would be LALR(1). One of the committee members had access to a really good...
December 28, 2020 at 3:40 pm
You might want to look up how the old Sybase money data types work. They round too soon and give the wrong answers. Google it. This is why competent SQL...
December 24, 2020 at 2:00 am
You don't seem to know that a table must have a key to be valid. This is usually covered the first week of any RDBMS class. What you posted is...
December 22, 2020 at 10:08 pm
Look up the order in which the clauses in a select statement are executed in SQL. The actual SELECT list is the last one performed, so your alias doesn't exist...
December 20, 2020 at 11:46 pm
The first thing we need to do is correct your DDL. By definition, a table must have a key; this is not an option! Since all of your columns are...
December 17, 2020 at 9:54 pm
>> I have a table like this. <<
Where is the DDL? For over 30 years, netiquette has been to post DDL on SQL forms. Now we have to take all...
December 16, 2020 at 7:00 pm
>> Have I confused the question even more? <<
Yes. Did you read the part about posting DDL in these SQL forms? You really need a bASic course in data modeling;...
December 14, 2020 at 6:57 pm
>> How do I exclude the "Appointments" that are not adjacent to a "Discharge"? <<
Your problem is the true data model is wrong. An appointment is made up of two...
December 14, 2020 at 4:42 pm
I personally hate variable length codes. They make for messy screen displays and even worse printouts. However, you can pad the unused levels in the encoding with zeros or even...
December 13, 2020 at 8:55 pm
>> I have a set of 7 INTEGER columns in a table. My goal is I'm trying to create a unique key/integer <<
Why? While very unusual, and something I've never...
December 13, 2020 at 8:51 pm
Will this regular expression validate (in part) your encoding scheme?
Foobar LIKE '[a-z][ 0-9][ 0-9][ a-z][ a-z][ 0-9][ 0-9]'
December 13, 2020 at 4:42 pm
When I was on the ANSI X3 H2 standards committee, we introduced the idea of single quotes for character strings in the SQL language. I personally think this was a...
December 11, 2020 at 5:25 pm
>> I have a table containing a set of records [sic] which has a field [sic] called seasonal_address_id. This is not always populated. <<
You get a chance, please read the...
December 10, 2020 at 2:39 am
Viewing 15 posts - 181 through 195 (of 911 total)