473,496 Members | 2,196 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

External Table with only one column

90 New Member
Hi All,
I need to create an external table to extract data from a flat file
which having only one field.

Also from that field first two character should not come in the table.

Please help me .


Regards,
Gyanendar
Nov 3 '08 #1
7 6758
Pilgrim333
127 New Member
Hi Gyanendar,

Here is a link with info on the external table. If that doesn't work for you, post the problems you are encountering here.

External tables

Pilgrim
Nov 3 '08 #2
gyanendar
90 New Member
Hi Gyanendar,

Here is a link with info on the external table. If that doesn't work for you, post the problems you are encountering here.

External tables

Pilgrim
Thanks for the Reply.

I created the table and its working.

I need one more thing.
I have to get all the value in the external table except first and last row.

For 1st row SKIP N is working,but for last row i don't know how to do that.

Could you please suggest me the way how to achieve this .

Regards,
Gyanendar
Nov 3 '08 #3
amitpatel66
2,367 Recognized Expert Top Contributor
you need to do a substr on your external table for the data coming form flat file. select the data from third position till the last whcih will help you eliminate first two characters
Nov 3 '08 #4
debasisdas
8,127 Recognized Expert Expert
please find a related discussion here.
Nov 3 '08 #5
Pilgrim333
127 New Member
Hi,

I think you are talking about the first and the last row, and not the first and last character. What I could find on the internet is the following:

1. Add a parameter r type recnum to the access parameters in the create table statement of your external table.

2. Make a view on the external table in which you omit the first and last row, using the recnum as criteria.

If you have any problems, just post it here.

Pilgrim.
Nov 3 '08 #6
gyanendar
90 New Member
Hi,

I think you are talking about the first and the last row, and not the first and last character. What I could find on the internet is the following:

1. Add a parameter r type recnum to the access parameters in the create table statement of your external table.

2. Make a view on the external table in which you omit the first and last row, using the recnum as criteria.

If you have any problems, just post it here.

Pilgrim.
Hi Pilgrim,
If I create view of the data from external table one more object will get created in database.
Can we have any other way to get around this .

Regards,
Gyanendar
Nov 7 '08 #7
Pilgrim333
127 New Member
Hi,

I don't think that is possible, unless you know what number the last number will be. If the last record always will be x then you can say skip x, otherwise you have to do it with the view.

If anyone else has another solution, i would really like to know that.

Pilgrim.
Nov 7 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

9
25790
by: Don Grover | last post by:
I have a HTML table created using ASP as a web page. ie. HEADING1 HEADING2 HEADING3 etc... data 1 data2 data3 etc and so on How can I toggle hide /...
7
2158
by: pfa | last post by:
I have a udf which returns a table. I was hoping to access the NEXTVAL from a sequence to affect the logic flow and consequently the return result. I'm using a LANGUAGE C type function. Here's...
7
2265
by: slitvinov | last post by:
I am learning Relax NG. The problem is that I cannot figure out how to make a schema for a table. In my case I would like to make a table with any name of child elements (columns) but columns...
117
18408
by: phil-news-nospam | last post by:
Is there really any advantage to using DIV elements with float style properies, vs. the old method of TABLE and TR and TD? I'm finding that by using DIV, it still involves the same number of...
0
2888
by: Nyrine | last post by:
Hi ! I have some external tables set up to load data into an oracle 9i database. My table is created as : create table XT405 ( . . XREF2 NVARCHAR2(50)
0
3038
by: aniendow | last post by:
Hi All, I am trying to upload a TAB delimited file into a database table. Considering the performance issue I thought EXTERNAL TABLE is my best option but with one problem, My table has CLOB...
9
6767
by: PeteCresswell | last post by:
I've got something called "Reference Rates". The idea is that on a given day, we have various rates of return for various entities. e.g. Libor 3-month return, Libor 6-month return, US Treasury...
3
4014
by: tundal45 | last post by:
Hey Guys, I am trying to automate the process of loading data in our oracle server. As a part of that process, I am working on a perl script that loads external tables from data files. What I am...
5
4901
by: jrod11 | last post by:
hi, I found a jquery html table sorting code i have implemented. I am trying to figure out how to edit how many colums there are, but every time i remove code that I think controls how many colums...
0
7120
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
6991
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7160
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,...
1
6878
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
7373
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...
1
4897
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...
0
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1405
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.