I Have A Stored Procedure That Looks For Records Based On Three Inputed Variables - BeginDate, EndDate, Filename.
When Calling That Stored Procedure In The Query,
Exec Sp-Obtain_TravelDates '08/01/02','08/01/02','gel0801a'
It Hangs.
I Know That The Dates And Filename Are Good.
When I Substitute In The Stored Procedure The BeginDate Or EndDate Variable For '08/01/02' The Query Works.
But For Some Reason, When I Have Both Dates As Variables, The Query Hangs And I Locks Up And I Have To Use Ctrl, Alt, Del To Close SQL Server.
Any Ideas Why?
When Calling That Stored Procedure In The Query,
Exec Sp-Obtain_TravelDates '08/01/02','08/01/02','gel0801a'
It Hangs.
I Know That The Dates And Filename Are Good.
When I Substitute In The Stored Procedure The BeginDate Or EndDate Variable For '08/01/02' The Query Works.
But For Some Reason, When I Have Both Dates As Variables, The Query Hangs And I Locks Up And I Have To Use Ctrl, Alt, Del To Close SQL Server.
Any Ideas Why?