Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command (script) file

Status
Not open for further replies.

prg1

Technical User
Feb 24, 2003
2
GB
If i have 6 consultant, A-F,all with mileage allowances for company cars, how can i create a command file to update the mileage allowance by 7.5% for those consultants in A-C?
Grades have the simple entity name of 'Grade'!
 
dunno about no script file, but in sql this would be

update consultanttable
set mileage = mileage * 1.075
where grade in ('A','B','C')


rudy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top