Viewing 15 posts - 241 through 255 (of 911 total)
My guess would be that a document number should be an identifier. Identifiers are always measured on a nominal scale. Therefore, you document number should have been a string of...
September 25, 2020 at 12:55 pm
>> Obviously I agree with that principle, as a general rule. Would you say I am way off beam when using temp tables for actually doing the tidy up of...
September 24, 2020 at 7:10 pm
>> Would that work with a row goal? Are you suggesting to use a CTE pattern instead of itvf? The purpose is to make it simple to use a tally...
September 23, 2020 at 7:03 pm
Any time I've needed to populate a table of sequential numbers, I just done it by brute force. No recursion or fancy stuff. Remember the definition of place valued numbers?...
September 22, 2020 at 7:16 pm
I've always defined "big data" as having two important characteristics. Volume and velocity. Volume is sort of obvious; the sheer volume of data is more than we've had in the...
September 11, 2020 at 7:55 pm
>> Trying to CREATETrigger on View to insert the records [sic] in other table like below. <<
Your whole approach this problem is wrong. By definition, not by option, a table...
August 25, 2020 at 6:20 pm
>> need to run a stored procedure that will UPDATE all records [sic] DATE field [sic] (meeting_date) to the following week.<<
In SQL, a field refers to a meaningful subset of...
August 21, 2020 at 9:16 pm
CREATE TABLE Foobar
(rin CHAR(10) NOT NULL
CHECK(rin LIKE '[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'),
provider_name VARCHAR(255) NOT NULL,
license_nbr NVARCHAR(50) NOT NULL,
pickup_timestamp DATETIME2(0) NOT NULL,
dropoff_timestamp DATETIME2(0) NOT NULL,
modifier_code NVARCHAR(519) NOT NULL,
calulated_fare_amt DECIMAL(10,2) NOT NULL,
PRIMARY KEY (rin, ??));
INSERT INTO...
August 18, 2020 at 5:16 pm
A simple table read to a computed column, versus a cross apply with multiple tables should not be cheaper or equal to each other. I'm not sure if they would...
August 3, 2020 at 8:43 pm
Discount rates don't usually change that much. They are usually mandated by law or company policy. The most dynamic data element in this table is going to be the prices!...
August 3, 2020 at 4:16 pm
I have a data as below.
Why did you fail to post any DDL? But more than that, why do you think that SQL and the relational model use any kind...
July 31, 2020 at 7:06 pm
The description my body. A something>> I've a little problem with a SQL View ... <<
No, your actual problem is with the DDL. You don't know how relational databases work...
July 27, 2020 at 5:24 pm
>> I have a table called TableA, the record [sic] in TableA already in order sequence as below: <<
NO! Rows are nothing like a records. By definition, a table has...
July 15, 2020 at 9:07 pm
>> relatively new to SQL development so hoping this isnt a silly question but here goes... <<
No, it's not silly, but it is based on a lack of experience and...
July 15, 2020 at 8:43 pm
I did a problem like this a few decades ago for emergency services. We had to include driving time and consider the time of day. There is also the problem...
July 14, 2020 at 5:39 pm
Viewing 15 posts - 241 through 255 (of 911 total)