Viewing 15 posts - 931 through 945 (of 2,458 total)
quagmired (3/17/2016)
Jeff Moden (3/17/2016)
quagmired (3/17/2016)
My personal favorite is, given the same accuracy, which ever is the fastest and least resource intensive. That's usually not REGEX as called from SQL...
March 20, 2016 at 5:36 pm
Steve Jones - SSC Editor (3/10/2016)
March 20, 2016 at 4:35 pm
IF OBJECT_ID('tempdb..#yourtable') IS NOT NULL DROP TABLE #yourtable;
CREATE TABLE #yourtable
(
c1 varchar(10) NOT NULL,
c2 varchar(10) NOT NULL,
c3 varchar(10) NOT NULL,
c4...
March 11, 2016 at 9:07 pm
You'll need to add a CHECK Constraint. The code will look like:
ALTER TABLE <yourtable>
ADD CONSTRAINT ck_constraintname
CHECK (column <> '')
March 11, 2016 at 11:01 am
Tell us what you're trying to do and I but someone can come up with a solution which that requires less code and performs much better. All that CASTing and...
March 10, 2016 at 9:04 am
Good article Steve. I think you under sold the power of PATINDEX...
CHARINDEX can start at a certain position in the string while PATINDEX can take wildcards. In this simplistic case,...
March 10, 2016 at 8:54 am
There's advantages to mastering Microsoft and advantages to diversifying your skill set. The great thing is that data is hot so, as long as your skills are growing, your career...
March 9, 2016 at 4:47 pm
mciesiensky (3/8/2016)
Now to convert that to...
March 8, 2016 at 9:19 pm
You can also create an indexed view.
March 8, 2016 at 6:40 pm
Really great work Hugo.
March 8, 2016 at 6:33 pm
bismsit.29 (3/3/2016)
Thank you very much for replying back so early.
Its sort of a business requirement that's why i want to reuse them also this value can hold till 99999...
March 7, 2016 at 2:51 pm
This link should help get you started:
https://msdn.microsoft.com/en-us/library/ms188282.aspx
If you post some ddl and sample data we can demonstrate on that.
March 4, 2016 at 8:46 am
ip7915 (3/4/2016)
The CLR implementation found in the assembly Microsoft.MasterDataServices.DataQuality, can be used in SQL and it is about 300 times faster..
Yep. And if you have DQS setup it's already available...
March 4, 2016 at 8:41 am
Duplicate thread. Direct any esponses to http://www.sqlservercentral.com/Forums/Topic1766578-3412-1.aspx
March 3, 2016 at 5:40 pm
Viewing 15 posts - 931 through 945 (of 2,458 total)