MySQL Forums
Forum List  »  Connector/Arduino

Re: inserting a unsigned long
Posted by: Steve Spence
Date: April 17, 2014 10:00PM

More specifically, what are the options / significance of the % placeholders in

sprintf(buf, "INSERT INTO test.temp VALUES (NULL, %hi.%01hi, %i.%01i)",

as it appears theydetermine the type of value passed?

Options: ReplyQuote


Subject
Views
Written By
Posted
3434
April 17, 2014 06:23PM
Re: inserting a unsigned long
1956
April 17, 2014 10:00PM
1997
April 19, 2014 09:56AM
1948
April 19, 2014 11:06AM


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.