----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: SaifIkram Message 1 in Discussion Hi all, Here i had found a small query where in u can find out all the primary keys in each table.............. in the database I think this can help u............... select a.name as TableName, b.name as ColumnName from sysobjects a,syscolumns b where a.id = b.id and b.typestat = '1' and b.colorder = '1'; if there is any thing wrong please let me know.... Regards, Venkata Krishna Asst. Consultant Genisys Software Plot No. 33-36 & 43-46 Export Promotion Industrial Park (EPIP) Whitefield, Bangalore - 560 066, India. Phone : +91-80-841 0297 Extn :325 FAX : +91-80-841 2007 Web : <http://www.genuk.com/> ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ----------------------------------------------------------- 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]
