Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8790077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:33:31+00:00 2026-06-13T22:33:31+00:00

I have a spread sheet with content as below. EMPLOYEE_ID ATT_DATE ATT_TIME 1 10/9/2012

  • 0

I have a spread sheet with content as below.

EMPLOYEE_ID ATT_DATE    ATT_TIME
1           10/9/2012   10:47:00
1           10/9/2012   10:47:00
1           10/9/2012   10:48:00
1           10/9/2012   10:49:00
1           10/9/2012   10:55:00

I want to create insert statements from these values. so i wrote below formula to generate insert statements.

="INSERT INTO ATTENDANCE (EMPLOYEE_ID, ATT_DATE) VALUES('" & Attendance!A2 & "', to_date('" & TEXT(Attendance!B2,"dd-mmm-yyyy") & "','DD-MON-YYYY'));"

i want to add values in ATT_TIME column to above insert statements. but i’m unable to write formula correctly for that.

how could i add values in ATT_TIME column to my insert statements ?

PS: i’m using oracle database.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:33:32+00:00Added an answer on June 13, 2026 at 10:33 pm

    Did you try to_date('" & Attendance!C2 & "','HH24:MI:SS') ?

    Here is the complete query

    ="INSERT INTO ATTENDANCE (EMPLOYEE_ID, ATT_DATE, ATT_TIME) VALUES('" & Attendance!A2 & "', to_date('" & TEXT(Attendance!B2,"dd-mmm-yyyy") & "','DD-MON-YYYY'),to_date('" & Attendance!C2 & "','HH24:MI:SS'));
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a requirement to do some imports from an Excel spread sheet and
So I have this google script that I want to use to create charts
Like many, I have spreadsheet that draws data from over 40 text files as
I have an Excel spreadsheet that I have exported from some other program. It
i have a report that is attached to a query i want to display
I need help creating separate text files from each row in an excel spread
I have this code: $book = new Spreadsheet_Excel_Writer(); $book->send('book.xls'); $report =& $book->addWorksheet('sheet'); $i =
I have a django view that I want to return an Excel file. The
I'm attempting to port some content from TWiki to MediaWiki and whereas the former
I have written a WinForms app that uploads addresses from a spreadsheet, and geocodes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.