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 |
|
ramum10
Starting Member
1 Post |
Posted - 2009-03-04 : 01:58:33
|
| select RefUploader.dbo.WhichTimeClass('vly233',a.CallDate) from LYC_RES.month02.dbo.Fngn_xcds a,RefUploader..r_prefix_intest b where a.trunkout=b.prefixcode and b.tgroup ='vly233'the input Vly233 is in RefUploader..r_prefix_intestwhen we do eui join a.trunkout=b.prefixcode then only we will get Vly233(tggroup is column name in RefUploader..r_prefix_intest) |
|
|
RickD
Slow But Sure Yak Herding Master
3608 Posts |
Posted - 2009-03-04 : 06:00:25
|
| And what is your question? |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-03-04 : 08:54:47
|
if its a scalar function, you can use like thisselect RefUploader.dbo.WhichTimeClass(b.tggroup,a.CallDate) from LYC_RES.month02.dbo.Fngn_xcds a,RefUploader..r_prefix_intest b where a.trunkout=b.prefixcode |
 |
|
|
|
|
|