How to use Image field in SQL-7 for curvs
I sampling data from a NI-card. There will be a lot of data so I thought I should use Image-field in SQL-7 to save the hole curve. How do you do that?
I would suggest looking into the Database Connectivity Toolset. It has complete SQL functionality and uses ADO to connect to many types of databases. I have it and it comes with example programs which demonstrate how to write to and read from databases using SQL.
J.R. Allen
Similar Messages
-
Hello OTN,
My application is devided into several ADFLibs, one of them is CommonUI. It includes common skin and it is imported into every application part.
There are some images which should be available in different parts, so I decided to put them in CommonUI.
After deploying adflibCommonUI adn refreshing Resource Palette, somehow I expected to see this image there, but it isn't.
Could someone, please, explain me, how to use images contained in imported ADFLib, for example, as imageLink icon?
Thanks.
ADF 11.1.2.1Hi,
images need to be saved in a specific file structure in the JAR file to be accessible. See:
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/86-images-from-jar-427953.pdf
Frank -
How to save image files into SQL Server?
Hello, All:
Does anyone know how to save image files into SQL Server? Does the file type have to be changed first?? Please help me! Thank you!You need a BLOB field (usually)... Then you can check this tutorial out:
http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/exercises/BLOBPut/
There are other exercises on that site, including one on reading the images back. -
How to use Resever Field for Customer Master
Hi
My Client Requirement. Price should be determine with Sales ORG, Distribution channel, Division, Districts, Talukas and Villages.
But Talukas and villages are not available in SAP standard systems.
Is it possible to use reserver field in Customer Master for this purpose?
If it is ok then please give suggestion how to use this reserve fields.
Thanks in Advance
MadhuHello,
the system-behavior that you describe is standard behaviour, because
the fields which you are describe (village and ..) doesn't exist in structure KOMG.
For using this field in the field catalog you can proceed like this:
1. create a new field for example ZZvillage...
2. add the new field in the table T681F for the application 'V' and the
usage 'A'
3. add the field to the include-structure KOMKAZ
4. fill the new fields in the userexit for pricing
(Pricing_Prepare_TKOMK (TKOMP)
I hope that the information are helpful for you.
regards
Claudia -
How to use image maps in ADF 11g
Can somebody point me to code snippet for using image maps in JSF Page.
I just want to use image maps in my application..but i don't know how to use image maps in ADF.
-DeeptiHi chris,
My DataBase script is given in below
CREATE TABLE XXSR.SR_HIERARCHY
FORM_ID NUMBER,
FORM_NAME VARCHAR2(30 BYTE),
PARENT_FORM_ID NUMBER,
FORM_LOCATION VARCHAR2(1000 BYTE),
IMAGE_FILE ORDSYS.ORDIMAGE
I want to store the image in database from front end using ADF 11g
-Deepti
Edited by: 913387 on Feb 24, 2012 5:36 AM -
Can any one tell me how to use Image Prompt
Hi
Can any one tell me how to use Image Prompt in Answers?
Thanks
RahmanHad a look at this already?
http://download.oracle.com/docs/cd/E12103_01/books/AnyUser/AboutPrompts.html
Cheers,
C. -
How to use same Data Type and Length for two fields
How to use same data type and length for two fields when using 'FOR ALL ENTRIES IN' in a select statement? For instance the select queries are :
SELECT bukrs gjahr belnr lifnr budat bldat zlspr dmbtr waers shkzg
FROM bsik
INTO TABLE it_bsik
WHERE bukrs = p_bukrs
AND lifnr IN s_lifnr.
IF it_bsik IS NOT INITIAL.
SELECT belnr gjahr awkey awtyp
FROM bkpf
INTO TABLE it_bkpf
FOR ALL ENTRIES IN it_bsik
WHERE belnr = it_bsik-belnr
AND gjahr = it_bsik-gjahr.
IF it_bkpf IS NOT INITIAL.
SELECT belnr gjahr lifnr xblnr
FROM rbkp
INTO TABLE it_rbkp
FOR ALL ENTRIES IN it_bkpf
WHERE belnr = it_bkpf-awkey+0(10)
AND gjahr = it_bkpf-awkey+10(4).
ENDIF.
ENDIF.
Here it gives an error in the 3rd select query that 'When you use the addition "FOR ALL ENTRIES IN itab", the fields "GJAHR" and "IT_BKPF2-AWKEY+10(4)" must have the same type and the same length.'
Kindly clarify.Hi Saurabh,
Please see the example code that I have developed for you. It will help you solve the problem.
REPORT ZTEST_3 .
tables : BKPF.
data : begin of it_bkpf occurs 1,
belnr type RE_BELNR,
awkey type awkey,
awtyp type awtyp,
gjahr type GJAHR,
end of it_bkpf.
data : begin of it_bkpf1 occurs 1,
belnr type RE_BELNR,
awkey type gjahr, " change the data type
awtyp type awtyp,
gjahr type GJAHR,
end of it_bkpf1.
data : begin of it_rbkp occurs 1,
belnr type BELNR_D,
gjahr type gjahr,
lifnr type LIFRE,
xblnr type XBLNR,
end of it_rbkp.
select belnr
awkey
awtyp
gjahr
from bkpf
into table it_bkpf
where BUKRS = 'TELH'.
loop at it_bkpf.
it_bkpf1-belnr = it_bkpf-belnr.
it_bkpf1-awkey = it_bkpf-awkey+10(4). "Here only append the required length.
it_bkpf1-awtyp = it_bkpf-awtyp.
it_bkpf1-gjahr = it_bkpf-gjahr.
append it_bkpf1.
clear it_bkpf1.
endloop.
select belnr
gjahr
lifnr
xblnr
from RBKP
into table it_rbkp
for all entries in it_bkpf1
where belnr = it_bkpf1-belnr
This is just an example. Change the fields according to your requirement.
Regards
Abhii
Edited by: Abhii on Mar 9, 2011 9:08 AM -
How to use image and text in same component
Hello
Do you know how to use image and text in same component in java ?
because i need this in my project ,which is chat application , to
put the received text and any image if it is need within the textthanks levi_h
JTextPane class extends JEditPane and allows you to embed
images or other components within the text managed by the component -
How to use OEM to moniter sql server 2000
Hi,
I need to learn How to use OEM to moniter sql server 2000.
Can anyone help me and give me some website or documents
to read?
So I can learn to do this job.
Thanks.See Note 115302.1 in Metalink.oracle.com
in how to use OEM Diagnostic pack addon for SQL Server
Or search for
oem "user events"
to build your own monitor script. -
How can get a database like ****.SQL file for test in sqlplus in oracle8i
How can get a database like ****.SQL file for test in sqlplus in oracle8i,I am a beginner,thanks
I'll give it a guess as to what it is you want but I'm afraid you'll have to give some more information to go on. I appreciate it's difficult for people who are beginners or who don't have English as their first language.
Are you trying to run a SQL file? From SQL*plus you can do either of these:
SQL> start my_file
or
SQL> @my_file
N.B.: if th efile has a .sql extension you don't need to include it, but you do for any other file extension e.g.
SQL> @myfile.run
Here is the page Vijay referred to:
Re: Physical storage Checks & adding disk on server. I hope you find it useful.
You will more helpful links (including links to the Oracle on-line manuals at this page:
Re: How to attach a java bean in forms6i
good luck, APC -
How do use my ITunes balance to pay for Apps
How do use my ITunes balance to pay for Apps?
You just buy what you want. If you have a credit (balance), it is automatically used before you are billed (if you run over your balance).
How to manage unused iTunes Gift Card and Gift Certificate balances
"Each time you purchase content, iTunes will deduct funds from the credit until it's depleted." -
How can I extract the full SQL script for a schema?
Hi,
How can I extract the full SQL script for a schema?
I am looking for some method that needs jus SQL*Plus and preferably doesn’t need any extra tool.
Thank you,
AlanHow can I extract the full SQL script for a schema?What are you looking for? PL/SQL code? DDL for objects?
-
[Forum FAQ] How to use multiple field terminators in BULK INSERT or BCP command line
Introduction
Some people want to know if we can have multiple field terminators in BULK INSERT or BCP commands, and how to implement multiple field terminators in BULK INSERT or BCP commands.
Solution
For character data fields, optional terminating characters allow you to mark the end of each field in a data file with a field terminator, as well as the end of each row with a row terminator. If a terminator character occurs within the data, it is interpreted
as a terminator, not as data, and the data after that character is interpreted and belongs to the next field or record. I have done a test, if you use BULK INSERT or BCP commands and set the multiple field terminators, you can refer to the following command.
In Windows command line,
bcp <Databasename.schema.tablename> out “<path>” –c –t –r –T
For example, you can export data from the Department table with bcp command and use the comma and colon (,:) as one field terminator.
bcp AdventureWorks.HumanResources.Department out C:\myDepartment.txt -c -t ,: -r \n –T
The txt file as follows:
However, if you want to bcp by using multiple field terminators the same as the following command, which will still use the last terminator defined by default.
bcp AdventureWorks.HumanResources.Department in C:\myDepartment.txt -c -t , -r \n -t: –T
The txt file as follows:
When multiple field terminators means multiple fields, you use the below comma separated format,
column1,,column2,,,column3
In this occasion, you only separate 3 fields (column1, column2 and column3). In fact, after testing, there will be 6 fields here. That is the significance of a field terminator (comma in this case).
Meanwhile, using BULK INSERT to import the data of the data file into the SQL table, if you specify terminator for BULK import, you can only set multiple characters as one terminator in the BULK INSERT statement.
USE <testdatabase>;
GO
BULK INSERT <your table> FROM ‘<Path>’
WITH (
DATAFILETYPE = ' char/native/ widechar /widenative',
FIELDTERMINATOR = ' field_terminator',
For example, using BULK INSERT to import the data of C:\myDepartment.txt data file into the DepartmentTest table, the field terminator (,:) must be declared in the statement.
In SQL Server Management Studio Query Editor:
BULK INSERT AdventureWorks.HumanResources.DepartmentTest FROM ‘C:\myDepartment.txt’
WITH (
DATAFILETYPE = ‘char',
FIELDTERMINATOR = ‘,:’,
The new table contains like as follows:
We could not declare multiple field terminators (, and :) in the Query statement, as the following format, a duplicate error will occur.
In SQL Server Management Studio Query Editor:
BULK INSERT AdventureWorks.HumanResources.DepartmentTest FROM ‘C:\myDepartment.txt’
WITH (
DATAFILETYPE = ‘char',
FIELDTERMINATOR = ‘,’,
FIELDTERMINATOR = ‘:’
However, if you want to use a data file with fewer or more fields, we can implement via setting extra field length to 0 for fewer fields or omitting or skipping more fields during the bulk copy procedure.
More Information
For more information about filed terminators, you can review the following article.
http://technet.microsoft.com/en-us/library/aa196735(v=sql.80).aspx
http://social.technet.microsoft.com/Forums/en-US/d2fa4b1e-3bd4-4379-bc30-389202a99ae2/multiple-field-terminators-in-bulk-insert-or-bcp?forum=sqlgetsta
http://technet.microsoft.com/en-us/library/ms191485.aspx
http://technet.microsoft.com/en-us/library/aa173858(v=sql.80).aspx
http://technet.microsoft.com/en-us/library/aa173842(v=sql.80).aspx
Applies to
SQL Server 2012
SQL Server 2008R2
SQL Server 2005
SQL Server 2000
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Thanks,
Is this a supported scenario, or does it use unsupported features?
For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
in a supported way?
Thanks! Josh -
How to bind "Image Field" object on a database
Hi to all
I inserted into a dynamic PDF (Livecycle ES3 trial) an image field, but I don't understand how I can to bind a JPG into a database.
In (F5) preview... I'm able to open a image file on filesystem and visualize it on PDF form... but then? How to bind on database?
In my several tentatives I'm using a MS Access 2010 database table, where I defined a OLE object... but doesn't work.
Thank you at all.
visertHi,
I have not tried to do this, but this document provides some instructions.
http://partners.adobe.com/public/developer/en/livecycle/lc_designer_XML_schemas.pdfhttp://partners.adobe.com/public/developer/en/livecycle/lc_designer_XML_schemas.pdf
Hope it helps
Bruce -
Dynamic images using image field
Does anyone know how to dynamically send a pdf file to the image field of an Adobe form? I'm able to send tiff, jpg, and bmp files using an image field and graphic on the context, but I need to print a pdf file within an Adobe form. Does the pdf file need to be converted to tiff, jpg, or bmp? If so, how can this be done in abap?
Regards,
ZaneDoes anyone know how to dynamically send a pdf file to the image field of an Adobe form? I'm able to send tiff, jpg, and bmp files using an image field and graphic on the context, but I need to print a pdf file within an Adobe form. Does the pdf file need to be converted to tiff, jpg, or bmp? If so, how can this be done in abap?
Regards,
Zane
Maybe you are looking for
-
How to fix this problem "Cannot open the file "*****.INDD". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file may be open in another application."
-
DVD crashes computer in 10.6.2
I have a commercial DVD that will crash my Macbook Pro (10.6.2) 100% repeatably within a minute of inserting and playing the disc. The DVD player freezes, then the entire computer locks up requiring a hard reboot. Oddly, not every DVD will cause this
-
New update changed menu size and now have to scroll to see all. Reducing size of menu
The new update has changed the menu size of tool bars and any menu screen opened. Now have to scroll down and sideways to look at it. Can not fit to the screen. How do you change the resolution of the menu boxes and tool bars? My screen resolution is
-
Software restriction policy not working correctly
Ladies and Gents, we run a windows server 2008r2 environment. we have a software restriction policy in place for quite some time now and it's been working fine until about a week ago. here's how we have it setup: Enforce = All Software files except l
-
Where is the themes folder?
Had to re-install iDvd but it keep asking for this folder, how do I find it and where do I put it?