SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Search for account by account segment


Search for account by account segment

Author
Message
Hogie503
Hogie503
SSC-Enthusiastic
SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)

Group: General Forum Members
Points: 121 Visits: 81
Hello SQL Experts,
I have a table with account #'s ( Example : 20-200-300-4000)
I am using parameter in my query to search for the all account number or a single account, but they would also like to be able to search by segments ... If possible I would like for when the search text box appears on the screen it would look something like this
__-___-___-____ so the user can use mouse or cursor to move to a particular segment and type in, for instance 200 in the second segment as in the example above and all accounts with 200 in that segment is returned or 4000 in the last segment and all accounts with 4000 in the last segment is returned.

similar search box example.
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAh8AAAAkCAYAAAApf1iWAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAEaLSURBVHhe7Z0JgGRVdf5PV1d1VVfve88+zIagCILJPySCgCwKsgdj1CCicSFBggsxrlFkxyVqTIy4RYQkSMQloBhF0ChGURFBwGH2nt73pXqprvp/v3Prdfc03cwMDYyaOvDm1XvvLueee+453127xMzyuopUpCIVqUhFKlKRnhGKFe5FKlKRilSkIhWpSM8ILTry0dMz7veSPEGmLR+b0EPOLJe0nMX1rjRE5J1+5fRsJdNCMxNKVE+5UsWN6Qthc4qfJbTl8mV+t5LJcJ955nvOYnnCi/JKT0Tu5F9qU7qTF++Vs8LnIn4cQokHPef1XanontT1eGwFb1BpuM0+F6RQonuef0R50ocPfy7wbwm+FMqT038F/vnu4ePKVeXP50Jahe/OayGNQKGcMZL2soc8LZ9QWH6oLIX0goyneak0yZ8fkgd14/Ir8RI76R3x+ZSjPjx9hS3Iu0TyCnmHtPN5nkXk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zIGq/6cCDj3k0vyLm0zxen7zmFmgJCbgtKM7MHFDaG/iI2r/6MMZyCqYK+cvg+0NU84LZPJ3gIyJv5Mp97j0QJjwCH/OtXHieZXru9wA5SAzwsrQmND/fZ5aWAj6QZZB/6L1DM+AjFlp1nAUUyiPrVrZk5vuMvKP8Scd/c+l3VK9zwcf8MPy7oFYV4ooivubSrB7on7ngA5qZlpgfj4wIJ5rDwyz42gtF5ZxHMyM05DejT/jEIL8wUjT7HAHeKJ7zsUja+0JPN/ig5wJF8/VZARAMCMRaBNZyUAa4CBLd8876hoXez97DFBp6EN0Xo4XCoQJLIRauL4Wm1R7m87Wvd2ip/D/ltDddXEDfFrLP+3J/Koi09lXexftTe98XwmZEtgOiE7Nxw1r/va9EzAWzWyr4mE8LFWqhwkcUwkfmbM9v0PzkwvfZBvS7Dj6WxjvyK8itUA7k4Q268BxcB+Au7u8jeeVK5pWbdGacOs8FEBCBj5nnKMzc+IU4MzT77XF/u0RMzOpBXtkuBXzop6c/L4/9pKBjIQ25Z//NWpDwDPgAbAS+CrBXkcI0jPPxWww+MBzR1Et5OQuyw86IrEAIvZrK8iSFWtC5LOW+GM0NB8HDUmhKZXmy9Q/wZ0HlE5Xjie6/T6QieTvY3/tS649ZzH2Vd/H+1N/3RmxowHYwUhrV9VM27VKkIhWpSEUqUpGK9HTQEvFpkYpUpCIVqUhFKtL+URF8FKlIRSpSkYpUpGeUiuCjSEUqUpGKVKQiPaNUBB9FKlKRilSkIhXpGSSz/w8Z4WBdVzunNgAAAABJRU5ErkJggg==

Any help on how to do the SQL search that will return all accounts with the entered segment will be appreciated.

Thanks
Joe Torre
Joe Torre
SSCertifiable
SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)

Group: General Forum Members
Points: 7148 Visits: 1347
The best way to facilitate that would be to store the segments in separate columns.
xDJR1875
xDJR1875
SSC Eights!
SSC Eights! (878 reputation)SSC Eights! (878 reputation)SSC Eights! (878 reputation)SSC Eights! (878 reputation)SSC Eights! (878 reputation)SSC Eights! (878 reputation)SSC Eights! (878 reputation)SSC Eights! (878 reputation)

Group: General Forum Members
Points: 878 Visits: 107
I agree with Joe on the best approach, but if you have no control over the table you will need to use the substring, left and right functions of sql to process your searches.

if searching the 1st segment you can use the following
WHERE LEFT(ACCTNO, 2) = @searchValue
--or
WHERE SUBSTRING(ACCTNO,1,2) = @searchValue


2nd Segment use SUBSTRING
WHERE SUBSTRING(ACCTNO,4,3) = @searchValue

etc
The last segment you can use substring or RIGHT
WHERE SUBSTRING(ACCTNO,12,4) = @searchValue
--or
WHERE RIGHT(ACCTNO, 4) = @searchValue

Joe Torre
Joe Torre
SSCertifiable
SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)

Group: General Forum Members
Points: 7148 Visits: 1347
Another option would be to create persisted indexed computed columns for each segment. However load test before deploying to production for crud operation performance degradation due to index overhead. Be certain to allow for addition storage overhead for the indexes and remember to alter any stored procedures accessing the table with the required set parameters, the same required for an indexed view.

Hogie503
Hogie503
SSC-Enthusiastic
SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)

Group: General Forum Members
Points: 121 Visits: 81
Thank you all for your response... I really appreciate you expertise.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search