----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Mrinal Message 3 in Discussion Hi , Answer to ur question is pretty simple , it totally depends upon the schema that you have and constraints applied , for e.g : You are filling from Table1(id,name) to Table1_history(id,Name,Action ) , now if the Action column is nullable , then you this query will work and it will by default enter null in action column , where ever value is not supplied . insert into table1_History(id,name) select id,name from Table1 Another case could be taht your column action is not nullable , then you can have a default value for column in the schema and it will get filled for each new row added where value is not supplied . Third way could be you providing some hardcoded value while inserting or you can join table1 to some other table to get value at runtime . hope it helps , regards , Mrinal ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
