Skip to content

Commit 701afd9

Browse files
authored
capitalized float
1 parent 59bdd80 commit 701afd9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/t-sql/functions/cpu-busy-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ To see a report containing several [!INCLUDE[ssNoVersion](../../includes/ssnover
5656
This example returns [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] CPU activity, as of the current date and time. The example converts one of the values to the `float` data type. This avoids arithmetic overflow issues when calculating a value in microseconds.
5757

5858
```sql
59-
SELECT @@CPU_BUSY * CAST(@@TIMETICKS AS float) AS 'CPU microseconds',
59+
SELECT @@CPU_BUSY * CAST(@@TIMETICKS AS FLOAT) AS 'CPU microseconds',
6060
GETDATE() AS 'As of' ;
6161
```
6262

0 commit comments

Comments
 (0)