Viewing 15 posts - 181 through 195 (of 1,226 total)
A report user would still want to see not only what items sold, but what did not sell all in the same view. So doing a right join (sales events...
November 29, 2021 at 7:26 am
As far as Primary Key (without Clustered Index) is concerned you MAY have it on a GUID or an Identity column (mostly preferred). But if you ask Primary Key...
October 27, 2021 at 2:24 am
I would not advise a GUID as a primary key. They are 16bytes in size last time I checked, have no fixed order, and a int or big int could...
October 24, 2021 at 9:09 pm
One approach you can take is create your own surrogate key for all record and keep the customer key as its own column.
"Policy Number would make a decent clustered index...
October 24, 2021 at 9:02 pm
With OLAP your dimension tables are typically wide and short compared to your fact tables (tall and narrow). Typically we add everything to the dimension if the attribute is a...
October 24, 2021 at 8:55 pm
You can use a case statement along with the functions Grant alludes to determine the column datatypes. I hope you only have to do this once per column / per...
October 24, 2021 at 8:49 pm
Data type disparity on join conditions etc is not really an after thought I've seen over time, its more like a 'no thought.' You bring up an excellent point that...
October 24, 2021 at 3:10 am
Dont forget any secondary replicas if you are using High Availability.
October 23, 2021 at 5:39 am
p.s. Using VARCHAR with no length is one of those code smells that you might want to avoid.
It would default to varchar(30) , but still to wide for a...
October 23, 2021 at 5:36 am
I dread the day that machines will not need to depend on us.
October 23, 2021 at 5:23 am
That comes down to machine learning. Basically showing a computer a bunch of picture of humans' faces. Computer is programmed to recognize the patterns acrosss all those pictures so when...
October 22, 2021 at 5:42 am
THank you for that piece of information. However my comment centered specifially on the post about inserting into multiple tables from one source , and how that can be done...
October 22, 2021 at 5:24 am
I would not fixate on sticking to one set based statement as I would to transactions. Each loop in a cursor can be thought of as a transaction . Where...
October 20, 2021 at 4:26 am
I've approached this type of situation , assuming I am deleting from the target table thouasnds of records that still would not make up a majority of the rows, using...
October 17, 2021 at 5:24 am
I found Erland Sommarskog's articles on SQL Error Handling very helpful. They are very detailed, and very long, but gave me a lot of reassurance that I understood all...
August 9, 2021 at 5:53 pm
Viewing 15 posts - 181 through 195 (of 1,226 total)