Forum: MySQL Jul 26th, 2008 |
| Replies: 6 Views: 2,498 Hello rich_m,
how are you?
I am afraid you will have to wait at the Greek calends.
Once MySql company had a wonderful oracle clone. It was MaxDB, formerly SAPDB. And lots of people thought... |
Forum: MySQL Jul 26th, 2008 |
| Replies: 5 Views: 1,227 hi velodrom
SELECT current_date() - INTERVAL 1 DAY AS "Help yesterday !",
current_date() + INTERVAL 1 DAY AS "for tomorrow never come !";
may also give some results.
krs, tesu |
Forum: MySQL Jul 25th, 2008 |
| Replies: 2 Views: 1,134 Hello
Your mistake! You cannot do that !
-----
tesu |
Forum: MySQL Jul 25th, 2008 |
| Replies: 5 Views: 1,227 next: today + 1
previous: today - 1 |
Forum: MySQL Jul 13th, 2008 |
| Replies: 1 Views: 2,287 Hi
There is a function LAST_INSERT_ID() what returns the last-created auto-increment value. So first insert parent data what creates a new auto-increment ID. Then insert row in child table where... |
Forum: MySQL Jul 13th, 2008 |
| Replies: 4 Views: 2,634 Hi jakesee
For better handling you need one root only. This can easily be done by defining a master root where all other roots can be formally connected to. Only this master root will not have a... |
Forum: MySQL Jul 12th, 2008 |
| Replies: 4 Views: 2,634 hi,
you may google Joe Celko trees
krs,
tesu |
Forum: MySQL Jul 2nd, 2008 |
| Replies: 3 Views: 1,607 that s true ! try it without _
-----
tesu |
Forum: MySQL Jul 2nd, 2008 |
| Replies: 11 Views: 4,119 Hi
Do below statements not work on mysql?
DELETE FROM accounts WHERE usrn = 'caughtusername';
COMMIT;
As nav33n already suggested.
krs, |
Forum: MySQL Jun 29th, 2008 |
| Replies: 1 Views: 888 Hi veledrom,
I think your SQL is syntactically not corret: If insert is done from result set given by select you must not use values part. Also, if you want to insert two values you must also... |
Forum: MySQL Jun 27th, 2008 |
| Replies: 4 Views: 6,196 Hi tuse
How are you?
Well, if you had access to grant table mysql.user you would have also been able to
SELECT User, Password FROM mysql.user. You got it? Yes, you would be able to hack... |
Forum: MySQL Jun 6th, 2008 |
| Replies: 10 Views: 4,677 Hello kutta_vin,
well, "forgotten to mention" has created some superfluous work. However it is rather simple to get the same result from your modified tables. Supposing a table act2(AccountId,... |
Forum: MySQL Jun 5th, 2008 |
| Replies: 10 Views: 4,677 Hi kutta_vin
this is really a hard task. Finally I have got the following solution:
select transaction, credit, debit, credit+coalesce((select sum(credit)
from act b where b.transaction <... |
Forum: MySQL Jun 4th, 2008 |
| Replies: 10 Views: 4,677 Welcome kutta_vin,
I really can't understand anything of your code and of that you are asking for. Perhaps you can give a small sample, for example on how the output of your select statement... |
Forum: MySQL May 24th, 2008 |
| Replies: 4 Views: 1,040 hi tanha,
standard SQL only allows one object per GRANT command. Possibly MySql also does not allow enumerative objects. If so, you should try
GRANT SELECT ON mysql.db TO 'user'@'localhost'... |