473,405 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Getting structure of a table in query format

Hi,

i want to know, how to get the structure of the table in query
format(create table ...). any one can help me.

bye & thanxs

Siva Prakash. M
Jul 19 '05 #1
2 12852
Siva wrote:
Hi,

i want to know, how to get the structure of the table in query
format(create table ...). any one can help me.

bye & thanxs

Siva Prakash. M

Select 'create table '||table_name||'...'
from user_tablea, user_columns, ...

Read the data dictionary view definitions (SQL manual)

--
Regards, Frank van Bortel

Jul 19 '05 #2
If you're on 9i, look up how to use the package DBMS_METADATA ("desc
DBMS_METADATA from SQL*Plus).

Daniel
Hi,

i want to know, how to get the structure of the table in query
format(create table ...). any one can help me.

bye & thanxs

Siva Prakash. M

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
by: Michael Malinsky | last post by:
I'm attempting to create a database which will take information from one (perhaps two) tables and utilize that information to return queries to a report designed in Excel. The general idea I...
2
by: SenseForAll | last post by:
First please note I am a novice at VBA and not even that experienced with DAO/ADO and MS-SQL. Any assistance is appreciated. That said... I have an application written in Access w/ VBA. I need to...
3
by: jaf893 | last post by:
I have a series of test results with each result consisiting of 10 test conditions, 5 location conditions and then 3 test results. The table looks a bit like this: (T = test condition, L = location...
1
by: Tom Keane | last post by:
Hi, I need some helpings again! I have a query from one of my tables that gets a total amount of money and gets a percentage from it ie, the field I create in the query is invGSTAmount from a...
4
by: Bob | last post by:
Hi all, I'm trying to import data, modify the data then insert it into a new table. The code below works fine for it but it takes a really long time for 15,000 odd records. Is there a way I...
33
by: JamesB | last post by:
I am writing a service that monitors when a particular app is started. Works, but I need to get the user who is currently logged in, and of course Environment.UserName returns the service logon...
2
by: Siva | last post by:
Hi, i want to know, how to get the structure of the table in query format(create table ...). any one can help me. bye & thanxs Siva Prakash. M
0
by: amollokhande1 | last post by:
Hi All, I am using following query to get the data in xml format strQuery="Select PatternCode,PatternName, Patterntype from TStore" GetXml() method of Dataset returns me following Node...
5
by: new2sql | last post by:
Firstly, thanks in advance for any assistance, it is much appriciated. I have two tables, structure as follows: TBL_FANS Column | Example --------------------------------------...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.