Does anyone know how to use paramters in a select statement. I thought is was something like this
SELECT 'Drive %s has %d space free', @drive_letter, @space_free
but all i get back is
Drive %s has %d space free C 2000
what I want is
Drive C has 2000 space free
Thanks for your help
Later jimmY
SELECT 'Drive %s has %d space free', @drive_letter, @space_free
but all i get back is
Drive %s has %d space free C 2000
what I want is
Drive C has 2000 space free
Thanks for your help
Later jimmY