Sets the georeference X and Y skew of a raster object in the spatial reference system.

## Syntax
```
HELPCODEESCAPE-sql
raster ST_SetSkew(raster raster_obj, float8 skewX, float8 skewY)
raster ST_SetSkew(raster raster_obj, float8 skewXY)
```

## Parameters
<table> <thead> <tr> <th><b>Parameter</b></th> <th><b>Description</b></th> </tr> </thead> <tbody> <tr> <td><code>raster_obj</code></td> <td>The raster object to modify.</td> </tr> <tr> <td><code>skewX</code></td> <td>The skew along the X axis.</td> </tr> <tr> <td><code>skewY</code></td> <td>The skew along the Y axis.</td> </tr> <tr> <td><code>skewXY</code></td> <td>The skew applied equally to both the X and Y axes.</td> </tr> </tbody> </table>

## Examples
**Example 1: Set different skew values for X and Y**

```
HELPCODEESCAPE-sql
UPDATE raster_table
SET rast = ST_SetSkew(rast, 0.3, 0.6)
WHERE id = 2;

SELECT ST_SkewX(rast) AS skewx, ST_SkewY(rast) AS skewy
FROM raster_table
WHERE id = 2;
```

Output:

```
 skewx | skewy
-------+-------
   0.3 |   0.6
```

## See also
* `ST_SkewX` --- Returns the X skew of a raster object.

* `ST_SkewY` --- Returns the Y skew of a raster object.