Ask a Question related to Coldfusion Database Access, Design and Development.
-
jimWPX #1
Copy a table in Access structure only with CF query
Hello,
I need to know how to create a new table by copying an existing table with the
table structure only in a query
Don't know the Syntax but
CREATE newtable FROM oldtable ( structure only )
Is there a way to do this in a query?
Thanks in advance
jimWPX Guest
-
Class::Struct - want to access structure within structure
I want to access a structure within a structure. Below is what I had in mind. Please help. #!/perl/bin/perl use Class::Struct; struct Step... -
Query w/bad table structure
Hi, I am trying to query a column that has multiple values. When I export it, I need to have it so that each of those values is placed in its own... -
adding a hyperlink to a field in a table created from a d/b query (Access)
I've done this using Frontpage; and I know I've done it in the past using just ASP. I'm trying to stay away from FP on this site, so.... Can... -
ASP / Access: use of same table twice in one query
Hi, In a query I use the same table twice: Select u.*, ud.*, dep.*, u2.* from users as u, departments as dep, user_in_departments as ud, users... -
query to return table structure
hi, Is there any command or query that returns the table structure informix. -
Dan Bracuk #2
Re: Copy a table in Access structure only with CF query
You mean without knowing the old table's structure?
Dan Bracuk Guest
-
jimWPX #3
Re: Copy a table in Access structure only with CF query
I actually worked it out. It may not be the right answer but it works
<cfquery datasource="#application.db#">
Select * Into admin_pass2 From admin_pass
</cfquery>
This makes a copy
<cfquery datasource="#application.db#">
Delete * FROM admin_pass2
</cfquery>
This empties it
jimWPX Guest
-
Jochem van Dieten **AdobeCommunityExpert** #4
Re: Copy a table in Access structure only with CF query
jimWPX wrote:
And if you want to do it in one statement:> I actually worked it out. It may not be the right answer but it works
>
> <cfquery datasource="#application.db#">
> Select * Into admin_pass2 From admin_pass
> </cfquery>
>
> This makes a copy
>
> <cfquery datasource="#application.db#">
> Delete * FROM admin_pass2
> </cfquery>
SELECT *
INTO admin_pass2
FROM admin_pass
WHERE 0 = 1
Jochem
--
Jochem van Dieten
Adobe Community Expert for ColdFusion
Jochem van Dieten **AdobeCommunityExpert** Guest



Reply With Quote

