0

For a recent test, I want to 'create' a query which takes atleast 5 seconds to execute and does not change the schema or data of the database - although I can create a table and then delete it. Till that level its ok . How can I do this?

ScG
  • 1,063
  • 5
  • 12
  • 19

1 Answers1

1

Use the WAITFOR command:

WAITFOR DELAY '00:00:05';
Dave Markle
  • 95,573
  • 20
  • 147
  • 170