There doesn't appear to be any differencebetween 'font-weight: normal' and 'font-weight: bold' in Google Chrome (and probably Safari). Has anyone found a way to invoke the 'font-weight: thinner' in Chrome the way that Firefox does?
Hi,
I need to perform a simple update query where the update should only be done, if there is no value with updating value (item_name). For example,
DB table [item_types]
item_id(PK) | item_name
Assuming there exist item_id with 6, My attempt is
UPDATE item_types as k SET k.item_name = 'item_1' WHERE NOT EXISTS (SELECT * FROM item_types as a WHERE a.item_name = 'item_1') AND k.item_id = '6'
But this gives me error
"You can't specify target table 'k' for update in FROM clause"
Could you please explain the error here and how can I achieve this ?
Thank you
I am an application developer in a small company. Recently, my boss asked me to setup a server for another company owned by him. He has 2 latest MAC PRO and he can provide me any hardware I want.
He listed the following requirements:
Failover is a must
Should be capable to handle 20 vpn connections at the same time
RAID 5
Remote Copy of backup data to different loaction
I know this is a generic question that I shuoldn't ask here, but I really need help because comparing to Linux and MS server. There are not many resources available online. I read the APPLE PRO TRAINING book but it tells nothing about the above requirements.
Which is the differencebetweena server anda desktop CPU ? Why should I buy a Xeon processor for a server why don't use instead a simple intel quad 4-core CPU for a desktop PC ?
I have a progaram that can be ran both as a winform, or from command line. If it is invoked from a command line I call AttachConsole(-1) to attach to parent console.
However, after my program ends, the user must hit enter to get back the standard command prompt ("c:\"). is there a way to avoid that need?
Thanks.
I could wrap it in a cmd file to avoid that issue, but I would like to do it from my exe.
I've read some posts here and on the web about the differences of live() and delegate().
However I haven't found the answer I'm looking for (if this is a dupe please tell me).
I know the differencebetween live and delegate is that live can not be used in a chain.
As I also read somewhere delegate is in some case faster (better performance).
So I am wondering is there a situation where you would use live instead of delegate?
in sqlite3's client CLI, there is " .import file TABLE_name " to do it.
But, I do not want to install sqlite3 to my server at present.
in python sqlite3 module, we can creat and edit aDB.
But, I have not found a way to import data-file to a TABLE,
except inserting rows one by one.
any other way? Thanks.
Hi,
First PHP project and I'm stuck!
I wish to allow users to click a button or a link and download a file.
However, my PHP must first perform some tasks, choose the right file, record the download event in adb etc. This I can do, but how do I then send the file as a response to the user's click?
Thanks for any help.
Hello All,
it's just my curiosity to know that why phpmyadmin behavior in different manner when we modify query a bit( putting extra space) then headers of query results, sometime comes in Button format( on hover it say sort, but sorting not working at all) and sometimes in blue link
is there any difference for this or it just causing by some othe reason?
i m attaching both images.
Button headers
Link headers
I'm trying to compare a GMT time offset from the operating system to a GMT time offset from Javascript's Date.getTimezoneOffset(). The problem is windows gives an offset based on EST while javascript gives an offset based on EDT. There is an hour differencebetween these two. Does anyone know how to make Javascript use the Standard Times like Windows? Thank you.
Anyone can give me an example on how to create local data caching? Like for example I query 10 millions records from my DBand I want to store it in my local so that I would not encounter performance problem next time when I want to reload the data. Thank you so much.
Hi,
May I know what is the differencebetween C# 4.0 and C# 2.0? Is C# 4.0 backward compatible to C# 2.0?
Can I say that C# 4.0 is a superset of C# 2.0 (just like what C++ is to C)?
Thanks.
Hi!
I'm working on adb but i'm kinda new to this so i've bumped into a problem today.
I've got some tables: OFFICE, ROOM, EMPLOYEE and DOCUMENT. Document must specify the sender, which can be a single employee, an entire room or an entire office so it must have a reference to the primary keys of those tables.
Should I do a "parallel" table for handle it (for example i've done one for handle the multiple recipients documents) or there is another way?
Thank you
I'm managing the MySQL database from PHP scripts.
the communication between server and client is secured via SSL.
I store user account data which is sensitive.
Is there a way to encrypt this data when entered into the DB?
What is the best way to protect this sensitive data?
Thanks
Guys I have a couple of questions:
Is there a preformance difference in Javascript betweena switch statement and an if...else if....else?
If so why?
Is the behavior of switch and if...else if...else different across browsers? (FireFox, IE, Chrome, Opera, Safari)
The reason for asking this question is it seems that I get better preformance on a switch statement with approx 100 cases in Firefox. But in IE it get better preformance with 100 if...else if...else.
I've set up a basic html/php submission form where people can register for our event, but need a way to replace the submission form webpage with one that reads something like "We have reached our registration limit" when we reach a certain number of submitted forms. Our database is MySQL (if that makes a difference) I've looked around on the web but people either say to count the entries by hand, or the ones that do have an automated system use CMS like drupal or joomla. Is it possible to setup an automated script that will do this?
example: i need the numbers of which the sum of the amount where id = 1 is not equal of the sum of the amount where id < 1, together with the id's anddifference.
The table (view in this case) may look like this:
NUMBER AMOUNT ID
0001 500 1
0001 500 2
0002 400 3
0003 299 1
0003 300 3
0003 300 3
Many thanks for your help on this one.