Skip to content

I've added a small queries to know since oracle is running.#7

Open
zoltix wants to merge 3 commits intojkstill:masterfrom
zoltix:master
Open

I've added a small queries to know since oracle is running.#7
zoltix wants to merge 3 commits intojkstill:masterfrom
zoltix:master

Conversation

@zoltix
Copy link

@zoltix zoltix commented Jan 31, 2020

I've added a small query to know since when Oracle is running.

Liegeois Laurent added 3 commits January 31, 2020 13:29
@showsrc.sql: show source of PL/SQL stored objects
@show-x-dollar-tables.sql: list of all x$tables
@sql-version-counts.sql: top 10 count of versions of SQL_ID
@startup_Date_time.sql: get Last Starstup Date time
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I didn't see this until just now.
I would prefer to keep filenames as all lower case

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. right.

-- get Last Starstup Date time

select
to_char(startup_time, 'HH24:MI DD-MON-YY') "Startup time"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hard coded date formats should be in ISO 8601 format

ie. 'YYYY-MM-DD HH24:MI:SS' works for dates

'YYYY-MM-DD HH24:MI:SSXFF' is good for timestamps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants