I have a script that connects to the database to do an export. After our RES5 upgrade the script no longer works. I know when connecting through dbisql we now have to choose the Micros database. How do I do that in a script?
The original script is below. Thanks in advance.
The original script is below. Thanks in advance.
Code:
CONNECT custom IDENTIFIED BY custom;
select cast(inven_itm_id as numeric(6)), cast(ordr_qty as int) from micros.veo_po_inven_itm_dtl
where po_seq=(select Max(po_seq) from micros.veo_ordr_itm_po_dtl
where vndr_name='Connect Logistics')
order by name;
output to D:\ConnectExport\Connect.csv