471,330 Members | 1,440 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

SqlDBType size

I have a variable of SqlParameter type called parameter.

I need to find out what the original size is to compare it with the actual
size of my string.

parameter.size gives me the size of the string but not the size of the
varchar I originally set.

I also need to know if it was set to MAX. Is there a way to get this?

I looked at all the attributes in the debugger and can't seem to find it.

Thanks,

Tom
Apr 4 '08 #1
0 1074

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Jerome | last post: by
2 posts views Thread by adams114 | last post: by
4 posts views Thread by Dabbler | last post: by
reply views Thread by rosydwin | 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.