Viewing 15 posts - 11,161 through 11,175 (of 13,872 total)
And here is a soundex example.
;with tempData as
(select 'star' Company union select 'stir' union select 'My Fab Company')
select company from tempData
where soundex(company) like soundex('str')
September 6, 2011 at 3:01 am
engrshafiq4 (9/6/2011)
how i can do these steps in stored proceedure
1)load all...
September 6, 2011 at 2:48 am
The code sample provided by ColdCoffee works fine except that it also assumed you would want to update strDomainName. So just exclude that part of the update and you're done:
UPDATE...
September 1, 2011 at 2:05 am
Perhaps the lack of response is the result of a lack of question.
August 30, 2011 at 1:32 am
harry.sh16 (8/29/2011)
August 30, 2011 at 1:31 am
So which bit is giving you problems? Are you able to import the file using a fixed-width flat-file connection manager? Or perhaps it is the breaking down of the data...
August 30, 2011 at 1:25 am
Pulivarthi Sasidhar (8/29/2011)
The CSV file is fixed length with no delimeter, contains rows.
ex:- single row contains
1asdusa1Comp2Elctr3Mech1Engg2Degre
sno,sname,scity,cno,cname,cno,cname,cno,cname,cno,cname,dno,dname,dno,dname,dno,dname
1,asd,usa,1,Comp,2,Elctr,3,Mech,4,Fina,1,Engg,2,Degre
Single row Contains- 3 datasets.
Student (sno,sname) -1 row
Class(cno,cname)- 4 rows
Department(dno,dname)-2 rows
How can i split...
August 29, 2011 at 10:38 am
akl (8/26/2011)
August 26, 2011 at 9:41 am
I assume you've decided against using BACKUP/RESTORE for some reason? That would be the simplest.
August 26, 2011 at 9:12 am
drew.allen (8/26/2011)
WITH Test(TestField) AS (
SELECT 'aaa'
UNION
SELECT 'abc'
UNION
SELECT 'bbb'
UNION
SELECT 'bcd'
UNION
SELECT 'ccc'
UNION
SELECT 'cccccc'
UNION
SELECT 'cccccccccccccccccccccccc'
)
SELECT *
FROM Test
WHERE NOT TestField LIKE '%[^' + Left(TestField,1) + ']%'
It...
August 26, 2011 at 9:02 am
peanuts91 (8/26/2011)
but actually I need to check if all characters in my string are the same without to know the length of my string.
Tell me if I'm not clear...
August 26, 2011 at 8:24 am
peanuts91 (8/26/2011)
In order to clean up some tables in my database I would like to find all records like 'aaaaaaaa' or 'bbbb' or 'ccccc'....'zzzzz'.
Is there any functions existing to...
August 26, 2011 at 8:09 am
John Mitchell-245523 (8/26/2011)
I don't know of any way to change the order in which the derived columns are displayed. However, I can't think of any reason why it would...
August 26, 2011 at 3:05 am
Are you really intending to put millions of rows into a spreadsheet?
May I ask what the business driver is? - there might be a better alternative.
August 25, 2011 at 1:52 am
Amar009 (8/24/2011)
You should check this post.
...and you should check the date of the original posts 🙂
August 24, 2011 at 7:40 am
Viewing 15 posts - 11,161 through 11,175 (of 13,872 total)