#mysql - Fri 23 Mar 2007 between 14:33 and 14:45



NatureTMyou mean for remote desktop logins?
craigbass1976is there a way to select and then insert the data into another table all in one go? What's the process called?
seekwill!m craigbass1976 insert select
the_wenchcraigbass1976 see http://dev.mysql.com/doc/refman/5.0/en/insert-select.html
craigbass1976Yep, I jsut foudn it. DIdn't realize it was a Doh! thing. :)
Chris8494hmm - I found a log file under mysql data folder, but I cannot read it
MarupaCould someone please explain further upon what jwl007's attempt to explain to me?
craigbass1976Marupa, were you in bash alst night?
Marupayeah.
craigbass1976Ok, thought you looked familiar
Marupahehe
craigbass1976It was the capital M that gave you away...
theacolyteI may be riding the shortbus here but, I'm working on installing the reqs for Groundwork, and it says you have to install MySQL-shared-pro.. I've never heard of that package, have you?
Chris8494Marupa - if I understand what you are trying to do, it seems like you are trying to do a short-cut version of what I do
MarupaI dunno what you're trying to do, so dunno.
Chris8494I get a row, load the values into the vars, output the vars, then get the next row, in a loop on the query
Marupayep
exactly what I want to do. And I _know_ there's a way to shortcut it.
Chris8494well, good luck with that ;-)
I opersonally think that the long way is more readable, thus more maintainable
-o
yo
yohi people, I have a simple question.
Chris8494or rather, yo yo ;-)
Marupaeh. I just make 'readable' via comments :3
THC4kso just a quick question, is there a *fast* way to get the number of rows in a database?
snoyesSELECT COUNT(*) FROM table; is fast for MyISAM.
Chris8494select count(1) from <table>
yohehe, how can I INSERT into a field "password" with MD5?
Chris8494count(1) will not bother reading the columns ;-)
THC4kdoh i totally forgot about count -.- thanks guys
snoyesINSERT INTO table SET password = MD5('something');
yoohh, thanks
so I can UPDATE it the same way?
Chris8494snoyes - that's good - gonna have to make a note of that one...
yoThanks snoyes
cya later guys
seekwillsnoyes: I wonder if you leave out the WHERE, will people blindly follow...
haha nevermind
My eyes must be hurting if I'm reading INSERT as UPDATE

Page: 2 9 16 23 30 37 44 51 58 

IrcArchive