Viewing 15 posts - 991 through 1,005 (of 2,894 total)
webtekkie (10/30/2012)
October 30, 2012 at 9:01 am
Jeff Moden (10/30/2012)
dwain.c (10/29/2012)
Jeff Moden (10/29/2012)
It's a fun problem but I wouldn't actually help anyone put such a thing into production for the reasons I've already stated.
Sorry about that! ...
October 30, 2012 at 7:21 am
And here is my version:
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[f_JoinToOne]') AND type in (N'FN', N'IF', N'TF', N'FS', N'FT'))
DROP FUNCTION [dbo].[f_JoinToOne]
GO
CREATE...
October 30, 2012 at 7:12 am
Sean Lange (10/29/2012)
Jeff Moden (10/27/2012)
I strongly recommend not using incrementing alpha-numerics for just such...
October 29, 2012 at 2:06 pm
Could you answer the questions I've asked?
What is the maximum size of Value1 and datatype of Value2?
There is only one method to get alpha-numeric sequence into decimal - it's...
October 29, 2012 at 11:25 am
I don't have SSIS available right now to write a statement, but you should be able to derive it from this T-SQL example:
declare @v-2 varchar(1000)
set @v-2 = 'TH*4.2*857463*01**20091015*1045*P**~~IS*7564* PHARMACY~PHA*1234567890~PAT*MA*06*987544****SMITH*JOHN****1234 MAIN...
October 29, 2012 at 11:18 am
Because
FINDSTRING([Column 0],"PAT",1)
returns position of the first occurance of "PAT" in your [Column 0], which is for the given sample string is 71.
and
FINDSTRING([Column 0],"~",1)
returns position of the first...
October 29, 2012 at 11:12 am
Cadavre (10/29/2012)
I think I can see a way to do this. Let me iron some stuff out and I'll get back to you.
Decoding values such as '544DX88DGT' (and let say...
October 29, 2012 at 10:56 am
...
The database can export small sets of hundreads of records, but thousands I get this error. What is the issue.
The issue is reported to you: 'Dave Smith' cannot be...
October 29, 2012 at 5:56 am
Jeff Moden (10/27/2012)
luissantos (10/26/2012)
I will test your script for only for one REF(Article) = '2019023'. this article have only one invoice with one line.
Your script :
UPDATE fi
SET cor...
October 29, 2012 at 5:31 am
Jeff Moden (10/27/2012)
I wonder how many 3 and 4 letter swear words such a proccess will actually spell out...
Actually it depends how you take it, at least some of them...
October 29, 2012 at 5:04 am
luissantos (10/26/2012)
I test the statment with the WHILE from yeshupandit_2002 and i have adding a condition for ref like '2%', i talk about 8323 REF (article) with 315610 records...
October 26, 2012 at 10:18 am
...
EDIT: Now I'm betting on Eugene's EXISTS solution
...
Are you a gambler?
:hehe:
October 26, 2012 at 8:43 am
The Dixie Flatline (10/26/2012)
My money is on Cadavre's solution.
The only thing I would suggest is to include updatable table under FROM clause, to avoid possibility of SQL Server building Cartesian...
October 26, 2012 at 8:30 am
...
they are all really close over 1 million records
...
If you want your CLR with Regex to perform well you need to declare your Regex object as static and use Compile...
October 26, 2012 at 8:08 am
Viewing 15 posts - 991 through 1,005 (of 2,894 total)