Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Long running script?

Status
Not open for further replies.

bowwow

IS-IT--Management
Jun 11, 2002
60
GB
Does anyone know af a SQL query that I could use to run as a SQL Job that will mean it will run and run. Im looking to test some monitoring scripts to detect for long running SQL jobs. However Im new to scripts and am not sure how to generate a long running script in SQL?

Any help much appreciated.
Kind Regards
Bowwow
 
Simply do some cartesian product on two huge tables ...

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Being a 'newbie' to scripts... do you have any such examples of a 'certsian product'?
 
A cartesian product is made when you have 2 tables in the FROM clause and no join condition.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top