Re: Calls to SQl from Foxpro
Posted by: Badita Alexandru Stefan
Date: February 21, 2009 03:11PM

But can I make in MySql something like this:

Set @aaa = 1;
Set @DynamicColumnName = Concat('Day',1);

Insert Into MyTable (@DynamicColumnName) Values (@aaa)

It is giving me an error

Basically all I want to be able to do is to make a dynamic column headder that I know it corresponds to one of my columns and update that column with some value. Can this be done in MySql ?

Options: ReplyQuote


Subject
Views
Written By
Posted
9872
August 21, 2007 10:18AM
5746
August 21, 2007 10:39AM
6221
December 20, 2007 05:58PM
5678
January 16, 2008 12:46PM
5410
February 05, 2008 08:17AM
Re: Calls to SQl from Foxpro
4596
February 21, 2009 03:11PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.