The UNIX and Linux Forums  
Hello and Welcome from to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
validating 10. IP address any way possible nrodolfich Shell Programming and Scripting 1 02-28-2006 03:58 PM
Validating date in sas radhika03 Shell Programming and Scripting 1 09-16-2005 06:33 AM
Validating $1 and $2 before using nhatch Shell Programming and Scripting 6 09-17-2003 02:01 PM
validating userid giannicello UNIX for Dummies Questions & Answers 2 05-07-2003 05:13 PM
validating dates MizzGail Shell Programming and Scripting 2 03-05-2002 04:34 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 10-08-2006
joanneho joanneho is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 3
validating data

I have a file like the following

aaaaa00005bbbbb
aaaaa00108bbbbb

The code "00005" and "00108" need to be validated and the list of valid codes are stored in a database.

While I loop through the file, should call a sql statement for every records to do the validation? or is there a better way to do it?

Thanks in advance.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:24 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0