Commit 9f1bb321 authored by Steve Müller's avatar Steve Müller

fix current time, date and timestamp SQL in DB2

parent 4986650e
......@@ -360,7 +360,7 @@ class DB2Platform extends AbstractPlatform
*/
public function getCurrentDateSQL()
{
return 'VALUES CURRENT DATE';
return 'CURRENT DATE';
}
/**
......@@ -368,7 +368,7 @@ class DB2Platform extends AbstractPlatform
*/
public function getCurrentTimeSQL()
{
return 'VALUES CURRENT TIME';
return 'CURRENT TIME';
}
/**
......@@ -376,7 +376,7 @@ class DB2Platform extends AbstractPlatform
*/
public function getCurrentTimestampSQL()
{
return "VALUES CURRENT TIMESTAMP";
return "CURRENT TIMESTAMP";
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment