RE: creating columns on the fly

2001-07-05 Thread Steve Howard
ition. I can't teach you all there is to know about SQL 7's system catalogues, but you have everything you need in sysobjects, and syscolumns, and sysindexes (although I usually use sp_helpindex to bring in information to create indexes on the fly). From there, it's really up to you ho

RE: creating columns on the fly

2001-07-05 Thread Steve Howard
ou get the hang of using this, you can easily get the other properties listed in perldoc DBI. Hope this helps, Steve H. -Original Message- From: eric wang [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 05, 2001 2:58 PM To: dave hoover; Eric Wang; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED

RE: creating columns on the fly

2001-07-05 Thread Chas Owens
ilto:[EMAIL PROTECTED]] > Sent: Thursday, July 05, 2001 12:43 PM > To: Eric Wang; [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: creating columns on the fly > > > Eric Wang wrote: > [snip] > > First, I decided that I will need to generate the > > S

RE: creating columns on the fly

2001-07-05 Thread eric wang
Thanks for the tip, But what if I am using Microsoft SQL server 7? is there a way to do this? eric -Original Message- From: dave hoover [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 05, 2001 12:43 PM To: Eric Wang; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: creating columns

Re: creating columns on the fly

2001-07-05 Thread dave hoover
Eric Wang wrote: [snip] > First, I decided that I will need to generate the > SQL statements inside > the perl script. (i.e. print SQL "insert... > blah.."). If you use DBI, this is no problem, in fact, it's expected. You will probably call $sth->execute(SQL_HERE). You can plug in a previousl