Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert-SQL pads fields with spaces...
Message
From
19/01/1999 10:39:12
 
 
To
19/01/1999 10:28:40
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00177560
Message ID:
00177588
Views:
35
>>Not quite it. I want to pad with nothing. It seems that the other guy (working in powerbuilder and sybase's SQL anywhere) is kinda working with SET ANSI ON -- that is to say, "CERT " # "CERT" so I need to only write the first four characters... I think its an ODBC setting or something, at least I hope there is something like that.

>You may call stored prosedure which will use SUBSTRING function (I guess Sybase and SQL-Server both use identical functions) to force left characters only, though I have no idea how Sybase actually stores data.
Edward Pikman

You mean create the stored procedure in SYBASE? Ouch... Would I have to do that for every field? I was hoping there was a way to tell foxpro not to pad with spaces with INSERT-SQL... That way, it would take care of all the fields, including name, address, etc.
--Todd Sherman
-Wake Up! Smell the Coffee!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform