« first day (1047 days earlier)      last day (3271 days later) » 

7:46 AM
Hello
I have question where i am stuck
and need help :(
I have a query which has a previously static timestamp and I have to extract the data depending on this timestamp.But now I have a KPI_DEFINITION table which user can modify from the UI and can change the timestamp anytime and I have to extract the data depending on this timestamp.The KPI_DEFINITION has the column frequency_unit which is in the form NUMBER data type and it has the value 30 for now but the user can change it anytime and has frequency_unit_time column which is varchar datatype and contains MINUTES or HOURS. So if we combine both the columns it says i have to extract the data
 
 
1 hour later…
9:04 AM
hi
 
 
10 hours later…
7:05 PM
Hello I have a noob question I think
How can I connect to my local postgresql server but not to particular database ?
So I can check all my databases and then choose one
So far I was always connecting to particular database
When I try to not provide database name I always get "FAIL: database <user_name> does not exist" message
OK nevermind, I found that when I connected to particular database, I can still check others and switch to them.
\l - lists all databases; and when I want to connect to any of them I just: \c <db_name>
 

« first day (1047 days earlier)      last day (3271 days later) »