I'm trying to make an insert statement from a selection.
I'm using the following SQL statement:
INSERT link (cat_id, name, url, weight, target, link_tip, made, changed, status)
SELECT 645 AS cat_id, name, url, 5 AS weight, target, link_tip, NOW() AS made, NOW() AS changed, status
FROM link...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.