-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: laks_win
Message 10 in Discussion


Hi Sonia,
 
Try this.
Here change the table name 'jobs', for ur 
table.
 
-- to display the table structure. Column 
name/datatype

use pubs

select [Field Name] = sysc.name, [Data Type] = 
syst.name,sysc.length,(CASE WHEN sysc.isnullable = 1 THEN 'Yes' ELSE 'No' END) 
AS IsNullable
from syscolumns sysc
join sysobjects syso on 
sysc.id=syso.id
join systypes syst on sysc.xtype = syst.xtype
where 
syso.name = 'jobs' 
order by colorder

Regards
Lakshmi Narayanan.R
 

  ----- Original Message ----- 
  From: 
  maheshwarisonia 
  To: [email protected] 
  Sent: Thursday, June 02, 2005 3:01 
  PM
  Subject: Re: Reg Sql Server Stored 
  Procedure
  
 
  
    
      
      New Message on BDOTNET
    
      

  Reg Sql 
    Server Stored Procedure


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 7 in 
                Discussion 
      
        
          
            
            
              From: maheshwarisonia 
            
              
Hi,

But this query does not 
                return the structure of the table along with data 
                
types.

Regards

Sonia

>From: 
                "alladin" <[EMAIL PROTECTED]>
>Reply-To: 
                "BDOTNET" <[email protected]>
>To: 
                "BDOTNET" <[email protected]>
>Subject: Re: Reg 
                Sql Server Stored Procedure
>Date: Tue, 31 May 2005 
                00:59:38 
                -0700
>

_________________________________________________________________
Claim 
                your space online! http://www.msn.co.in/spaces Share your world 
                for 
free!

View other groups in this 
    category. 



-----------------------------------------------------------

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]

Reply via email to