I have little experience with SQL Server and need some help as our DBA is no longer with us and we are in the process of looking for a new one.
Background: We are using two columns in a table, customVariable2
and customVariable3
. customVariable2
is the first timestamp and customVariable3
is the second timestamp. The time format is HH:MM:SS PM PDT.
I need to find the difference in time between customVariable2
and customVariable3
and then show that difference in another column. If it returns a value in seconds or minutes that is fine.
I am not sure what other information is needed from me for the community to be able to help. Please let me know if more information is needed and i can provide that.
Again I am a completely green when it comes to writing queries.
Thanks in advance for any help.