Selectall

We Share What We Get

  • Archives

Add column in query with default value

Posted by selectall on July 8, 2009

SELECT id as student_id,
student_code,
‘Present’ AS attendance_legend_name,
first_name
FROM dbo.ad_student_m

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>