I am having a stock market database in which price of the commodity is stored every 5 mins. Table is having below columns
- ID
- Commodity
- Time
Since, stock exchange closes from
- Friday 22.00 GMT to Sunday 22.00 GMT
So, I need to exclude these results from my select query.
Is there any way to exclude data for each
Friday 22.00 GMT to Sunday 22.00 GMT
in query.
Since, the database size is very large, so I am avoiding to use Cursor or Loops. I am using LINQ in the application and trying to find out some tricky SQL hack, and make a Select query for it.