Please start any new threads on our new
site at http://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Our new SQL Server Forums are live!
Come on over! We've restricted the ability to create new threads on these forums.
Posting Yak Master
In (Som, Ni, Yak)
quote:Originally posted by stumblingI can not for the life of me get a count to work in the following statement? Can i use count like this?select right(replicate('0', 10) + (count(Recordtype)) ,10) from dataexport where Recordtype = 'T'Thanks
select right(replicate('0', 10) + (convert(varchar(10), count(Recordtype))), 10)
from dataexport where Recordtype = 'T'