473,386 Members | 1,817 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How fetch 2nd last record for timestamp on same Date.

I have 5 records in Create_date column

'2015-11-24-01.02.59.684000'
'2015-11-24-02.02.59.684000'
'2015-11-24-03.02.59.684000'
'2015-11-24-04.02.59.684000'
'2015-11-24-05.02.59.684000'

I need 2nd last low each time when I will fetch records.
Nov 26 '15 #1
0 1551

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Sugapablo | last post by:
How do you convert a unix timestamp to date('Y-m-d H:i:s')?
1
by: Ann | last post by:
Hello everyone, hope someone can help me with this. I have a SQL stored procedure that inserts a record into a table, creates a cursor to fetch the last record that was added to get the unique...
2
by: Jitender Kumar C | last post by:
Hi, I want to extract date part (mm/dd/yy or any other date format) of Timestamp in postgreSQL. Can anyone help me out how I can proceed?. Regards, Ch.V.J. Kumar |Associate Consultant |...
5
by: whitsey | last post by:
Hi, I can easily convert a TIMESTAMP to a DATE which will give me results in the format 'DD/MM/YYYY' however, what I want to do is convert the TIMESTAMP to just 'MM/YYYY' or even better...
2
by: Yash3 | last post by:
Hey I am trying this create or replace FUNCTION DatesPast ( v_dueDate Timestamp ) RETURN NUMBER AS DaysPast DATE BEGIN
1
by: sarveshac | last post by:
-------------------------------------------------------------------------------- In my table two rows in one column contains same record and whenever i retrive record it escapes similar record...
8
Alireza355
by: Alireza355 | last post by:
I have two tables: table1: number explanation 10 something here 11 something here 12 something here 13 something...
0
by: Van Fitz | last post by:
I am importing an excel worksheet into an existing access 2000 table using TransferSpreadsheet. Im using a timestamp field as well in this table. This is going well, however, once the data is...
0
by: praka88 | last post by:
I am a student and I need to develop a project using vb6.0 as front end and oracle as back end . how to solve a fetch the previous and last record in oracle using v b6.0
1
LeighW
by: LeighW | last post by:
Hello, I used Allen Browne's method of assigning default values from the last record which is especially helpful when adding a new record to filtered records. Using his method I had to create a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.