but the resize of columns are quite problematic.
Regards ...
--
Ezequias Rodrigues da Rocha
http://ezequiasrocha.blogspot.com/
use Mozilla Firefox:http://br.mozdev.org/firefox/
Hi list,
I would like to know if I set the debug mode to 2 (-l 2) in the pgAgent
connection string it could spend much cpu processing.
I have other things running in the server and I don't like to create problem
to others.
--
Ezequias Rodrigues da Rocha
http://ezequiasrocha.blogspot.com/
use
am correct and what does it means:
nextval('mySerial_id'::regclass)
What is regclass ?
Regards ,
--
Ezequias Rodrigues da Rocha
http://ezequiasrocha.blogspot.com/
use Mozilla Firefox:http://br.mozdev.org/firefox/
easy ?
And about the cast I have found ?
nextval('mySerial_id'::regclass)
I ask again. What is regclass ? What does it really is.
Ezequias
2007/3/11, Milen A. Radev [EMAIL PROTECTED]:
Ezequias Rodrigues da Rocha написа:
Hi list,
I know that serials must be created like this.
Actually
Hi list,
I would like to know if an statement like.
Insert into foo values (1,'Brazil');
Makes an ACID transaction. I am wondered if i must have a Begin...Commit
statemnt to garantee my ACIDs transactions.
Regards ,
--
Ezequias Rodrigues da Rocha
http://ezequiasrocha.blogspot.com/
use
Perfect. I just don't know what drivers you are talking about (odbc maybe).
More perfect is becouse you answare me in only 1 minute. What community
don't is ?
Ezequias
2007/3/11, Jonah H. Harris [EMAIL PROTECTED]:
On 3/11/07, Ezequias Rodrigues da Rocha [EMAIL PROTECTED] wrote:
Insert
Hi list,
Does someone have statistcs from PostgreSQL ? Numbers from the list,
performance statistics. I must argue with another person the idea of do not
put Oracle in our organization.
We are quite well with postgresql and I have no plans to change my
plataform.
Regards
--
Ezequias Rodrigues
You are correct. My pg (8.1.3)
Now what I do to remove it ?
Just delete the functions ?
Ezequias
2007/3/9, Chad Wagner [EMAIL PROTECTED]:
On 3/9/07, Ezequias Rodrigues da Rocha [EMAIL PROTECTED] wrote:
Thank you so much for your information. I installed the pgCrypto. Now I
have more than
Hi list,
Is it a simple action to convert a database from PostgreSQL to Oracle ?
I mean a simple database with
33 tables
8 functions
31 sequencies
2 triggers
1 type
3 views
Has someone any idea ?
--
Ezequias Rodrigues da Rocha
http://ezequiasrocha.blogspot.com/
use Mozilla Firefox:http
[EMAIL PROTECTED]:
At 12:22 PM 3/9/07, Ezequias Rodrigues da Rocha wrote:
Does someone have statistcs from PostgreSQL ? Numbers from the list,
performance statistics. I must argue with another person the idea of do
not put Oracle in our organization.
Performance should not be the *only
Thank you Jonah,
That isn't a decision taken but I will need to argue with the new team of my
new company. I can't see why but I will see how the things occurs.
Thank you again
Ezequias
2007/3/9, Jonah H. Harris [EMAIL PROTECTED]:
On 3/9/07, Ezequias Rodrigues da Rocha [EMAIL PROTECTED] wrote
of MD5 and know it is very good too. If someone could
tell me where MD5 is used I could be more relaxed.
My best regards to all
--
Ezequias Rodrigues da Rocha
http://ezequiasrocha.blogspot.com/
use Mozilla Firefox:http://br.mozdev.org/firefox/
2007/3/7, Chad Wagner [EMAIL PROTECTED]:
On 3/7/07
Hi list,
I know that there is a md5 internal function on postgresql, but I noticed
that it isn't the more secure today. I would like to know if there is a
SHA-1 function implemented yet of, if not, if the team has plan to introduce
it on PostgreSQL.
Regards ...
--
Ezequias Rodrigues da Rocha
Hi list,
It is possible to retrieve the time of a SQL statement leads to
execute ? I would like to put in my application how much time each
operation leads to finish.
Any suggestion ?
--
Ezequias Rodrigues da Rocha
http://ezequiasrocha.blogspot.com/
use Mozilla Firefox:http://br.mozdev.org
Degryse [EMAIL PROTECTED]:
note the time just before your operation starts
note the time just after it ends
show timeafter - timebefore
Ezequias Rodrigues da Rocha [EMAIL PROTECTED] 2007-03-06
14:20
Hi list,
It is possible to retrieve the time of a SQL statement leads to
execute ? I would like
EXPLAIN ANALYZE Is perfect but i have no idea of how to use it. My
resultset is retrieving my rows.
Another question that cames with the Analyze. PgAdmin return the time
to retrieve the data or all time to fill the grid on the SQL Editor.
--
Ezequias Rodrigues da Rocha
http
Hi list,
There is any function to increment with 1 some field.
For example. I have a table with a field that on each update it
incrementes a field that is allways configured to 0 before the
starting of updates.
Regards
--
Ezequias Rodrigues da Rocha
http://ezequiasrocha.blogspot.com/
use
Thank you but I must inc an specific row. How to do that ?
Ezequias
2007/3/6, Richard Huxton dev@archonet.com:
Ezequias Rodrigues da Rocha wrote:
Hi list,
There is any function to increment with 1 some field.
For example. I have a table with a field that on each update it
incrementes
Now that's ok. Thank you all. I just thought that there was a function
to inc an integer field in postgresql.
Best regards
Ezequias
2007/3/6, Andreas Kretschmer [EMAIL PROTECTED]:
Richard Broersma Jr [EMAIL PROTECTED] schrieb:
--- Ezequias Rodrigues da Rocha [EMAIL PROTECTED] wrote:
Thank
I did like this:
update base.destinationTable set MyCountField = MyCountField + 1 where
id = new.keyField_ID;
I think it works becouse my tests are ok.
My really thank you all.
Ezequias
2007/3/6, Richard Huxton dev@archonet.com:
Ezequias Rodrigues da Rocha wrote:
Thank you but I must inc
8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Atenciosamente (Sincerely)
Ezequias Rodrigues
I know it. Thank you so much.
Ezequias
Grettings from Brazil.
2007/3/1, Bart Degryse [EMAIL PROTECTED]:
update yourtable set passwordfield = md5(passwordfield)
watch out: md5 is irreversable! you can't un_md5
Ezequias Rodrigues da Rocha [EMAIL PROTECTED] 2007-03-01
15:08
John
Just another thing.
Why md5 function return a different string from user role of postgresql ?
It allways put an md5 string concated with another sequence of string.
Why does it occurs ?
Ezequias
2007/3/1, Ezequias Rodrigues da Rocha [EMAIL PROTECTED]:
I know it. Thank you so much.
Ezequias
5f4dcc3b5aa765d61d8327deb882cf99
current_usermd5
logstocksys 5f4dcc3b5aa765d61d8327deb882cf99
Show us some statements.
Ezequias Rodrigues da Rocha [EMAIL PROTECTED] 2007-03-01
16:02
Just another thing.
Why md5 function return a different string from user role of postgresql ?
It allways put
Perfect ! That's it.
Another information I doesn't have. Great to be part of this list.
Thank you
Adrian
2007/3/1, Adrian Klaver [EMAIL PROTECTED]:
On Thursday 01 March 2007 8:53 am, Ezequias Rodrigues da Rocha wrote:
I am just passing the database owner password (postgresql
autentication
Hi list,
it is possible to use case with character (1) ?
I am having problems to formate the SQL statement.
I have:
SELECT * FROM test;
a
---
A
B
C
SELECT a,
CASE WHEN a='A' THEN 'one'
WHEN a='B' THEN 'two'
ELSE 'other'
END
FROM test;
a | case
Now it is working. Thank you for your interest.
Ezequias
2007/2/28, Andrew Sullivan [EMAIL PROTECTED]:
On Wed, Feb 28, 2007 at 10:02:38AM -0300, Ezequias Rodrigues da Rocha wrote:
Hi list,
it is possible to use case with character (1) ?
I am having problems to formate the SQL statement
Hi list,
I just would like to know if it is possible to change the position of
a field in a table. I am seen in pgAdmin3 that there is a position but
on th is application I can't see if there is a place to do that.
Regards
Ezequias
---(end of
) that was not good for me.
Regards
Ezequias
2007/2/27, A. Kretschmer [EMAIL PROTECTED]:
am Tue, dem 27.02.2007, um 8:51:27 -0300 mailte Ezequias Rodrigues da Rocha
folgendes:
Hi list,
I just would like to know if it is possible to change the position of
a field in a table. I am seen
for each row in base.cartao.
You will then need to use UPDATE to adjust the values in each of those rows
to the other values you want.
Number 2 would need to be run over and over again – not a practical option
I imagine…
~p
-Original Message-
*From:* Ezequias Rodrigues da Rocha [mailto
-Original Message-
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Ezequias Rodrigues da Rocha
*Sent:* Monday, 26 February 2007 10:58
*To:* Phillip Smith
*Cc:* pgsql-sql@postgresql.org
*Subject:* Re: [SQL] Insert based in a select
The second statement works but only 1 row
Hi list,
Could someone help me with this problem
I have a table like this
Master table
id number
10 9898398398
20 9938378390
30 9873636736
and I want to make an insert into a table with this structure:
Secondary table
id(sequence), master_id
110
220
Hi lists,
Is there possible to change a bigint field (primary key) to a serial ?
If yes how it is possible ?
I was trying to do that but the pgadmin don't enable the change to sequence.
What is the problem my friends ?
Regards
Ezequias
http://ezequiasrocha.blogspot.com/
have to change mytable to the correct table name and run in psql or the
SQL Window of pgAdmin or wherever you usually run your SQL queries to get
what you want.
-Original Message-
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Ezequias Rodrigues da Rocha
*Sent
My Linux is reporting the following message:
DEBUG: Connection stats: total - 1, free - 0, deleted - 0
DEBUG: Checking for jobs to run
DEBUG: Sleeping...
DEBUG: Clearing inactive connections
DEBUG: Connection stats: total - 1, free - 0, deleted - 0
DEBUG: Checking for jobs to run
DEBUG:
CREDIT
2007-01-03CREDIT
Thanks in advande,
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
Hi list,
I would like a little help from you to get the sum value of various subsets
of my table.
My table is like this
id | type | value
1 C 10.00
2 C 15.00
3 W5.00
4 W3.00
Where C is credit and w is witdraw.
How do I sum all records with C and subtract
with it ?
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http
)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com/
2007/2/12, Richard Huxton dev@archonet.com:
Ezequias Rodrigues da Rocha wrote:
I mean really deadlock. Other transactions can't access the database
until
the main transaction is complete. A question:
PostgreSQL doesn't permit multiple transactions concurrently ?
PG has quite good
da Rocha wrote:
2007/2/12, Richard Huxton dev@archonet.com:
Ezequias Rodrigues da Rocha wrote:
I mean really deadlock. Other transactions can't access the database
until
the main transaction is complete. A question:
PostgreSQL doesn't permit multiple transactions concurrently ?
PG has
=aHR0cDovL3Blb3BsZS5wbGFuZXRwb3N0Z3Jlc3FsLm9yZy94emlsbGEvaW5kZXgucGhwPy9wYWdlcy9yb2J0cmVhdC5odG1s
Any information would be glad.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
,
41527,
41528,
)
end;
Commit;
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das
of my IN
statement.
:\
Any suggestion instead of change my max_stack_depth ?
Regards
Ezequias
2007/2/8, Joe [EMAIL PROTECTED] :
Hi Ezequias,
On Thu, 2007-02-08 at 14:50 -0200, Ezequias Rodrigues da Rocha wrote:
Hi list,
Could someone tell me what is wrong on this statement ?
Start
, 2007 at 03:13:16PM -0200, Ezequias Rodrigues da Rocha
wrote:
Any suggestion instead of change my max_stack_depth ?
Well, I suppose you could put the numbers in a temp table an NOT IN
on that.
A
--
Andrew Sullivan | [EMAIL PROTECTED]
The fact that technology doesn't work is no bar to success
this:
'1963-09-01'
'1963-09-01'::date
1963-09-01
And notthing
Thanks in advance.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http
;
a
1963-09-01
(1 row)
--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)
On 2/2/07, Richard Huxton dev@archonet.com wrote:
Ezequias Rodrigues da Rocha wrote:
Hi list,
I am trying to insert a record in a table with a date field but the
postgresql reports me the following
= B.field1 and A.field2 = B.field2
Ezequias Rodrigues da Rocha [EMAIL PROTECTED] 2007-02-02
14:48
Hi list,
I am making some data minning and would like to know if someone tell me
how to retrieve the duplicate records based in one or two fields of my
table.
Any help would be welcomed
by
field1, field2 having count(*) 1) B
where A.field1 = B.field1 and A.field2 = B.field2
Ezequias Rodrigues da Rocha [EMAIL PROTECTED]
2007-02-02 14:48
Hi list,
I am making some data minning and would like to know if someone tell
me how to retrieve the duplicate records based in one
.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http
45 Jan 31 08:36 postmaster.pid
[EMAIL PROTECTED] data]#
Can someone tell me how to solve this kind of problem ?
Ezequias
2007/1/30, Andrew Sullivan [EMAIL PROTECTED]:
On Tue, Jan 30, 2007 at 04:41:13PM -0200, Ezequias Rodrigues da Rocha
wrote:
So you are tell me that it is impossible
It was commented. Thank you Shoaib Mir
I must restart my server ?
Ezequias
2007/1/31, Shoaib Mir [EMAIL PROTECTED]:
Check for log_directory setting in your postgresql.conf file...
-
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)
On 1/31/07, Ezequias Rodrigues da Rocha [EMAIL
.
Regards...
Ezequias
2007/1/31, Ezequias Rodrigues da Rocha [EMAIL PROTECTED]:
It was commented. Thank you Shoaib Mir
I must restart my server ?
Ezequias
2007/1/31, Shoaib Mir [EMAIL PROTECTED]:
Check for log_directory setting in your postgresql.conf file...
-
Shoaib Mir
to create the folder manually, give the postgres user permission
for write on it and then restart the database server. This way you should be
able to set the log files in pg_log folder...
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)
On 1/31/07, Ezequias Rodrigues da Rocha [EMAIL
into log
# files
Ezequias
2007/1/31, Joe [EMAIL PROTECTED]:
On Wed, 2007-01-31 at 10:12 -0200, Ezequias Rodrigues da Rocha wrote:
I restart the server but the pg_log folder doesn't appears.
My log session is like this on postgresql.conf:
# These are only used
= on
and then restart the server. It should show up the log from then
onwards
---
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)
On 1/31/07, Ezequias Rodrigues da Rocha [EMAIL PROTECTED] wrote:
I really don't know how to set it. I created my pg_log on:
/var/lib/pgsql/data
...
-
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)
On 1/31/07, Ezequias Rodrigues da Rocha [EMAIL PROTECTED] wrote:
Great. Now the log is working. Thank you, Thank you, Thank you,
But my statement does not report an error anymore. I really confused
now.
Any suggestion ?
Ezequias
2007/1/31
)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com
, Ezequias Rodrigues da Rocha wrote:
I know there are many logs in postgresql but I don't have many
familiarity with all them.
It's not totally plain what you want to have happen -- whether you
want all queries, whether you merely want ERRORs to show up in your
logs, or whether you want only ERRORS
in postgresql but I don't have many
familiarity with all them.
Any help would be glad.
Regards ...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
(Sincerely)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http
...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than
. :(
2006/11/30, imad [EMAIL PROTECTED]:
You did not grant access privileges to schema.
Also GRANT administrators on the base schema as you did for the table.
--Imad
www.EnterpriseDB.com
On 12/1/06, Ezequias Rodrigues da Rocha [EMAIL PROTECTED] wrote:
Hi list,
I am having problem with grants
Hi list,
I would like to know if it is necessary to set my database to
autovaccum if the intent of my DB Manager is do not make any deletion
in any time.
If there is no deletions why autovaccum ok ?
Regards
Ezequias
---(end of broadcast)---
TIP
:
Ezequias Rodrigues da Rocha wrote:
Hi list,
I would like to know if it is necessary to set my database to
autovaccum if the intent of my DB Manager is do not make any deletion
in any time.
If there is no deletions why autovaccum ok ?
You need to vacuum from time to time anyway, even if you
Just a little question.
What is the interval of time the vacuum will run on my database ?
Ezequias
2006/11/30, Matthew T. O'Connor matthew@zeut.net:
Ezequias Rodrigues da Rocha wrote:
It is possible to set this up on PgAdmin ?
I don't know.
I need to shutdown the postgresql service
(Sincerely)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http
Uow !
1 to one m
select * from generate_series(1, 100);
In 5203 miliseconds (that's a great performmance). My server is not
quite good but the performance was great for me.
Thank you so much
Ezequias
2006/11/30, Aaron Bono [EMAIL PROTECTED]:
On 11/30/06, Ezequias Rodrigues da Rocha
Hi list,
I am having problem with grants and users on PostgreSQL.
I am using pgAdmin to connect like other user to test my permissions.
As the owner of the database I have criated two roles:
administrators (cannot connect)
ezequias (can connect)
I give permissions to a table I have:
GRANT
)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com
...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
Visitem:
http://www.michaeljfox.org/
http://www.youtube.com/watch?v=DKVfsjIp98w
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com/
Thank you so much andreas.
Regards
http://ezequiasrocha.blogspot.com
2006/11/16, A. Kretschmer [EMAIL PROTECTED]:
am Thu, dem 16.11.2006, um 16:31:14 -0200 mailte Ezequias Rodrigues da
Rocha folgendes:
Hi list,
I have a bigint collumn and I would like to generate a random number
within
random (used
like lottery).
Regards
Ezequias
2006/11/16, A. Kretschmer [EMAIL PROTECTED]:
am Thu, dem 16.11.2006, um 16:31:14 -0200 mailte Ezequias Rodrigues da
Rocha folgendes:
Hi list,
I have a bigint collumn and I would like to generate a random number
within the
numbers of my column
-0200, Ezequias Rodrigues da Rocha wrote:
Ok thank you very much, but the suggestion (SQL:when field = '2006-09-06'::date) does not retrieve any row. It does not retrive any error too, but the suggestion does not applied to my requisition.
I think you want to cast the field, not the constant, e.g
:00.00' and'2006-09-06 23:59:59.99'order by 2Is there a simplest way or not ? =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Atenciosamente (Sincerely)Ezequias Rodrigues da Rocha =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-A pior das
to bothEzequias2006/11/10, A. Kretschmer
[EMAIL PROTECTED]:amFri, dem 10.11.2006, um 12:50:38 -0200 mailte Ezequias Rodrigues da Rocha folgendes:
select * from base.table where when between '2006-09-06 00:00: 00.00' and '2006-09-06 23:59:59.99' order by 2
Is there a simplest way
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Atenciosamente (Sincerely)Ezequias Rodrigues da Rocha =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditadurasThe worst of democracies is still better than the better of dictatorships http://ezequiasrocha.blogspot.com/
Numeric(9,2)2006/10/31, Andrew Sullivan [EMAIL PROTECTED]:
On Tue, Oct 31, 2006 at 05:35:17PM -0200, Ezequias Rodrigues da Rocha wrote: Hi list, I did a trigger to update a points on a table but in some cases the PostgreSQL does a round of my Numeric like.
If = 0.5 so postgresql puts 1 If 0.5 so
Hi list,I did a trigger to update a points on a table but in some cases the PostgreSQL does a round of my Numeric like.If = 0.5 so postgresql puts 1If 0.5 so postgresql puts 0Did anybody knows if it is possible to control this matter ?
RegardsEzequias
Rodrigues da Rocha =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-A pior das democracias ainda é melhor do que a melhor das ditadurasThe worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com/
...-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-A pior das democracias ainda é melhor do que a melhor das ditadurasThe worst of democracies is still better than the better of dictatorships
. Is it correct ?
Regards...-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Atenciosamente (Sincerely)Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-A pior das democracias ainda é melhor do que a melhor das ditadurasThe worst
parameter passed ?I don't know I I made myself clear.RegardsEzequias-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-A pior das democracias ainda é
base.clients).I didn't try it but I suppose it will not work.Regards ...-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Atenciosamente (Sincerely)Ezequias Rodrigues da Rocha =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-A pior das democracias ainda é
Thank you very much Andrew. Now I learned.Best regardsFrom BrazilEzequias R. da Rocha2006/9/26, Andrew Sullivan [EMAIL PROTECTED]
:On Tue, Sep 26, 2006 at 09:35:18AM -0300, Ezequias Rodrigues da Rocha wrote:
I was trying to make something like this: Insert into base.neigborhood values (nextval
/ HH24:MI')order by 1Regards ...-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Atenciosamente (Sincerely)Ezequias Rodrigues da Rocha =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-A pior das democracias ainda é melhor do que a melhor das
...-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-A pior das democracias ainda é melhor do que a melhor das ditadurasThe worst of democracies is still better than
...-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Atenciosamente (Sincerely)Ezequias Rodrigues da Rocha =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Atenciosamente (Sincerely)Ezequias Rodrigues da Rocha =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still
Hi list,I would like to check if the types passed are of the same time of my declaration and not report an error.Is that possible ?How to do that ?is there any statement like is numeric or is varchar(12) ?
RegardsEzequias
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-A pior das democracias ainda é melhor do que a melhor das ditadurasThe worst of democracies is still better than the better of dictatorships
http
Hi list,
I have Id field that is used in all my database but my more often used parameter is a column called number that I have in more than 5000 magnetic cards, my question is.
How could I make a function to retrieve this Id just passing the number as parameter, just like:
getCardId(number:
Rodrigues da Rocha=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-A pior das democracias ainda é melhor do que a melhor das ditadurasThe worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com/
97 matches
Mail list logo