How to read and write a data from extrenal file
Hi..
How to read and write a data from extrenal file using Pl/sql?
Is it possible from Dyanamic Sql or any other way?
Reagards
Raju
utl_file
Re: How to Create text(dat) file.
Message was edited by:
jeneesh
Similar Messages
-
How to Read and Write .XML datas (HELP Plz...)
hai everybody
how to read and write xml datas... plz give clean and simple example..
bcoz me want to produce such type of module...
if any one help me .. thats the only way me laid in software ladder
plz....
thank u in advancethank u for giving idiot..
but before posting i search in google also..
but i cant get what me expect..
thus i posted...
then who is ................?
sorry javacoder01
// plz help me
Message was edited by:
drvijayy2k2 -
Mac Mini Sever - Public Share - how enable read and write permissions for new remote files
Hi,
this Sunday a friend ask me to help hum with a problem on is Man Mini Server. He has a small office and uses the mini server to share a public folder to all his employees.
Everyone that creates a file, saves it to the public folder at the mini mac.
That problem is that, who creates the file owns it and remains with read-only permissions to everyone else. The owner has to change the file permission in order to the rest of the employees can work on it.
I do not know mac arquitecture, I only work with windows and linux, but i suspect the principles are the same.
We try to create another folder , and share it, but it happens the same. Have you any ideas on what is wrong?
I suspect it has anything to do with de file Sharing at the mini mac, but it has read and write permissions for everyone.
Thanks for your help.signed applet. You aren't going to find any easy way to distribute that policy file to users, and that policy file, if you asked me to put it on my PC, I'd tell you to take a flying leap. That would open any applet to access.
-
Read and average n data from text file
I acquire numeric data from the oscilloscope [reading a waveform] that is stored in one column in a text file.
I need to read in selectable amount of data points to average/plot them.
So basically I wanna have a text file with millions of data points but I wanna plot say only every 1000. data point. I have tried many things I found here on the forum but as I am new to LabView, none of them really worked.
Does anybody have a suggestion.
Thanks.
Solved!
Go to Solution.Hi,
among others I have tried to build the VI below but somehow I cannot get to the desired solution because according to the indicators it always stops after the first loop.
Can you have a look please?
Thanks.
Attachments:
read_and_average.vi 13 KB -
Read and write compressed data from blob in ADF
Hi All,
I have a requirement where i need to compress/zip the file, if the file is greater than 2MB and store in database.
And i need to extract it from database in download dialog as zip file.
Please suggest me, i m using JDev 10.1.3.5 and using inputFile component or please redirect me to any examples or demos.
Regards,
R N V PrasadHi
I am first uploading file and if the file is more than 2MB, i am compressing it. i used the below method for compressing.
public void zipFile(String inputFilePath,String outputFilePath,String outFileName){
long fileSize;
long twoMBFileSize=2097152;
String outFileLocation;
try
byte[] data = new byte[1000];
File file=new File(inputFilePath);
FileInputStream fis=new FileInputStream(file);
BufferedInputStream in = new BufferedInputStream(fis);
fileSize = file.length();
System.out.println("File size.."+fileSize);
int count;
outFileLocation=outputFilePath+outFileName;
System.out.println("outFileLocation..."+outFileLocation);
ZipOutputStream out = new ZipOutputStream(new BufferedOutputStream(new FileOutputStream(outFileLocation)));
out.putNextEntry(new ZipEntry(outFileName));
while((count = in.read(data,0,1000)) != -1)
out.write(data, 0, count);
in.close();
out.flush();
out.close();
catch(Exception e)
e.printStackTrace();
And i will read the compressed file and posting to DB.
Here i am facing the problem while downloading the compressed files.
Naga -
How to read and write the data like this(is JSON?)?
i have some data like below(is json?),how to write them into
the database?
i user coldfusion 7.
{"title":"ColdFusion?","url":"
http://www.adobe.com/cfusion/"},
{"title":"flex blogs","url":"
http://www.flexblogs.com/"},
{"title":"studio","url":"
http://www.sans.com.com/"}
Thank you very much!You need to parse it and then insert the records into your
database.
Take a look at
CFJSON it is a JSON
serialiser and de-serialiser.
Once you have converted it to native CF datatypes you can
loop through it and insert it into your database. -
How to Read and write array data into notepad or lvm?
Hello,
I am new to Labview and i wanted to use it in my project where i get accelerometer values X,Y and Z serially into a notepad and then displaying those values in Labview as a 3D plot or graph.The problem i am facing is the use of Cover to dynamic data express VI and how to save the array in a notepad or a lvm file.i was testing a basic block of building x and y values separately.was successful in plotting it to graph but dont know how to save those values in a file.Can some1 please help me out in his ??
Solved!
Go to Solution.
Attachments:
Capture.PNG 22 KBThank you for looking into this. Since I was converting into dynamic data before writing it I thought you have to convert it after reading but then I got stuck as to whether build the array again so as to display it in the graph. Dennis I did what you said and the graph on reading is a bit funny just started today and I am kinda skipping the long tutorial due to shortage of time. sorry
Attachments:
Capture.PNG 32 KB
Capture2.PNG 59 KB -
How to read and store the data from an email ?
If there is any sample code available then it will be very helpfull
ThanksYou're not trying very hard.
It's at the top of this forum:
[http://forums.sun.com/forum.jspa?forumID=43&start=0|http://forums.sun.com/forum.jspa?forumID=43&start=0]
It's in the documentation included with the JavaMail download.
Oh, and have you heard of this thing called "google"?
Try searching for "JavaMail FAQ". -
How to read and update the value of property file
Hi,
I am not able read the values from property file.
Please tell me how to read and update the values from property file using Properties class
This is my property file : - Config.properties its located in D:\newfolder
Values
SMTP = localhost
Now i need to change the value of the SMTP
New value :
SMTP =10.60.1.9
Pls Help me
Thanks
Merlin Rosina,Post a small (<1 page) example program that forum members can copy and run that demonstrates your problem.
-
How to read and write data in to a specified range of cells(it include multiple row & columns) in excel
CVI Comes with a sample project that explains how to read/write to a Excel file: choose "Explore examples..." in CVI welcome page and navigate to <cviSampleDir>\activex\excel folder where you can load excel2000dem.prj.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
How to read and write from XL file
HI ,
I wanted to read a data from XL file and write a data in XL file by generating a report .Can any body help me out.Many examples are available on discussion forums but when I try to save and run those Vi .I am not able to run Showing error .Please tell what is going wrong as I m having latest labview 8.6 .
Regards
Sharmila.karaleHi Adnan,
Here are the examples of Vi which I have downloaded from the forum for my reference
Regards
Sharmila.Krale
Attachments:
SAVE TO EXCEL.llb 128 KB
excel.llb 1618 KB -
How to read and write a string into a txt.file
Hi, I am now using BEA Workshop for Weblogic Platform version10. I am using J2EE is my programming language. The problem I encounter is as the above title; how to read and write a string into a txt.file with a specific root directory? Do you have any sample codes to reference?
I hope someone can answer my question as soon as possible
Thank you very much.Accessing the file system directly from a web app is a bad idea for several reasons. See http://weblogs.java.net/blog/simongbrown/archive/2003/10/file_access_in.html for a great discussion of the topic.
On Weblogic there seems to be two ways to access files. First, use a File T3 connector from the console. Second, use java.net.URL with the file: protocol. The T3File object has been deprecated and suggests:
Deprecated in WebLogic Server 6.1. Use java.net.URL.openConnection() instead.
Edited by: m0smith on Mar 12, 2008 5:18 PM -
How to read and write on ntfs partitions??
Hello everyone, thanks for viewing my post. I want to know how to read and write on ntfs partitions under sata hd on my arch64 system. I'm using kde as my de and dolphin does sees it but can't access it anyway. I didn't had problem so far on mounting usb drives it just automounts maybe because it is a fat partition not a ntfs? Please I need your help...Thanks in advance:)
You will most likely need to rework your fstab. The one from my desktop is shown below. If you want regular users to be able to access the partition, then you will need to change the gid option as I have done. Although you could create a group just for people you want to have access.
You will need to know the device that your windows partition is held on of course. In my case it is my first hard disk, first partition, hence /dev/sda1.
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /media/cdrom auto ro,user,noauto,unhide 0 0
/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
/dev/mapper/nvidia_fbgfhehd1 /boot ext2 defaults 0 1
/dev/mapper/nvidia_fbgfhehd2 / reiserfs defaults 0 1
/dev/mapper/nvidia_fbgfhehd3 /var reiserfs defaults 0 1
/dev/mapper/nvidia_fbgfhehd5 /opt reiserfs defaults 0 1
/dev/mapper/nvidia_fbgfhehd6 swap swap defaults 0 0
/dev/mapper/nvidia_fbgfhehd7 /home reiserfs defaults 0 1
/dev/sdd1 /mnt/andromeda vfat defaults 0 0
/dev/sda1 /mnt/windows ntfs-3g defaults,user,gid=users 0 0
My XP partition is set to mount automatically, as I regularly interchange documents between the OS's.
Hope that helps. -
How to read a tab seperated data from a text file using utl_file
Hi,
How to read a tab seperated data from a text file using utl_file...
I know if we use UTL_FILE.get_line we can read the whole line...but i need to read the tab separated value separately.....
Thanks in advance...
NaveenNaveen Nishad wrote:
How to read a tab seperated data from a text file using utl_file...
I know if we use UTL_FILE.get_line we can read the whole line...but i need to read the tab separated value separately.....If it's a text file then UTL_FILE will only allow you to read it a line at a time. It is then up to you to split that string up (search for split string on this forum for methods) into it's individual components.
If the text file contains a standard structure on each line, i.e. it is a fixed delimited structure, then you could use external tables to read the data instead. -
How to read and write data from json file from windows phone7 app
Hi
I am developing wp7 app for the use of students my questions are
How can i write a code to read and write the json/text file for the wp7.
I am using windows 7 OS, VS 2010 Edition.
This is my code below:
xaml:
<Grid>
<TextBlock Height="45" HorizontalAlignment="Left" Margin="7,18,0,550" Name="textBlock1" Text="Full
Name: " />
<TextBox Width="350" Height="70" HorizontalAlignment="Left" Margin="108,1,0,0" Name="txtName"
Text="Enter your full name" VerticalAlignment="Top" />
<TextBlock Height="45" HorizontalAlignment="Left" Margin="6,75,0,0" Name="textBlock2" Text="Contact
No: " VerticalAlignment="Top" />
<TextBox Width="350" Height="70" HorizontalAlignment="Left" Margin="108,61,0,480" Name="txtContact"
Text="Enter your contact number" MaxLength="10" />
<Button Content="Register" Height="72" HorizontalAlignment="Left" Margin="10,330,0,0" Name="btnRegister"
VerticalAlignment="Top" Width="190" Click="btnRegister_Click" />
</Grid>
xaml.cs:
private void btnRegister_Click(object sender, RoutedEventArgs e)
string name, contact;
name = txtName.Text;
contact = txtContact.Text;
try
if (name != "" && contact != "")
string msg = name + " " + contact;
MessageBox.Show(msg);
Student stud = new Student
Name= name,
Contact = contact,
string jsonString = JsonConvert.SerializeObject(stud);
MessageBox.Show(jsonString);
else
MessageBox.Show("Input Proper Information", MessageBoxButton.OK);
catch (Exception ex)
MessageBox.Show(ex.Message);
I have download NewtonSoft.json version 5.0.8.
So, I am able to convert input data into json format, but how can I able to write and read this data from a json/text file.
How can I do?
Thank you in adv and please, reply soon.We don't have many samples left for Windows Phone 7 + Azure, the closest one to what you want to do is probably:
Using Local Storage with OData on Windows Phone To Reduce Network Bandwidth
this sample uses the local database feature: 'LINQ to SQL', available to Windows Phone 7.1 and 8.0 Silverlight applications, instead of simple file storage but even if you choose to stick with simple file storage I believe you should be able to adapt the
networking related portions of the sample to your particular application.
Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast
your votes for existing suggestions.
Maybe you are looking for
-
I have a first gen Apple TV with a 160 gig hard drive, it is nearly full with films and music, my iTunes library is well over 190 gig and climbing, the only way I can access all of my music and films is to have iTunes open on my Mac. I have now moved
-
Cannot make changes t oDTP - Source system does not exist
Hi, I cannot open my DTP to make changes. when I tried to double click I got this error Source system X01CLNT001 does not exist Message no. RSAR203 I have tried connection test from SM59 and there seems to be no problem. How do I resolve this? thanks
-
Post Author: mrae CA Forum: Formula My report lists Work Order Numbers with the corresponding technicians assigned to each. If a work order has more than 1 technician assigned to it, it's counting the record as more than 1 work order. I only want it
-
Anyone know of a way to find out if files are missing in my iTunes proactively?
I know that the circle with the ! shows up if a file is missing, but is there a way to run a diagnostic to find out if files are missing vs. just trying to play each and every song? I have over 6000 songs and want to verify they are all there. Any
-
does include need to be the first statement or it can be anywhere in the code . I have kept a break-point first and then an include statement. Will that work?