Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Checking for Date Conflict

Author  Topic 

DavisK
Starting Member

6 Posts

Posted - 2005-11-02 : 16:17:12
Although I am familiar with SQL commands I have never worked with SQL server before and find myself at a loss for which direction to take. I have a database for equipment reservations. I need to write a procedure to notify the end-user if a specific piece of equipment is already checked out during the time frame requested. I'm reading up on stored procedures and triggers and not sure which one (if either) is appropriate to use. Any suggestions? Thanks,

X002548
Not Just a Number

15586 Posts

Posted - 2005-11-02 : 16:27:38
First, read this

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=56802

Second, I would imagine the check would done at the time of the request.

Do you have any tables already built?

Read the link in my sig below, and post us some details.

But, yes, I would use stored procedures.



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx
Go to Top of Page
   

- Advertisement -