Hi
I have table that logs login and logout and look like this
User
Login timestamp
Logout timestamp
No to the problem
I whant to take out in second the time between every login times
Please help
Hi
I have problem with binary values in mssql.
I find this script on the web:
declare @i int /* input */
set @i = 42
declare @result varchar(32) /* SQL Server int is 32 bits wide */
set @result = ''
while 1 = 1 begin
select @result = convert(char(1), @i % 2) + @result,
@i =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.