[dba-SQLServer] ADOX help

Susan Harkins harkinsss at bellsouth.net
Thu Mar 9 07:50:10 CST 2006


Nope -- always an article. Always. :) 

Susan H. 

Sorry, didn't realise this was for an Article.  Figured it was just a task
you needed to complete. 

-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan
Harkins
Sent: Thursday, 9 March 2006 11:16 AM
To: dba-sqlserver at databaseadvisors.com
Subject: Re: [dba-SQLServer] ADOX help

Probably -- just need examples of ADOX though. 

Susan H. 

Can't you just submit an 'ALTER TABLE' statement rather than going through
ADOX? 


Here's what I'm trying to do and can't -- I want to append a column to an
existing table, using ADOX. The code seems unnecessarily complex, and it
doesn't work. :( I don't get an error, it just doesn't work. The FOR loop
just runs through the Columns collection after the append, to see if it
worked. It really isn't part of the failing technique, because that part
works fine. The connection is fine. 


_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com



IMPORTANT - PLEASE READ *** This email and any files transmitted with it are
confidential and may contain information protected by law from disclosure.
If you have received this message in error, please notify the sender
immediately and delete this email from your system. No warranty is given
that this email or files, if attached to this email, are free from computer
viruses or other defects. They are provided on the basis the user assumes
all responsibility for loss, damage or consequence resulting directly or
indirectly from their use, whether caused by the negligence of the sender or
not.
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.0/276 - Release Date: 3/7/2006
 




More information about the dba-SQLServer mailing list