Mysql: Inserting now() value into column shows error -


i trying insert now() value column shows error

insert tbl_offerpriceuser('urgentdate') values(now()) user_id='717' 

it shows 3 errors

3 errors found during analysis.

a comma or closing bracket expected (near "(" @ position 55) unexpected token. (near ")" @ position 56) unexpected token. (near ")" @ position 57) 

syntax wrong insert:

insert tbl_offerpriceuser(urgentdate) values(now()) 

now() function don't have problem. , there no where condition.

see syntax insert data


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -