Google

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    







My Amazon.com Wish List

Locking Database Records

How do you go about locking database records in a web application app? Say User 1 selects a record to edit and User 2 selects that same record a few seconds later, how do you deny User 2? Update a field in the database? And say User 1 is on the edit screen for 20 minutes, made a couple of changes, but never clicked submit? Do you time them out? Do you save the record then time them out? Would ajax work here? Any suggestions on how one might due this? (Using Coldfusion 8 and MySQL 5)

(Boy, that's a lot of questions)

MSSQL vs MySQL

I just started a new job and we are currently using MS Access as our database. Yikes!!! Anyways, I have used MySQL in the past, but I was wondering should I give MSSQL a look?

What are the advantages of MSSQL over MySQL, or vice versa?

What are the disadvantages of MSSQL over MySQL, or vice versa?

Let the debate begin!

How do I import a MySQL dumpfile into my database?

Open up a terminal and type:

mysql -p -h DATABASESERVER DataBaseName < sqlname.sql

DATABASESERVER: IP Address of Database Server

DataBaseName: Name of Database

sqlname.sql: Name of sql file