Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
m2diwa@gmail.com
Starting Member
3 Posts |
Posted - 2006-03-24 : 03:57:50
|
| hai all,This is my first question to this forum.here is my situtation:I am into report testing I need to test a report for which i have write a query,iam using qery analyser for runing queryDatabase : sql servertabel name :job_allocationscolumn naME :technicain codeBased on techincain code in joballocation tablei need to get technician cost from other table for the particular technician.Based on the technician code user chooses column will be updated if single data will be TC01if more than one then data will be TC01:TC02:TC03user can choose any number of techincian for a jobMY problem is :How to split tha when there is multiple technician and calculate cost for the jobIneed it in single excecution queryTable structurejob_allocation tablejobcardn_fk Technician_codejc01 TC01jc02 Tco1:Tco2:Tc03......I need it injobcardno_fk TEchnician_codejco1 Tc01jco2 Tc01jco2 TC02jc02 Tc03 TKs ands RegardsDiwakar.R |
|
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
|
|
|