Click here to Skip to main content
15,912,977 members
Home / Discussions / Database
   

Database

 
GeneralRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
AJ Hoge5-Dec-09 21:10
AJ Hoge5-Dec-09 21:10 
AnswerRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
Blue_Boy5-Dec-09 8:35
Blue_Boy5-Dec-09 8:35 
GeneralRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
AJ Hoge5-Dec-09 21:31
AJ Hoge5-Dec-09 21:31 
GeneralRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
Blue_Boy6-Dec-09 0:41
Blue_Boy6-Dec-09 0:41 
QuestionSQLite3 program getting name of table Pin
bbranded4-Dec-09 8:00
bbranded4-Dec-09 8:00 
AnswerRe: SQLite3 program getting name of table Pin
loyal ginger4-Dec-09 10:55
loyal ginger4-Dec-09 10:55 
GeneralRe: SQLite3 program getting name of table Pin
bbranded7-Dec-09 4:35
bbranded7-Dec-09 4:35 
QuestionT-SQL Code to parse and address [modified] Pin
korrowna4-Dec-09 3:48
korrowna4-Dec-09 3:48 
Hello,

I have an issue with addresses that I need to parse into streetNum, Direction (if it is there), sreetName.

The data can look as such:
1234 McKean Street -- Needs to look like StreetNum: 1234, Direction: , StreetName: McKean
1234 Mc Kean Street -- Needs to look like StreetNum: 1234, Direction: , StreetName: Mc Kean
1234 E McKean Street -- Needs to look like StreetNum: 1234, Direction: E, StreetName: McKean
1234 E Mc Kean Street -- Needs to look like StreetNum: 1234, Direction: E, StreetName: Mc Kean
(edit I went ahead and made the 526 addresses that include 1/2 to be have an underscore so since there is no space anymore it is easy to query)

As far as I can tell those are all the options. There are approximately 600,000 records so it really has to be automated. There can be A LOT of changes in this data as the city may update a large portion of it at any time so I need to be able to do this on a monthly basis.

One thing to note I am trying to do this so I can compare this data to another table of 70,000 records to automate a search that I would normally do using a "like" query in Access but I streamlined that data as it was only 70k records with a turnover of about 50 a month so that is easy enough and now I need to streamline this data so I can compare the two tables.

That data is in this format:
streetNumber 1324, 1324-28, 1324-1/2
direction N,S,E,W
streetName McKean (I went through by hand and took all the spaces out)

I post this information just in case it is easier to do this another way even though it would be really nice to have that data parsed but because of it being different and the only delimiter being a space makes it difficult to parse.

Any help would be much appreciated.

Thank you,

George

modified on Friday, December 4, 2009 10:27 AM

AnswerRe: T-SQL Code to parse and address Pin
Niladri_Biswas6-Dec-09 17:47
Niladri_Biswas6-Dec-09 17:47 
QuestionCursor issue Pin
AndyInUK3-Dec-09 23:28
AndyInUK3-Dec-09 23:28 
AnswerRe: Cursor issue Pin
Ashfield4-Dec-09 1:20
Ashfield4-Dec-09 1:20 
GeneralRe: Cursor issue Pin
AndyInUK4-Dec-09 1:28
AndyInUK4-Dec-09 1:28 
GeneralRe: Cursor issue Pin
Ashfield4-Dec-09 2:16
Ashfield4-Dec-09 2:16 
AnswerRe: Cursor issue Pin
Bassam Saoud4-Dec-09 10:41
Bassam Saoud4-Dec-09 10:41 
GeneralRe: Cursor issue Pin
Shameel4-Dec-09 23:42
professionalShameel4-Dec-09 23:42 
AnswerRe: Cursor issue Pin
RyanEK6-Dec-09 13:18
RyanEK6-Dec-09 13:18 
AnswerRe: Cursor issue [modified] Pin
Niladri_Biswas7-Dec-09 21:59
Niladri_Biswas7-Dec-09 21:59 
QuestionPerformance tip on multiple selects to retrieve alot of BLOBS? Pin
Thomas ST3-Dec-09 22:28
Thomas ST3-Dec-09 22:28 
AnswerRe: Performance tip on multiple selects to retrieve alot of BLOBS? Pin
Ashfield4-Dec-09 1:27
Ashfield4-Dec-09 1:27 
AnswerRe: Performance tip on multiple selects to retrieve alot of BLOBS? Pin
Bassam Saoud4-Dec-09 10:44
Bassam Saoud4-Dec-09 10:44 
QuestionAdding an Identity Later T-SQL Pin
Vimalsoft(Pty) Ltd3-Dec-09 21:17
professionalVimalsoft(Pty) Ltd3-Dec-09 21:17 
AnswerRe: Adding an Identity Later T-SQL Pin
Mycroft Holmes3-Dec-09 22:11
professionalMycroft Holmes3-Dec-09 22:11 
GeneralRe: Adding an Identity Later T-SQL Pin
Vimalsoft(Pty) Ltd4-Dec-09 0:49
professionalVimalsoft(Pty) Ltd4-Dec-09 0:49 
QuestionGeneral question on DB normalization Pin
Dewald3-Dec-09 20:59
Dewald3-Dec-09 20:59 
AnswerRe: General question on DB normalization Pin
Mycroft Holmes3-Dec-09 22:17
professionalMycroft Holmes3-Dec-09 22:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.