Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Product Manuals » ElevateDB Version 2 SQL Manual » SQL/PSM Statements » USE |
USE [<DatabaseName>]
-- This job optimizes the Inventory -- table in the ShopFloor database. CREATE JOB OptimizeInventory RUN AS "System" FROM DATE '2000-01-01' TO DATE '2030-12-31' WEEKLY ON SUN BETWEEN TIME '03:00' AND TIME '04:00' CATEGORY '' BEGIN USE ShopFloor; EXECUTE IMMEDIATE 'OPTIMIZE TABLE Inventory'; USE; END -- Here's the same thing as a script instead SCRIPT BEGIN USE ShopFloor; EXECUTE IMMEDIATE 'OPTIMIZE TABLE Inventory'; USE; END
Deviation | Details |
Extension | This SQL statement is an ElevateDB extension. |
This web page was last updated on Thursday, November 16, 2023 at 10:39 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |