Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: chicago1985
  • Order by date
  1. chicago1985

    Checking if same values

    I currently have two String objects I check to find out if they are the same value: String str1 = "red"; String str2 = "yellow"; if (str1.equals(str2)){ System.out.println("Equal"); } else{ System.out.println("Not equal"); }Now how would I check 10 objects to find out if any of them...
  2. chicago1985

    Prevent duplicate data

    Thanks!
  3. chicago1985

    Prevent duplicate data

    Thanks it worked great. I assume in the future if I have 14 fields in one table I will have to manually input each one: alter table maintable add constraint maintable_myNamehere unique (valdata, fid, fid2, fid3, anotherfld, another2, another3, another4, another5, another6, another7...
  4. chicago1985

    Prevent duplicate data

    I would like to make sure there are no duplicate data entries in my Oracle 9i table (called MainTable) which has an Id field that is the primary key, ValData with a varchar data type, Fid and Fid2 are number data types. Id ValData Fid Fid2 1 abc 34 2 2 efg 23 34 3...
  5. chicago1985

    Show Data

    I encrypted data using Cold Fusion (Web Server side language) for data entry into my Access 2003 database.. Now I will be using an Access Form to show the data. Anyway to decrypt Access 2003 data that was encrypted by Cold Fusion?
  6. chicago1985

    Show decrypted value

    Sorry I meant to say I was using encrypt and not sure how to decrypt when users need to use an Access Form to view the Access Data that was ecrypt using Cold Fusion. Please advise.
  7. chicago1985

    Show decrypted value

    I have encrypted a field value using Cold Fusion (cfencrypt) on my form entries into an Access 2003 database. How can I decrypt the value if I am using an Access Form to show the data?
  8. chicago1985

    Closing Database issue in new method

    Thanks, its now working with no Oracle database closing issues or leaks. I had this in the OtherClass as my connection using the no arg constructor. I was told that this is a major blunder and not the way to work with JDBC: public OtherClass() { //bad JDBC here? connection = new...
  9. chicago1985

    Closing Database issue in new method

    I have a method that inserts data into my Oracle 9i database with no problems or Database closing issues: public class MainClass { public PreparedStatement preparer; public Connection connection; public MainClass() { connection = new DbConnectionClass().getConnection(); } public int...
  10. chicago1985

    Creating method for ResultSet statement

    I have a repeated resultset object that I use alot to execute a statement that fetches max id from a table. I was wondering if I can put it in a method and call the method each time I need the max id? The repeated part is: Resultset rs = statement.executeQuery("select max(id) from...

Part and Inventory Search

Back
Top