I have a table Events Events containing cardno,time,id,name--each id has a cardno my requirement is every day each employee swipe the card several times i want to calculate first and last time of each card the output should be name 1 2 6 7 in out in out holiday holiday xxx 09:30 06:30 09:40 06:45 where 1,2...... are dates for example january 1,2, etc. 6 and 7 are saturday and sunday how it is posssible
Why I can not enter 0.001 second in date and time literals in ms sql server?
How to transfer data from a cursor to variables with a "fetch" statement?
Scalability, Availability, Integration with internet, etc.)?
What is autocommit mode in sql server?
What are drilldown reports?
When I run the sql server 2000 setup, it just hangs. What do I do?
Tell me what is de-normalization and what are some of the examples of it?
How to encrypt Strored Procedure in SQL SERVER?
What are the steps you can take to avoid “deadlocks”?
Tell me what is normalization? Explain different forms of normalization?
Why use triggers?
1)what is the difference between Reinitializing a Subscription and synchronization the subscription? 2)when to use reinitializing ? 3)when to use synchronization? 4)when adding table or deleting a table what to do?(reinz.. or syn) 5)when adding a column what to do?
Do you know what guidelines should be followed to help minimize deadlocks?
What is CTE in SQL