# DROP JOB
source: https://docs.chalk.ai/docs/chalksql/jobs/drop-job

## Delete a Chalk SQL job's schedule and stop future triggers while preserving run history.

DROP JOB deletes a SQL job's schedule. It stops future triggers and preserves run records.

### Syntax

```sql
DROP JOB [ IF EXISTS ] <name>;
```

### Parameters

| Parameter   | Description                                               |
| ----------- | --------------------------------------------------------- |
| ``          | SQL identifier of the SQL job to drop.                    |
| `IF EXISTS` | Succeeds and returns no rows if the named job is missing. |

### Return values

The command returns one row describing the deleted schedule with the columns of chalk.jobs.

### Permissions

Dropping a SQL job requires cron.read, cron.create, workflow.read, and workflow.manage
in the environment.

### Example

Drop the job if it exists.

```sql
DROP JOB IF EXISTS morning_report;
```

### See also

- Job statements for job names and related commands
- ALTER JOB to suspend future runs and keep the schedule




