Hi All!
I am trying to move my Access tables into MS SQL Server. I have Time and Date in separate columns in Access. Now I put them all together into one DateTime field. I also have a calendar progam what suppose to display only those events what are happening today.
Now I need to create a query that will list all those events that are just a few hours long or take an entire week so it has to be indicated on today's list. How can I do that on a very elegant way? It was easy in Access because I kept the Date values in a separate table so I could use <= =< to set up a range of date values... but SQL has to have everything in one field...
I am trying to move my Access tables into MS SQL Server. I have Time and Date in separate columns in Access. Now I put them all together into one DateTime field. I also have a calendar progam what suppose to display only those events what are happening today.
Now I need to create a query that will list all those events that are just a few hours long or take an entire week so it has to be indicated on today's list. How can I do that on a very elegant way? It was easy in Access because I kept the Date values in a separate table so I could use <= =< to set up a range of date values... but SQL has to have everything in one field...