Hi,
I wanted to know, if I write a VB Public Function,
say "Public Function GETNUMBERS(street as string) as string", the function will get the numbers from a street address. I built this function already, but what I want to know is - can I APPLY this function within a SELECT statement in VB, applying it directly to a SQL Server table? I do this in Access and apply the function diretly to access tables, e.g.:
"SELECT getnumbers(a.street) as streetnums FROM tbl_vendors"
Or -- do I have to go the more laborious route of making all of my VB functions into SQL Server STored Procedures?
Thanks!
Christy.
I wanted to know, if I write a VB Public Function,
say "Public Function GETNUMBERS(street as string) as string", the function will get the numbers from a street address. I built this function already, but what I want to know is - can I APPLY this function within a SELECT statement in VB, applying it directly to a SQL Server table? I do this in Access and apply the function diretly to access tables, e.g.:
"SELECT getnumbers(a.street) as streetnums FROM tbl_vendors"
Or -- do I have to go the more laborious route of making all of my VB functions into SQL Server STored Procedures?
Thanks!
Christy.