G
Guest
I have an SQL query:
ALTER TABLE [Check Import Table] ADD [Invoice Number] char, [Updated By] char
It does exactly what I want, except that it automatically fills the field
with 255 spaces. When I try running queries on these fields, I get no
results. I can't set a specific field size, because there are many different
lengths of strings being updated in those fields. How do I either turn off
the padding, or clear out the ending spaces on these fields without going
through a ton of code or queries? I know there has to be something I'm
missing. Thanks!
ALTER TABLE [Check Import Table] ADD [Invoice Number] char, [Updated By] char
It does exactly what I want, except that it automatically fills the field
with 255 spaces. When I try running queries on these fields, I get no
results. I can't set a specific field size, because there are many different
lengths of strings being updated in those fields. How do I either turn off
the padding, or clear out the ending spaces on these fields without going
through a ton of code or queries? I know there has to be something I'm
missing. Thanks!