Viewing 15 posts - 286 through 300 (of 911 total)
>> When using intervals, you should NEVER use NULL values in the intervals, because it makes it much more complicated to do the calculations. I've replaced your NULL values with...
Please post DDL and follow ANSI/ISO standards when asking for help.
April 30, 2020 at 8:09 pm
There are some standards for naming data elements in RDBMS.. Look at the Metadata Committee, and ISO 11179 standards. The basic principle, however, is that you should name something for...
Please post DDL and follow ANSI/ISO standards when asking for help.
April 30, 2020 at 6:16 pm
I don't want a hierarchical REFERENCES clause (I am not even sure what that would mean) . But by putting the nodes in one table that reference and the nodes...
Please post DDL and follow ANSI/ISO standards when asking for help.
April 29, 2020 at 6:12 pm
>> here is my data. I am trying to get the dates in single row like below. Any help appreciated. <<
The help you need is to actually learn how to...
Please post DDL and follow ANSI/ISO standards when asking for help.
April 28, 2020 at 10:15 pm
I've always felt that it was worth it to pay for a second audit tool that is external to the database. Auditing in the same database mixes both data and...
Please post DDL and follow ANSI/ISO standards when asking for help.
April 27, 2020 at 8:23 pm
>>> have two tables, both the tables have 4 common columns,
First Column: linking_id
Other four columns(Name, Department, City). <<
Please explain how you can have a first column, since tables have no...
Please post DDL and follow ANSI/ISO standards when asking for help.
April 27, 2020 at 8:16 pm
>> I need some help with my query. Want to change numbers to 0 if the row is a duplicate record [sic: rows are not records] based on the uniqueness...
Please post DDL and follow ANSI/ISO standards when asking for help.
April 27, 2020 at 6:38 pm
I'm not quite sure why you need a hierarchy, I'm going to take a guess. One of the many advantages of a nested set model is that you should separate...
Please post DDL and follow ANSI/ISO standards when asking for help.
April 27, 2020 at 5:45 pm
>> Now it is you that is putting words in my mouth. ?? That's not what I said. <<
No I think you misread, this principle is from Brent Ozar. I...
Please post DDL and follow ANSI/ISO standards when asking for help.
April 25, 2020 at 7:36 pm
>> I'll add that it's a good great book (although I've not read the latest one). <<
Unfortunately, there's only been one edition. Oh well, it still sells and I get...
Please post DDL and follow ANSI/ISO standards when asking for help.
April 25, 2020 at 6:36 pm
I've written an entire book on various methods for modeling treason hierarchies and SQL. Get a copy and see which technique is most appropriate for your particular situation.
Please post DDL and follow ANSI/ISO standards when asking for help.
April 25, 2020 at 1:54 pm
>> I have a table with 2 fields [sic] DocumentID and ArrivedDate. <<
You might want to actually read the standards for SQL. A field is a subset of a column,...
Please post DDL and follow ANSI/ISO standards when asking for help.
April 23, 2020 at 7:02 pm
One of my favorite horror stories goes back to the days of green bar paper and mainframes. The Army base printed out a phone directory on green bar paper every...
Please post DDL and follow ANSI/ISO standards when asking for help.
April 23, 2020 at 5:16 pm
Many years ago, Fabian Pascal wrote a book entitled "SQL and Relational Basics", whose title explains its intent and contents. It was published in 1990, and very much shows its...
Please post DDL and follow ANSI/ISO standards when asking for help.
April 13, 2020 at 6:35 pm
>>Joe, if the indexing is setup correctly, wrapping the ENDDATE in a COALESCE() can cause a range scan (at best) instead of a SEEK because it makes that part of...
Please post DDL and follow ANSI/ISO standards when asking for help.
April 13, 2020 at 12:38 am
Viewing 15 posts - 286 through 300 (of 911 total)