Viewing 15 posts - 1 through 15 (of 423 total)
This adds a parameter to the function for the string length to compare. I get the feeling though that ngrams of length 2 are probably the most "intelligent". Please let...
July 17, 2019 at 3:20 pm
Depending on your situation the length of the search string vs. the length of the target string may be important so you should implement scoring for closer length matches. Your...
May 17, 2019 at 1:48 pm
From the graphs I see high CPU, low PageLifeExpectancy, and high Compilations. All these happen when doing a table Rebuild or REINDEX or Auto Update Statistics.
I would do...
December 27, 2017 at 6:15 am
I've got a dozen scripts and functions to generate CRUDs and Change Scripts that I've been perfecting for 10 years and just rewrote them to be even cleaner and more...
December 26, 2017 at 8:54 am
I read five database design books last year. They all firmly said to use singular nouns as table names.
December 8, 2017 at 11:23 am
Calendar tables are extremely useful for manufacturing companies and also for accounting departments that have their own tax calendar that could be added into this Julian calendar for easy cross...
December 1, 2017 at 12:35 pm
It is pretty simple to see that sequential IDs are predictable.
DECLARE @t table (nsid uniqueidentifier not NULL DEFAULT newsequentialid(), name varchar(20) NOT null)
INSERT into @t...
November 28, 2017 at 12:57 pm
I forgot to mention the most important point of all, a point that I've been seeing in many systems books over and over again the past few years...
Do...
November 22, 2017 at 11:04 am
Primary keys should be non-human readable like a guid...at least in pure theory. I love them. Never use a natural key like an SSN because your life will become miserable;...
November 22, 2017 at 9:14 am
If you want to store data in a vendor's database, do it. My recommendation would be to create your own schema in their database and put all your objects in...
November 21, 2017 at 2:39 pm
I get the list of domain groups for a domain user by opening a cmd window and executing:
net user /domain theirname
Also, I generally create a Startup database...
November 15, 2017 at 7:44 am
Error slightly on the short side. It is safer to loosen rather than tighten constraints in the future - and length is a constraint. Screen and report layout widths are...
November 8, 2017 at 9:04 am
I've had problems finding where space was used and having it add up to the full amounts plenty of times. If you are using ServiceBroker and people aren't ending their...
October 30, 2017 at 2:14 pm
Usually, a second instance (not the default) can be set to get a dynamic port at restart or can be forced to use a static port. SQL Browser will "publish"...
September 22, 2017 at 6:01 am
Yes, my post about "significant digits to the left" should not be confused with the non-intuitive way we have to define Decimal(Precision,Scale). Had Microsoft chosen to implement it as Decimal(Left,...
August 31, 2017 at 1:38 pm
Viewing 15 posts - 1 through 15 (of 423 total)