471,310 Members | 1,057 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,310 software developers and data experts.

function parameters

hey all,
i call out to a sql function to bind a couple of fields in my GridViewRow
and i'm using the same function just passing in different parms.

for example,
select dbo.getempinfo(int empid, int infotype)

i'm doing this because in the original function along the way it gets
another important calculated field i need somewhere else but its very closely

is it ok to do something like this?
should i have made the parms clearer?
or should i just have made them 2 different functions?

Jun 27 '08 #1
0 725

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Derek Hart | last post: by
9 posts views Thread by Derek Hart | last post: by
4 posts views Thread by Tony Lownds | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.