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
7 6758
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
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
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
please find a related discussion here.
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,
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
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.
Sign in to post your reply or Sign up for a free account.
Similar topics |
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 /...
|
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...
|
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...
|
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...
|
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)
| |
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...
|
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...
|
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...
|
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...
|
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,...
|
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...
| |
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,...
|
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...
|
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...
|
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: 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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 ...
| |