hi i am writing this query even i though writtten like this
select max([slno)) as slno from Sales
it is not taking vaue more than 9999
please suggest a solution regading this it will be a great help thanks in advance