You can't create forms in SQL. You need to post this question in the relevant language you are trying to use. I have an example of a login screen for C#.NET and MSSQL2005/2008 online at:
http://www.daniweb.com/code/snippet1244.html
sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735