Viewing 15 posts - 106 through 120 (of 911 total)
>> Suppose I have TABLE Customers and TABLE Orders. The relationship is that 1 customer can have many or no orders. <<
The conventional SQL forms for over 30 years has...
August 6, 2021 at 4:34 pm
>> I'm trying to get a list of ID's that have a total sum of their amount column = to zero... But I'm getting a lot of negative numbers, but...
August 6, 2021 at 3:49 pm
CREATE TABLE Samples
(sample_id CHAR(3) NOT NULL PRIMARY KEY.
DEFAULT 0,
col_1 INTEGER NOT NULL
DEFAULT 0,
col_2 INTEGER NOT NULL
DEFAULT (0));
INSERT INTO Samples (sample_id, col_1, col_2)
col_value ('AAA', 0, 0), ('BBB', 0, 0), ('CCC', 0,...
August 6, 2021 at 3:36 pm
This thread is giving me flashbacks to the days when I wrote columns on structured programming in the trade press. That was decades ago! In particular, there was the Bohm-Jacopini...
July 19, 2021 at 7:18 pm
If you want us to help you with your code, you probably ought to show it to us. Just offhand, my guess would be that something is wrong with your...
July 19, 2021 at 4:10 pm
A go to statement can jump into the middle of a begin – end block. This means that all of those local variables have to be allocated beginning of the...
July 19, 2021 at 2:39 pm
>> I've been working a little bit with a few tables here, they've got "CreatedDate" as clustered Index and and Id (UniqueIdentifier) as Primary Key. The Id's are generated from...
June 30, 2021 at 2:15 pm
>> I did NOT have any involvement with the creation of the DB's design. .. do NOT have any access to modify the design <<
There is an old poem:
" I...
June 25, 2021 at 9:33 pm
After all these decades. I don't remember why the inmate number was that long. I believe we display the first nine digits because that matches the Social Security number. The...
June 25, 2021 at 8:49 pm
For over 35 years, SQL forums have asked posters to provide DDL, sample data and their first honest attempt at a solution on their own.
I had a little something extra...
June 25, 2021 at 8:19 pm
Jeff, have you noticed that most credit cards are 16 digits broken into groups of four? American Express or Diners Club or older credit card systems uses a little bit...
June 25, 2021 at 7:58 pm
>> I have a query that produce a table where I have a list of columns. Then I choose check what columns are on the table excluding the column from...
June 24, 2021 at 9:54 pm
This is correct You got so much wrong in your design. I'm trying to figure out where to start. Your column declarations make no sense; a variable length. 30 characters...
June 24, 2021 at 8:50 pm
>> I need a way to find all of the related records sic in a set of relationships given any record_id sic in the set. The nature of the relationships...
June 11, 2021 at 8:44 pm
In the future, would you mind following forum rules of been in place for over 30 years and post DDL? It would also help if you would read just one...
June 1, 2021 at 4:06 pm
Viewing 15 posts - 106 through 120 (of 911 total)