I have VB Script which is connected with the my database (SQL Server 2008), and this script query contains getdate() function, now I want to subtract 2 time value suppose SQL1-SQL2 and want only time difference, not the date.
I have VB Script which is connected with the my database (SQL Server 2008),
Share
If you want to do it in VBScript, then something like:
T-SQL docs for datediff
VBScript docs for datediff