hi, I am new SQL learner and I have a question like while create a table I want to include date column in that table so, how can I do it please help me out.
I assume you are doing this through Enterprise Manager?
If so, you simply add another column, and set its' data type to date/time. If you want it to include TODAY's date, you can set the default to CURRENT_TIMESTAMP or GETDATE(), either of which will return the server's current date/time. (storing the time the row was added, this column will not change).
Hope this helps,
ALex
ps- for future reference, you may be better off asking questions like this in forum183 or forum962
Ignorance of certain subjects is a great part of wisdom
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.