Attention to mark a. williams

Hi mark,
I am working as oracle developer in abank turkey.We are using oracle forms&reports in our application.I should write a thesis to become specialist in the bank.In my applications i want to do forms in oracle also in .net.How can i create the structure LOV(list of values in oracle forms) in .net.I couldn't find such a control in .net.This LOV structure can be created in .net programatically.There is no ready control like LOV in .net.How can create a LOV in .net environment.
I have bought your book:this is only source to apply my applications.
Can you also say:Can I load oracle 10g realease 2 to my computer(512 mb ram of dula channel(256*2)).How much ram do ineed for 10G Relaese 2.Your book suggests data provider version 10.1.0.200 there is no download in oracle site such a version.
İf i install .net 2003 and latest version of database oracle and also latest version of oracle data provider can i manage them.I want to install the whole programs in my computer.Which product should i install first(.net or database 10g).Can you give soma datas in order to easy download for 10gR2 and .net 2003 enterprice edition.
Thanks for your helps

I am not Mark, but here are some suggestion...
How can create a LOV in .net environment.As you already noticed, there is no such feature in .NET, therefor, you have to create your own LOV form.
Can I load oracle 10g realease 2 to my computer(512 mb ram of
dula channel(256*2)).How much ram do ineed for 10G Relaese 2I suggest you upgrade your RAM to minimum of 1GB so that there are more room available to run Oracle Form or .NET IDE. Alternatively you can use Oracle XE, which is more lightweght than 10gR2
İf i install .net 2003 and latest version of database oracle
and also latest version of oracle data provider can i manage themsame as above
I want to install the whole programs in my computer.
Which product should i install first(.net or database 10g)You might want to install ODT (Oracle Developer Tools) after installing VS.NET so that you can use Oracle Explorer from .NET IDE. You can install Oracle Database in any order.
Can you give soma datas in order to easy download for 10gR2
and .net 2003 enterprice editionYou can download oracle software here
http://www.oracle.com/technology/software/index.html
but, I don't think you can download full-deatured VS.NET, but you can still download VS.NET Express Edition from microsoft's homepage.
Cheers,
NH
Message was edited by:
nurhidayat

Similar Messages

  • Bind Variables

    Hi
    I have read happily the article The Values That Bind By Mark A. Williams (Oracle Magazine September/October 2005 ). Immediately I rushed to implement the article on over developers . The problem is that we have a SQL query using the in operators . For example : select col1,col2 ..coln from table where x in (value1,value2 ….).
    I such a case how can you \use the bind variables technique , which fit the queries in which each variable can have one value (e.g. select country_name
    from hr.countries
    where country_id = :country_id)
    I asked the following questions:
    ODP support Oracle spatial or at list using objects??
    Will ODP support oracle spetial???
    The answer are listed below.
    I tried using ODP bind variables technique using fixed array size and bind variables technique in ODP (the redundant vars were fulfilled with dummy values) . I used trace and tkprof (with SYS=NO) opposite oracle 9.2.0.5 and pare was equal to parse an fetch meaning : no reuse of execution plans.
    Do you have any IDEA????
    Best Regards
    David Yitzhak
    BSC (Information System), MBA
    .Net developer and Oracle and SQL Server Applicative /Infrastructure DBA
    From: Alex Keh [[email protected]]
    Sent: יום שני 10 אוקטובר 2005 23:50
    To: Ischack David; [email protected]
    Subject: Re: Securing a .NET Application on the Oracle Database
    David,
    In your example ("select col1,col2 ..coln from table where x in (value1,value2 ….)"), x is the name of a column, which does not need to have a bind variable. You can just put in a .NET variable representing the string value of the column name and concatenate the SQL statement together.
    We are planning to supprt objects and VARRAYs around January/February. From these, you can build your own Spatial data types. Today, most .NET Spatial users employ XML when using their Spatial data in .NET.
    Alex
    ----- Original Message -----
    From: Ischack David
    To: [email protected]
    Sent: Sunday, October 09, 2005 2:27 PM
    Subject: Securing a .NET Application on the Oracle Database
    Some questions about bind variables , objects , Oracle spatial and ODP
    Hi
    I have read happily the article The Values That Bind By Mark A. Williams (Oracle Magazine September/October 2005 ). Immediately I rushed to implement the article on over developers . The problem is that we have a SQL query using the in operators . For example : select col1,col2 ..coln from table where x in (value1,value2 ….).
    I such a case how can you \use the bind variables technique , which fit the queries in which each variable can have one value (e.g. select country_name
    from hr.countries
    where country_id = :country_id)
    ODP support Oracle spatial or at list using objects??
    Will ODP support oracle spetial???
    Best Regards
    David Itshak
    BSC (Information System), MBA
    .Net developer and Oracle and SQL Server Applicative /Infrastructure DBA
    From: John Cook [[email protected]]
    Sent: יום שלישי 11 אוקטובר 2005 4:15
    To: Ischack David
    Subject: Re: Some questions about bind variables , objects , Oracle spatialand ODP
    The situation you have described with multiple bind values is one I have considered. It's a problem. I think I can code a generic implementation, but doing so would take time away from activities that I get paid for.
    I haven't worked with Oracle Spatial.
    We'll have more articles on ODP.NET in the months ahead. I'm glad you liked Mark's article.
    ----- Original Message -----
    From: "Ischack David"
    To: [email protected]
    Subject: Some questions about bind variables , objects , Oracle spatial and ODP
    Date: Sun, 9 Oct 2005 23:27:24 +0200
    Some questions about bind variables , objects , Oracle spatial and ODP
    Hi

    Hi
    I have read happily the article The Values That Bind By Mark A. Williams (Oracle Magazine September/October 2005 ). Immediately I rushed to implement the article on over developers . The problem is that we have a SQL query using the in operators . For example : select col1,col2 ..coln from table where x in (value1,value2 ….).
    I such a case how can you \use the bind variables technique , which fit the queries in which each variable can have one value (e.g. select country_name
    from hr.countries
    where country_id = :country_id)
    I asked the following questions:
    ODP support Oracle spatial or at list using objects??
    Will ODP support oracle spetial???
    The answer are listed below.
    I tried using ODP bind variables technique using fixed array size and bind variables technique in ODP (the redundant vars were fulfilled with dummy values) . I used trace and tkprof (with SYS=NO) opposite oracle 9.2.0.5 and pare was equal to parse an fetch meaning : no reuse of execution plans.
    Do you have any IDEA????
    Best Regards
    David Yitzhak
    BSC (Information System), MBA
    .Net developer and Oracle and SQL Server Applicative /Infrastructure DBA
    From: Alex Keh [[email protected]]
    Sent: יום שני 10 אוקטובר 2005 23:50
    To: Ischack David; [email protected]
    Subject: Re: Securing a .NET Application on the Oracle Database
    David,
    In your example ("select col1,col2 ..coln from table where x in (value1,value2 ….)"), x is the name of a column, which does not need to have a bind variable. You can just put in a .NET variable representing the string value of the column name and concatenate the SQL statement together.
    We are planning to supprt objects and VARRAYs around January/February. From these, you can build your own Spatial data types. Today, most .NET Spatial users employ XML when using their Spatial data in .NET.
    Alex
    ----- Original Message -----
    From: Ischack David
    To: [email protected]
    Sent: Sunday, October 09, 2005 2:27 PM
    Subject: Securing a .NET Application on the Oracle Database
    Some questions about bind variables , objects , Oracle spatial and ODP
    Hi
    I have read happily the article The Values That Bind By Mark A. Williams (Oracle Magazine September/October 2005 ). Immediately I rushed to implement the article on over developers . The problem is that we have a SQL query using the in operators . For example : select col1,col2 ..coln from table where x in (value1,value2 ….).
    I such a case how can you \use the bind variables technique , which fit the queries in which each variable can have one value (e.g. select country_name
    from hr.countries
    where country_id = :country_id)
    ODP support Oracle spatial or at list using objects??
    Will ODP support oracle spetial???
    Best Regards
    David Itshak
    BSC (Information System), MBA
    .Net developer and Oracle and SQL Server Applicative /Infrastructure DBA
    From: John Cook [[email protected]]
    Sent: יום שלישי 11 אוקטובר 2005 4:15
    To: Ischack David
    Subject: Re: Some questions about bind variables , objects , Oracle spatialand ODP
    The situation you have described with multiple bind values is one I have considered. It's a problem. I think I can code a generic implementation, but doing so would take time away from activities that I get paid for.
    I haven't worked with Oracle Spatial.
    We'll have more articles on ODP.NET in the months ahead. I'm glad you liked Mark's article.
    ----- Original Message -----
    From: "Ischack David"
    To: [email protected]
    Subject: Some questions about bind variables , objects , Oracle spatial and ODP
    Date: Sun, 9 Oct 2005 23:27:24 +0200
    Some questions about bind variables , objects , Oracle spatial and ODP
    Hi

  • Maybe someone can help me on one of these issues

    i just felt like sending a VERY long rant to apple through the itunes feed back. so if someone believes they could help me, please take a few minutes to read this. i have just copied and pasted it.
    *SIDENOTE* I i have erased all itunes program files between unintstall and reinstall. i only kept music, pictures, videos, and apps when i did a super-erase-and-install of the latest itunes.
    i have the newest iTunes software. my music used to be in iTunes media>music folder, now all of a sudden, the "music folder is gone, and all the artist folders are mixed with "automatically add to iTunes, downloads, tones, podcasts, and TV shows" folders. and the "mobile applications" folder is in the "iTunes folder" which lies outside of the "iTunes media folder.
    (This has all come up since ios 5 BTW) ITUNES MATCH SHOULD NOT BE YOUR ONLY CONCERN
    ALSO i own 1854 songs, and when i try to manually manage music and videos for my iPhone 4 with ALL THE LATEST SOFTWARE, iTunes will not let me manage my music because it believes i have 26.9 GB and 3210 songs on my phone, and i only have 1854 songs as i mentioned before.
    ALSO smart playlists do not work on my phone that are made in iTunes, no matter what i set for a smart play list, all the songs within the playlist are shuffled no matter what i do.
    ALSO, mail does not push from my two YAHOO email addresses. It only pushes my @me.com address.
    ALSO i can no longer download media passes from the iTunes store on my iPhone, my only way of fixing this is to buy the pass on my computer, and i have to wait till the **** episodes are available in "purchased TV" episodes in the iCloud instead of them being available to download on my phone when they are available.
    ALSO, iCloud is supposed to backup my iPhone at night when it's charging, locked, and not in use right?? then why the **** does it never do that and it always says it's last backup was when i manually backed it up the previous Sunday night.
    all i have left to say is, whoever the **** "Tim Cook" is, needs to whip you people into shape and get your **** together before you lose this company again. Steve jobs isn't going to save you this time.. and i will mention I'm only 20 years old so i don't have any clue what your company's history was like before the iPod touch. i started buying apple products when the iTouch 2nd gen came out.
    if you guys keep up with this ****** software management, I'll find myself using whatever the newest DROID is 18 months from now after my 2 year contract with AT&T.
    Written from my iPhone 615-xxx-xxxx

    PGTHORNTON,
    re your battery. Please have a look at the thread Notebook battery is not getting re-charged paying special attention to Mark's post here. As your Notebook is within the 1 year guarantee you should have no problems getting a replacement.
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • Global temp table problem w/ODP?

    I'm using the current version of the ODP .NET data adapter to access a global temporary table on an Oracle
    9.2.0.4.0 server created with -
    CREATE GLOBAL TEMPORARY TABLE euik_dex_open_tasks_temp1
    (resource_id NUMBER,
    task_assignment_id NUMBER,
    task_id NUMBER,
    incident_id NUMBER,
    customer_product_id NUMBER,
    inventory_item_id NUMBER,
    contract_service_id NUMBER)
    ON COMMIT DELETE ROWS
    (See below for what is returned from the data dictionary for this table)
    If I use SQLPlus to insert a row into this table, then query the table immediately, I see the inserted row.
    If I use the same exact SQL through the ODP adapter, the ExecuteNonQuery statement returns the fact the 1 row was inserted. However, doing a SELECT from the table immediately after the INSERT, no rows are returned. See the .NET test ap, below.
    Also, note that if I use a global temp table made with ON COMMIT PRESERVE ROWS, the ODP adapter works fine.
    What am I doing wrong? Thanks in advance...
    Pat
    Private Sub TestTempTable()
    Dim Str1 As New System.Text.StringBuilder
    Dim Strx As New System.Text.StringBuilder
    Dim StrOut As New System.Text.StringBuilder
    Dim nInsert As Integer
    Dim nRow As Integer
    'Insert into the global temp table
    Str1.Append("INSERT INTO euik_dex_open_tasks_temp1(resource_id, " & vbCrLf)
    Str1.Append("      task_Assignment_id, " & vbCrLf)
    Str1.Append("     task_id, " & vbCrLf)
    Str1.Append("     incident_id, " & vbCrLf)
    Str1.Append("     customer_product_id, " & vbCrLf)
    Str1.Append("     inventory_item_id, " & vbCrLf)
    Str1.Append("     contract_service_id) " & vbCrLf)
    Str1.Append(" VALUES(1,2,3,4,5,6,7)" & vbCrLf)
    Dim cn As New Oracle.DataAccess.Client.OracleConnection
    Dim dr As Oracle.DataAccess.Client.OracleDataReader
    Dim cd As New Oracle.DataAccess.Client.OracleCommand
    Try
    cn.ConnectionString = "Data Source=XXX;User ID=mickey;Password=mouse;"
    cd.CommandType = CommandType.Text
    cd.Connection = cn
    cn.Open()
    'Run the query to load data in the temp table
    cd.CommandText = Str1.ToString()
    nInsert = cd.ExecuteNonQuery()
    MessageBox.Show(nInsert & " row(s) inserted.")
    'See if there are rows in the temp table
    Strx.Append("Select * from euik_dex_open_tasks_temp1")
    cd.CommandText = Strx.ToString()
    dr = cd.ExecuteReader
    nRow = 0
    While dr.Read
    StrOut.Append(dr(0) & vbCrLf)
    nRow = nRow + 1
    End While
    MessageBox.Show(nRow & " row(s) selected.")
    Catch ex As OracleClient.OracleException
    MessageBox.Show(ex.Message)
    Catch ex As Exception
    MessageBox.Show(ex.Message)
    Finally
    cn.Close()
    End Try
    End Sub
    OWNER     TABLE_NAME     TABLESPACE_NAME     CLUSTER_NAME     IOT_NAME     PCT_FREE     PCT_USED     
    INI_TRANS     MAX_TRANS     INITIAL_EXTENT     NEXT_EXTENT     MIN_EXTENTS     MAX_EXTENTS     PCT_INCREASE     
    FREELISTS     FREELIST_GROUPS     LOGGING     BACKED_UP     NUM_ROWS     BLOCKS     EMPTY_BLOCKS     AVG_SPACE     
    CHAIN_CNT     AVG_ROW_LEN     AVG_SPACE_FREELIST_BLOCKS     NUM_FREELIST_BLOCKS     DEGREE     INSTANCES     
    CACHE     TABLE_LOCK     SAMPLE_SIZE     LAST_ANALYZED     PARTITIONED     IOT_TYPE     TEMPORARY     
    SECONDARY     NESTED     BUFFER_POOL     ROW_MOVEMENT     GLOBAL_STATS     USER_STATS     DURATION     
    SKIP_CORRUPT     MONITORING     CLUSTER_OWNER     DEPENDENCIES     COMPRESSION
    APPS     EUIK_DEX_OPEN_TASKS_TEMP1                    10     40     1     255               
                   1     1     NO     N                                        
         1     1     N     ENABLED               NO          Y     N     NO     
    DEFAULT     DISABLED     NO     NO     SYS$TRANSACTION     DISABLED     NO          DISABLED     
    DISABLED

    Andrew,
    As David indicated if you do not wish to have "auto commit mode" you just need to use a transaction object to manually control the transaction.
    I'm just nervous at the idea of ODP.NET initiating interactions I am not aware of.I think it would be more fair to say "finishing interactions" in this case rather than "initiating interactions" but you could always just run a SQL trace from the database to see exactly what is happening if you are concerned.
    HTH,
    - Mark
    =======================================
    Mark A. Williams
    Oracle DBA
    Author, Professional .NET Oracle Programming
    http://www.apress.com/book/bookDisplay.html?bID=378

  • I purchased a DVD from the itunes store.  It is showing in my library on the computer, but after syncing, I can't find it on my iPad2.  It is not in Music and not in Videos.

    Is there anywhere else i should look?  Is there a secret to this?  First time I have bought a DVD.

    Hi Friend,
    In iTunes, you need to pay attention to mark/unmark the fields properly to everything runs well.
    Syncing your device with iTunes, open your device. In the Resume Tab, if you have marked "Just sync Music and Videos selected" and/or have unmarked "Manage Music and Videos manually", they mean you need manage which music/videos you want in your device.
    Go to Videos Tab, check if the video is there, but probably it is unmarked or something like this. Mark the blanked field and sync with your device again to see what happen.
    If sitll not working out, check how iTunes Match works. You maybe need to have an account in iTunes Match to share the video with other devices you have.
    Hope it will be helpful

  • Silly data types question involving strings

    what sort of data type do I need to do this operation
    I want this data to be inserted into table Term: 2002 T2
    OracleCommand cmd = new OracleCommand("INSERT INTO FILEONE(Term) VALUES ('2003 T2');", dbConn);
    it says I am using an invalid character which I am assuming is to do with data type or the way I am putting together my INSERT statement ...
    thanks,
    Lance

    What is FILEONE?
    insert into <TABLE> (<COLUMN>) values ...
    So you are inserting into the "term" column of table "fileone".
    Insert syntax can be found here:
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10759/toc.htm
    =======================================
    Mark A. Williams
    Oracle DBA
    Author, Professional .NET Oracle Programming
    http://www.apress.com/book/bookDisplay.html?bID=378

  • Default Namespace Support

    Hi,
    I am NOT using the XPath helper package. I am using xslprocessor.selectNodes() to get a nodelist.
    My xml document contains a default namespace, and I cannot change it.
    Is there a work around to the fact that default namespaces is not supported? I'm getting "Namespace prefix 'x' is used but not declared" on the following pl/sql line:
    guests := xslprocessor.selectNodes(xmldom.makeNode(xmldoc), '/xml/rs:data/z:row');
    I'm willing to jump through a few hoops, if necessary.
    Thanks for any insight!
    Regina

    Correction. Please use the following test case.
    1. Create an application and a project in JDeveloepr 11g.
    2. Add an XML document. catalog.xml, from the New Gallery.
    What doesn't generate an error.
    3. Copy the following XML documen to catalog.xml.
    <?xml version="1.0" encoding="UTF-8"?>
    <catalog xmlns:journal="http://www.xdk11g.com/xpath">
    <journal:journal journal:date="November-December 2008">
    <journal:article journal:section="ORACLE DEVELOPER">
    <title>Instant ODP.NET Deployment</title>
    <author>Mark A. Williams</author>
    </journal:article>
    </journal:journal>
    <journal date="March-April 2008">
    <article section="TECHNOLOGY">
    <title>Oracle Database 11g Redux</title>
    <author>Tom Kyte</author>
    </article>
    </journal>
    </catalog>
    4. Select Search>XPath Search.
    5. Add a namespace mapping with Add button.
    Prefix: journal
    URI: http://www.xdk11g.com/xpath
    6. Specify an XPath expression in Expression field.
    /catalog/journal:journal
    7. Click on OK. The jounal:journal node gets selected.
    What generates an error (the bug).
    8. Copy the following XML document to catalog.xml.
    <?xml version="1.0" encoding="UTF-8"?>
    <catalog xmlns="http://www.xdk11g.com/xpath/defaultNamespace">
    <journal date="November-December 2008">
    <article section="ORACLE DEVELOPER">
    <title>Instant ODP.NET Deployment</title>
    <author>Mark A. Williams</author>
    </article>
    </journal>
    <journal date="March-April 2008">
    <article section="TECHNOLOGY">
    <title>Oracle Database 11g Redux</title>
    <author>Tom Kyte</author>
    </article>
    </journal>
    </catalog>
    9. Add a namespace mapping with Add button for the default namespace. Specify prefix as empty.
    Prefix:
    URI: http://www.xdk11g.com/xpath/defaultNamespace
    10. Specify an XPath expression in Expression field.
    /catalog/journal
    11. Click on OK. The journal node does not get selected.

  • Variable type / Parameter

    I need to run in parallel 4 packages (and interfaces) in order to load 4 separate tables driven by a variable so a main package will call those 4 (sub) packages.
    1) Should I set up the variable as "Not persistent"? I just want to make sure it won't interfere from an interface to another (they will run in parallel) and I don't want to keep defining extra variables.
    2) What needs to be done to be able to pass the value to the variable (from the command prompt) in certain situation?    

    Hi,
    suppose that your variable is called MYVAR and your scenario FATHER, SON1, SON2, SON3, SON4.
    You need in this order
    Add a declare step of MYVAR in FATHER
    Add an evaluate step/assign step of MYVAR in FATHER
    Add a declare step of MYVAR in each SON.
    Compile your SON packege, paying attention to mark as startup MYVAR
    Make your 4 calls to scenario, putting under "Additional Variable" tab MYVAR into Variable and #MYPROJ.MYVAR as value.
    Let me know

  • XPath Search Bug

    JDeveloper version is 11g Production.
    The View>XPath Search feature has a bug.
    XPath Search does not support an XML document with a default namespace. For example if an XML document has the default namespace declaration
    xmlns="http://www.xdk11g/xpath" the XPath Search does not have a provision to add a namespace URI without a Prefix with the Add button.

    Correction. Please use the following test case.
    1. Create an application and a project in JDeveloepr 11g.
    2. Add an XML document. catalog.xml, from the New Gallery.
    What doesn't generate an error.
    3. Copy the following XML documen to catalog.xml.
    <?xml version="1.0" encoding="UTF-8"?>
    <catalog xmlns:journal="http://www.xdk11g.com/xpath">
    <journal:journal journal:date="November-December 2008">
    <journal:article journal:section="ORACLE DEVELOPER">
    <title>Instant ODP.NET Deployment</title>
    <author>Mark A. Williams</author>
    </journal:article>
    </journal:journal>
    <journal date="March-April 2008">
    <article section="TECHNOLOGY">
    <title>Oracle Database 11g Redux</title>
    <author>Tom Kyte</author>
    </article>
    </journal>
    </catalog>
    4. Select Search>XPath Search.
    5. Add a namespace mapping with Add button.
    Prefix: journal
    URI: http://www.xdk11g.com/xpath
    6. Specify an XPath expression in Expression field.
    /catalog/journal:journal
    7. Click on OK. The jounal:journal node gets selected.
    What generates an error (the bug).
    8. Copy the following XML document to catalog.xml.
    <?xml version="1.0" encoding="UTF-8"?>
    <catalog xmlns="http://www.xdk11g.com/xpath/defaultNamespace">
    <journal date="November-December 2008">
    <article section="ORACLE DEVELOPER">
    <title>Instant ODP.NET Deployment</title>
    <author>Mark A. Williams</author>
    </article>
    </journal>
    <journal date="March-April 2008">
    <article section="TECHNOLOGY">
    <title>Oracle Database 11g Redux</title>
    <author>Tom Kyte</author>
    </article>
    </journal>
    </catalog>
    9. Add a namespace mapping with Add button for the default namespace. Specify prefix as empty.
    Prefix:
    URI: http://www.xdk11g.com/xpath/defaultNamespace
    10. Specify an XPath expression in Expression field.
    /catalog/journal
    11. Click on OK. The journal node does not get selected.

  • Parameter type in stored procedure call

    What is the best way using ODP.net to reference the parameter type?
    I have several stored procedure in a Oracle 9i database.
    The database looks like:
    Name Null? Type
    FLTID NOT NULL NUMBER(10)
    PLANEID NOT NULL VARCHAR2(3)
    The call in my VB.net app is:
    cmd = New OracleCommand("AeronauticsUtils.Flights_insert", conn)
    cmd.CommandType = CommandType.StoredProcedure
    cmd.Parameters.Add(New OracleParameter("fID", OracleDbType.Int32, ParameterDirection.Input)).Value = row("FLTID")
    cmd.Parameters.Add(New OracleParameter("plnid", OracleDbType.Varchar2, ParameterDirection.Input)).Value = row("PLANEID")
    cmd.ExecuteNonQuery()
    cmd.Dispose()
    What should I use?
    OracleDbType.Int32
    OracleType.VarChar
    Types.OracleDecimal
    or something else?

    I use OracleDbType.Decimal for NUMBER columns and OracleDbType.Varchar2 for VARCHAR2 columns.
    Are you having issues?
    - Mark
    ===================================================
    Mark A. Williams
    Oracle DBA
    Author, Professional .NET Oracle Programming
    http://www.apress.com/book/bookDisplay.html?bID=378

  • String manipulation

    I am trying to read in a CSV file and then use the data contained in the CSV file to insert data into a database.
    I am programming in C#
    in order to do this I set up a StringReader object, open the file and read the file to the end into a string.
    To retreive each individual line I do a:
    string[] tokens = text.split('\n')
    which successfully splits up the text string into the tokens array, inserting single strings into each element.
    After this I try to repeat the procedure in order to retreive single values out of the tokens[index] strings so as to insert them into a database; herein my problem lies.
    so I have a string that looks something like this in each token array element:
    "a,b,c,d,e,f,g,h,i,etc"
    I do virtually the same operation:
    foreach(string s in tokens)
    string parts[] = s.Split(',');
    for(int i =0; i < parts.Length(); i++)
    //insert values into database
    The problem is here that splitting up each string into parts is giving me an empty array ... from what I understand it should give me an array of elements like so:
    parts[0]: "a"
    parts[1]: "b"
    parts[2]: "c"
    etc ...
    any clues you could help me with would be greatly appreciated.
    Lance

    Have you looked at just using SQL Loader to load the data straight into the database? SQL Loader was born to do this sort of stuff.
    - Mark
    =======================================
    Mark A. Williams
    Oracle DBA
    Author, Professional .NET Oracle Programming
    http://www.apress.com/book/bookDisplay.html?bID=378

  • None of the music I downloaded is showing in my library. How can I get this back?

    I have an itunes account and have lots of music I have downloaded. I no longer have an iphone, but my music appears to be no longer available to me, even though it's all paid for. How can I access my music from my pc when it's not available in my library? Thank you

    Hi Friend,
    In iTunes, you need to pay attention to mark/unmark the fields properly to everything runs well.
    Syncing your device with iTunes, open your device. In the Resume Tab, if you have marked "Just sync Music and Videos selected" and/or have unmarked "Manage Music and Videos manually", they mean you need manage which music/videos you want in your device.
    Go to Videos Tab, check if the video is there, but probably it is unmarked or something like this. Mark the blanked field and sync with your device again to see what happen.
    If sitll not working out, check how iTunes Match works. You maybe need to have an account in iTunes Match to share the video with other devices you have.
    Hope it will be helpful

  • Oracle 8i connection problem

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    - Date/Time
    - Browser + Version
    - O/S + Version
    - Error Msg
    I have the Oracle 8i personal edition for win 98. I've installed the software and I'm able to use SQL *Plus. But when I try connecting to server manager to create a tablespace, I can't.
    I'm logged in as Scott/Tiger.
    I'm unable to connect as internal with the password manager.
    I get an Error Msg: "ORA-01031: insufficient privileges"
    Where am I going wrong? Is there any other way to connect to server manager?
    Is there a different userid or pwd? The software is installed at home and there are no admins involved.
    Also, can someone tell me where to find Oracle 8 for windows?

    Have you patched either the 8i or 10g installations? There is a bug (3437884) that makes the 10g software not able to connect to versions of 8i below 8.1.7.4 - the bug is fixed in the 10.1.0.3.0 patchset. So, if you patch the 8i installation to 8.1.7.4.x you can connect using the 10.1.0.2.0 software. Or you can patch the 10.1.0.2.0 software to 10.1.0.3.0 - however there is another bug (3870317) that prevents any additional components from being installed into a 10.1.0.3.0 home. So, if you patch to 10.1.0.3.0 make sure you have installed all the components you will need to into that home before patching. The workaround for this particular bug is a complete uninstall and re-install.
    Sorry for the long-winded response, but hope that helps.
    - Mark
    ===================================================
    Mark A. Williams
    Oracle DBA
    Author, Professional .NET Oracle Programming
    http://www.apress.com/book/bookDisplay.html?bID=378

  • Help need to solve in calculating the grades of students

    select * from std where cno = 'CS 130' and csno= 2 and sfname='Yvonne';
    SFNAME SLNAME CNO CSNO AC MARKS
    Yvonne Williams CS 130 2 PA 77
    Yvonne Williams CS 130 2 QZ 92
    Yvonne Williams CS 130 2 QZ 76
    Yvonne Williams CS 130 2 QZ 99
    Yvonne Williams CS 130 2 QZ 99
    Yvonne Williams CS 130 2 HW 92
    Yvonne Williams CS 130 2 HW 91
    Yvonne Williams CS 130 2 HW 74
    Yvonne Williams CS 130 2 HW 74
    Yvonne Williams CS 130 2 Mi 92
    Yvonne Williams CS 130 2 Fi 77
    11 rows selected.
    Select * from gpol where cno = 'CS 130' and csno= 2;
    CNO CSNO GP PTAKEN D
    CS 130 2 Final Exam 30
    CS 130 2 Homework 20 Y
    CS 130 2 Midterm Exam 20
    CS 130 2 Participation 10
    CS 130 2 Quiz 20 Y
    here D= drop lowest. PTAKEN is the percentage taken. According to these 2 tables I have to drop the lowest score in HW and QZ and find the average of the remaining scores. After that according to the grading policy I have to calculate the grade points. Like this there are many courses and different grading policies.
    Any help is really appreciated.
    Thanks
    Smitha

    Hi Hoek and Frank,
    Thnks for ur replies. I tried Hoek method also. It didn't work. let me tell u in detail with giving information about the tables used here. Plz hav pateince 2 read it.
    1) create table student (
    ID varchar2(7) not null,
    sfname varchar2(20) not null,
    slname varchar2(20) not null,
    constraint id_pk primary key (ID)
    I'm just displaying a part of output here
    SQL> select * from student;
    ID SFNAME SLNAME
    CS00000 Jeff Runyan
    CS00001 J. Landry
    CS00002 Laetia Ension
    CS00003 Z.A. Scrittorale
    CS00004 Sarah Wilson
    CS00005 Irv Dalvi
    CS00006 Daniel Wicelinski
    CS00007 Michael Carcia
    CS00008 Roy Limate
    CS00009 J. Segall
    CS00010 Gerard Biers
    2) create table section (
    cno char(6) not null,
    csno number(1) not null
    check (csno<10),
    slno char(3) not null
    constraint sec_pk primary key (slno),
    constraint cn_uk unique (cno, csno)
    SQL> select * from section;
    CNO CSNO SLN
    CS 10 2 000
    CS 20 2 001
    CS 20 4 002
    CS 20 7 003
    CS 20 8 004
    CS 25 1 005
    CS 25 2 006
    CS 25 3 007
    CS 25 4 008
    CS 25 5 009
    CS 25 6 010
    3) create table course (
    cno char(6) not null,
    descript varchar(40) not null,
    cost number(8,2),
    prereq char(6),
    credit number(1) default '3' not null,
    constraint cn_pk primary key (cno)
    SQL> select * from course;
    CNO DESCRIPT COST PREREQ CREDIT
    CS 10 DP Overview 1195 3
    CS 20 Intro to Computers 1195 3
    CS 25 Intro to Programming 1195 CS 140 3
    CS 80 Structured Programming Techniques 1595 CS 20 3
    CS 100 Hands, On Windows 1195 CS 20 3
    CS 120 Intro to Java Programming 1195 CS 80 3
    CS 122 Intermediate Java Programming 1195 CS 120 3
    CS 124 Advanced Java Programming 1195 CS 122 3
    CS 125 JDeveloper 1195 CS 122 3
    CS 130 Intro to Unix 1195 CS 20 3
    CS 132 Basics of Unix Admin 1195 CS 130 3
    4) create table activity (
    AID char(2) not null,
    activity varchar2(7) not null
    check (activity in ('Final', 'Midterm', 'Project', 'PA', 'PA_1', 'PA_2', 'PA_3', 'PA_4’, 'PA_5', 'PA_6', 'PA_7', 'PA_8', 'PA_9', 'PA_10', 'PA_11', 'PA_12', 'HW', 'HW_1', 'HW_2', 'HW_3', 'HW_4', 'HW_5', 'HW_6', 'HW_7', 'HW_8’,
    'HW_9', 'HW_10', 'QZ', 'QZ_1', 'QZ_2', 'QZ_3', 'QZ_4')),
    constraint aid_pk primary key (AID)
    AI ACTIVIT
    00 Midterm
    01 Project
    02 QZ
    03 QZ_1
    04 QZ_2
    05 QZ_3
    06 QZ_4
    07 PA
    08 PA_1
    09 PA_2
    10 PA_3
    5) create table studentrecord (
    ID varchar2(7) not null,
    slno char(3) not null,
    aid char(2) not null,
    marks number(3) not null
    check (marks <= 100),
    constraint idsr_fk foreign key (ID)
    references student (ID) on delete set null,
    constraint slsr_fk foreign key (slno)
    references section (slno) on delete set null,
    constraint aidsr_fk foreign key (AID)
    references activity (AID) on delete set null
    SQL> select * from studentrecor
    ID SLN AI MARKS
    CS00000 000 07 91
    CS00000 000 03 76
    CS00000 000 04 90
    CS00000 000 05 83
    CS00000 000 06 73
    CS00000 000 21 76
    CS00000 000 22 75
    CS00000 000 23 98
    CS00000 000 24 98
    CS00000 000 00 76
    CS00000 000 31 91
    ID SLN AI MARKS
    CS00001 001 07 91
    CS00001 001 03 76
    CS00001 001 04 90
    CS00001 001 05 83
    CS00001 001 06 73
    CS00001 001 21 76
    CS00001 001 22 75
    CS00001 001 23 98
    CS00001 001 24 98
    CS00001 001 00 76
    CS00001 001 31 91
    Now I created a view based on these tables as
    CREATE OR REPLACE VIEW std AS
    SELECT sfname, slname, section.cno, csno, substr (activity, 1, 2) as activity, marks FROM student, studentrecord, section, course, activity WHERE student.id= studentrecord.id and studentrecord.slno = section.slno and section.cno = course.cno and studentrecord.aid = activity.aid ;
    6) create table gp (
    gpno char(2) not null,
    gp varchar2(13) not null
    check (gp in ('Final Exam', 'Midterm Exam', 'Project', 'Participation', 'Quiz', 'Homework')),
    constraint g_pk primary key (gpno)
    GP GP
    00 Participation
    01 Project
    02 Final Exam
    03 Midterm Exam
    04 Quiz
    05 Homework
    7) create table gpcourse (
    slno char(3) not null,
    gpno char(2) not null,
    ptaken number(3) not null
    check(ptaken <=100),
    dropl char(1)
    check (dropl in (‘Y’)),
    constraint s_fk foreign key (slno)
    references section (slno) on delete set null,
    constraint g_fk foreign key (gpno)
    references gp (gpno) on delete set null
    SQL> select * from gpc
    SLN GP PTAKEN D
    000 02 30
    000 05 20 Y
    000 03 20
    000 00 10
    000 04 20 Y
    001 02 30
    001 05 20 Y
    001 03 20
    001 00 10
    001 04 20 Y
    002 00 25 Y
    SLN GP PTAKEN D
    002 01 75
    003 02 60
    003 03 40
    004 02 60
    004 03 40
    005 02 50
    005 05 10 Y
    005 03 25
    005 00 5
    005 04 10
    006 02 30
    Now i created one more view
    CREATE OR REPLACE VIEW gpol AS
    SELECT section.cno, csno, gp, ptaken, dropl FROM gp, gpcourse, section, course WHERE gpcourse.slno= section.slno and section.cno= course.cno and
    gp.gpno = gpcourse.gpno;
    Now let me know where I'm going wrong?

  • OracleDataAdapter and DataSet

    I'm beginner with ODT for VS .NET.
    I can't add Oracle data adapter to dataset generated previously. As s result I have dataset that contains only one datatable. Oracle Connection is inaccessible from dataset designer or from dataset configuration vizard. How can I add in the dataset more than one datatable as it can be done with Oracle data provider for OLE DB?
    Sincerely
    Eugene V. Buzin.
    October 4.2006.

    Dear all,
    I also followed now that discussion. I did it like explained above. Now I have a dataset with all the relations, but with no connection to the database. If I run this testform, both dataGridViews where displayed in a Master/Detail way, showing all columns but without data on it.
    When debugging I found out, that there are no more commands in the auto-generated code which connect to DB. Also in the dataset-View I cannot configure these tables anymore ( I can add columns, but not configure )
    So is this realy the best way to combine the OracleDataProvidor with MS-Visual Studio 2005 ??
    If it is, I guess most of the programmers will decide for the MS-Driver for Oracle, because it is much easier to handle.
    I am looking now for more then 3 weeks for a solution, also read Mark A. Williams "Pro .NET Oracle Programming" which was useful, but could not answer questions concerning the "read doing" in Visual-Studio 2005.
    Please, does anybody have more detaild info how to work best with OracleDataProvidor inside VS2005.
    thank you sooo much.

Maybe you are looking for

  • To get the values from func. module

    c i have used a func. module to calculate the values of date , i wrote a subroutine i want the values of this to be dispalyed on the list... now how do i get them to the list output, i mean how do i assign to the fieldcatalog????? thanks, CAPC

  • How can I display appraisals in "employee search(MSS)"?

    I created a new iView that is copied from employee search of MSS . <pcd:portal_content/com.sap.pct/line_manager/com.sap.pct.erp.mss.bp_folder/com.sap.pct.erp.mss.iviews/com.sap.pct.erp.mss.hcm/com.sap.pct.erp.mss.generalinfo_employeesearch> I changed

  • Regd : Error during saving the  sales order for Variant configuration

    Hi - When the item( config material) is saved in the sales order , system scheduled the production order and getting an error as " Posting Rule for Assembly order for item 000010 could not be generated". Any solutions regarding the error.

  • Actual start date in order

    In any of my order type i cant see actual start and actual finish date and it remains blank though order gets completed. Wat can be a possible reason or is there any specific settings for that ???

  • I want to format my hardrive, how do I keep Firefox and all my browser stuff saved

    I will be formatting my hard rive soon, I need to find out how I can save my firefox settings the way it is now cause I use Firefox for work.