Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Access
3rdpartyusrgrp
access
activexcontrol
adp.sqlserver
commandbarsui
conversion
dataaccess.pages
developers.toolkitode
devtoolkits
externaldata
forms
formscoding
gettingstarted
internet
interopoledde
macros
modulescoding
modulesdaovba
modulesdaovba.ado
multiuser
odbcclientsvr
queries
replication
reports
security
setupconfig
tablesdbdesign
  
 
date: Mon, 01 Sep 2008 10:42:10 GMT,    group: microsoft.public.access.queries        back       


Show create table   
Hi All

I'm using Access 2003 and MS SQL server. Does anyone know if there is
anything in access which is like the MySQL command "SHOW CREATE TABLE"?

-- 
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-queries/200809/1
date: Mon, 01 Sep 2008 10:42:10 GMT   author:   Jay974 via AccessMonster.com u44035@uwe

Re: Show create table   
hi Jay,

Jay974 via AccessMonster.com wrote:
> I'm using Access 2003 and MS SQL server. Does anyone know if there is
> anything in access which is like the MySQL command "SHOW CREATE TABLE"?
Take a look at the context menu, when you have selected your table in 
the SSMS.


mfG
--> stefan <--
date: Mon, 01 Sep 2008 13:16:26 +0200   author:   Stefan Hoffmann

Re: Show create table   
Hi Stefan

Sorry, not sure what you mean. Can you elaborate pls?

Thanks
Jay

-- 
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-queries/200809/1
date: Mon, 01 Sep 2008 11:58:51 GMT   author:   Jay974 via AccessMonster.com u44035@uwe

Re: Show create table   
hi Jay,

Jay974 via AccessMonster.com wrote:
> Sorry, not sure what you mean. Can you elaborate pls?
Open the SQL Server Management Studio, select your table in the object 
browser. Open the context menu, select "Script table as".


mfG
--> stefan <--
date: Mon, 01 Sep 2008 14:33:51 +0200   author:   Stefan Hoffmann

Re: Show create table   
Thanks Stefan

Sorry, I may not have made myself clear. I am looking for this function
within Access, not SQL management.

Jay

-- 
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-queries/200809/1
date: Mon, 01 Sep 2008 13:03:36 GMT   author:   Jay974 via AccessMonster.com u44035@uwe

Re: Show create table   
hi Jay,

Jay974 via AccessMonster.com schrieb:
> Sorry, I may not have made myself clear. I am looking for this function
> within Access, not SQL management.
You need to code basically something like that:

http://davidhayden.com/blog/dave/archive/2006/02/09/2795.aspx
http://www.mydatabasesupport.com/forums/sqlserver-programming/203188-using-smo-vba.html


mfG
--> stefan <--
date: Mon, 01 Sep 2008 15:15:52 +0200   author:   Stefan Hoffmann

Re: Show create table   
Jay974 via AccessMonster.com wrote:
> Thanks Stefan
>
> Sorry, I may not have made myself clear. I am looking for this
> function within Access, not SQL management.
>
This functioanlity was not included in the version of Access I last used. It 
might be A2007, but if it isn't, there are other ways:
http://www.karaszi.com/SQLServer/info_generate_script.asp

-- 
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
date: Mon, 1 Sep 2008 09:22:45 -0400   author:   Bob Barrows [MVP] com

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us