Jump to content

Simple insert Into Statement Gone Wrong


Jacques

Recommended Posts

Hey Guys,

 

I need some help, i was tasked to create a new column in the a DB i manage.

 

This is to calculate warranty statuses:

 

My Query is as follows:

INSERT INTO #TABLENAME# (#NEW COLUMN ADDED#)

VALUES (DATE_ADD(#DateColumn#,INTERVAL 42 MONTH))

 

This does not work. Can anyone please assist with this?

 

KR

Jacques

Link to comment
https://forums.phpfreaks.com/topic/208909-simple-insert-into-statement-gone-wrong/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.