If your table is having char data type, then it may not return what you are expecting. Probably, you need to convert your data type to varchar and then use right function to get desired result.
Following sql statement may help....
select
right(convert(varchar(17),col_name),1)
from...
There is a table sysdistrib which store the tabid & date for the statistics updated tables.
Following query may be useful on user database.
select a.tabname, b.constructed
from systables a, sysdistrib b
where a.tabid=b.tabid
group by 1,2
-OR- run simple sql statment without group by clause...
Hi,
Most of the error messages gets recorded into log files. I am not sure about your error but you can try to look into it. The error log files looks like SERVERNAME.log. You can see this file into install directory.
I hope that this will give some sort help for locating error.
Rajdeep
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.