Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)

  • RE: help with stored procedure

    Thanks for all the help!!

    I found the problem was that it wanted me explicitly to cast everything to a varchar. I hadn't been because everything I had read told...

  • RE: help with stored procedure

    I think the main diffrence is that my values are being passed into a stored procedure instead of being declared. That wouldn't cause my errors.

    I just got off lunch...

  • RE: help with stored procedure

    I think I've made some progress.

    Here's a sample.

    set @cmd= 'INSERT INTO '+@myTable+' (ID, Date, Name) VALUES ( '+cast(@ID as varchar)+','''+convert(Varchar, @Date)+''','''+@Name+''')'

    I'm using the same format of quotes for...

  • RE: help with stored procedure

    I've changed the exec string to the format in the previous post.

    I am now getting the error: Syntax error converting the varchar value ' ',' ' to column...

  • RE: help with stored procedure

    I have tried that, without success. It will also be passed in with the @name and other paramaters, so redefining it shouldn't be nessicary. I am pretty sure...

Viewing 5 posts - 1 through 5 (of 5 total)