OK.. This is not really C++, but... I'm using the answer to help me develop a C++ program (<G>)...

I'm using iSQL and am having difficulty executing a stored procedure with parameters. Some parameters have spaces (like time/date fields)..

I thought you did it like this:
sp <param 1> <param 2> <param 3>
go

StoredProcedure TestData 06/05/2002 07:00 PM MoreTestData
go

I've tried putting the dates in single quotes, double quotes, pound signs, brackets, etc.... It doesn't like anything I use to enclose the date.

Any ideas?