I am trying something like this but the syntax is wrong.
INSERT INTO bookingsA(task,date)
VALUES ('test','2009-01-01')
WHERE date != tableB.date;
How do I do this? Do we use :: instead?
Mike
I am trying something like this but the syntax is wrong.
INSERT INTO bookingsA(task,date)
VALUES ('test','2009-01-01')
WHERE date != tableB.date;
How do I do this? Do we use :: instead?
Mike
No we use <> instead..
INSERT INTO bookingsA(task,DATE)
VALUES ('test','2009-01-01')
WHERE DATE <> tableB.DATE;
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.