Overview
This article will show you how to retrieve a shipment's order detail from the database using WinSQL. Viewing the data from the database provides more details than from the Query Screen's page. You can also retrieve data that is more than 90 days old. Whereas the Query Screen will only allow you to view data in the past 90 days.
Requirements
- Admin access to the GlobalShip server.
- Basic knowledge of executing SQL queries.
- Basic knowledge of using WinSQL.
Procedure
Launch WinSQL on the server and run the desired schema below to find more information about your shipments.
Live Schema (Current Day's Shipment)
-
Copy the query below to search for a shipment by order number from the LIVE schema.
select * from live.package_details where reference_number_1 like '%REPLACE_WITH_ORDERNUMBER%'; - Execute the query in WinSQL.
Archive Schema (Past 90 Days)
-
Copy the query below to search for a shipment by order number from the ARCHIVE schema:
select * from archive.package_details where reference_number_1 like '%REPLACE_WITH_ORDERNUMBER%'; - Execute the query in WinSQL.
History Schema (All Shipments Older than 90 Days)
-
Copy the query below to search for a shipment by order number from the HISTORY schema:
select * from history.package_details where reference_number_1 like '%REPLACE_WITH_ORDERNUMBER%'; -
Execute the query in WinSQL.
Assistance
If any further assistance is needed, please contact our Support team.