Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Raju S
  Where is Raju S?
 Mumbai
 India
 Raju S
 To: Andy Kramek
  Where is Andy Kramek?
 Westminster Circle, Akron
 Ohio - United States
 Andy Kramek
 Tags
Subject: RE: create CREATE TABLE command.
Thread ID: 232549 Message ID: 232563 # Views: 29 # Ratings: 0
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Wednesday, June 24, 2009 1:22:30 PM         
   


I wanted to write CREATE TABLE command so that all the files in a folder can be recreated with that command. The files are free dbf tables.
But from Anders answer, I came to know about gendbc and it could be done.

Thanks to you also.

> > Hi Experts,
> >
> > There are about 40 files. I have created them using CREATE command. I want to create all the files using CREATE TABLE command. In SQL Server, it is possible to get CREATE TABLE command by dropping table in the command area. Do we have anything like that ?
>
> > Or I will have to look at the structure of all the files and construct CREATE TABLE command.
>
> I am sorry, but I do not understand what you are trying to do here. Where are these tables? What are you trying to do with them?
>
> If these are VFP Tables you cannot "drop them" into SQL Server, but there is an Upsizing Wizard that will take your VFP tables and generate the erquivalent tables in SQL Server.
>
> If they are in SQL Server then you can generate the "Create" script in Management Sudio (SQL 2005/2008) by right clicking on the table in the object explorer view and choosing the "Script Table As" option.
>
> If this does not help, can you be a little more specific as to what you are doing, please?
>
> Regards
> Andy Kramek
> Microsoft MVP (Visual FoxPro)
> Tightline Computers Inc, Akron Ohio, USA



COMPLETE THREAD
create CREATE TABLE command. Posted by Raju S @ 6/24/2009 9:52:05 AM
RE: create CREATE TABLE command. Posted by Anders Altberg @ 6/24/2009 10:33:48 AM
RE: create CREATE TABLE command. Posted by Raju S @ 6/24/2009 1:20:12 PM
RE: create CREATE TABLE command. Posted by Andy Kramek @ 6/24/2009 11:42:19 AM
RE: create CREATE TABLE command. Posted by Raju S @ 6/24/2009 1:22:30 PM