Hi All, Below is the code which is used to run the query from Oracle Database and load them to CSV files using Scala. object Main { def main(args: Array[String]): Unit = { /* Local connection details*/ val dbUser = "dbusernameo" val dbPassword = "dbpassword" val dbURL = "jdbc:oracle:thin:@11.2.4.80:1234:databasename" val configQuery = """ SELECT First_Name,Last_Name,Middle_Name,Student_Number ,Grade_Level,Enroll_Status,Gender from Students Where rownum<2 """ val conConfig = OracleConnect.connJdbc(dbUser, dbPassword, dbURL) val statement = conConfig.createStatement() ...