Home » RDBMS Server » Server Utilities » Execute Package Error
Execute Package Error [message #73167] Tue, 24 February 2004 14:41
Lee Yoke Ping
Messages: 2
Registered: February 2004
Junior Member
I try to execute the package where i try to delete last month data. In the "Execute SQL Task Properties" I have this select statement -

delete from [[AUS]].[[dbo]].[[aus007tbl]] where yyyymm = to_char(add_months((sysdate), -1), 'YYYYMM')

After execute package, system return with error message - "add_months" is not a recognized function name.

Please advice what is the proper function to get last month.

 
Previous Topic: exporting with fixed width fields to a text file
Next Topic: Connect message in CONNECT command
Goto Forum:
  


Current Time: Sat Jun 29 05:23:09 CDT 2024