MYSQLºÍjavaÖеÄÊýÖµ·¶Î§
91KGE
mysqlÊýÖµ·¶Î§
tinyint -128~127 0~255
smallint -32768~32767 0~65535
mediumint -8388608~8388607 0~16777215
int -2147483648~2147483647 0~4294967295
bigint -9223372036854775808~9223372036854775807 0~18446744073709551615
javaÖÐ
byte -127~128
short -32768~32767
int -2147483648~2147483647
long -9223372036854775808~9223372036854775807
Ïà¹ØÎĵµ£º
Ò»Ö±ÒÔÀ´£¬java¶ÔÓÚÎÒ¶¼ÊÇÐÂÊÂÎ¶ÔÓÚÐÂÊÂÎïµÄ½ÓÊÜ·½Ê½Ò²Ò»Ö±Ï°¹ß´ÓdzÈëÉÑÐò½¥½ø¡£
µ«ÊǽñÌ죬ÕÅТÏêÀÏʦ¸øÎÒÃÇÉÏÁËÉú¶¯µÄÒ»¿Î£¬Ò»¸ö³ÌÐòÔ±×îÖØÒªµÄÄÜÁ¦¾ÍÊÇѧϰÄÜÁ¦£¬ÒòΪ
¼ÆËã»úÁìÓòµÄ¼¼ÊõÆä¸üг¬¿ì£¬Ä¿Ç°ËùÕÆÎÕµÄ֪ʶºÜÓпÉÄܶÌʱ¼äÄڻᱻÌÔÌ£¬¶øÇÒ»á³öÏÖ¸üºÃ
¸ü¼ò½àµÄÓïÑÔ£¬ÄÇô¸ÃÔõÃ´È¥ÕÆÎÕÄØ¡£ÕÅÀÏʦÈÏΪ£¬ ......
»¹ÔÒ»¸öÊý¾Ý¿â:mysql -h localhost -u root -p123456 www<c:\www.sql
±¸·ÝÒ»¸öÊý¾Ý¿â:mysqldump -h localhost -u root -p123456 www > d:\www2008-2-26.sql
//ÒÔÏÂÊÇÔÚ³ÌÐòÖнøÐвâÊÔ
//$command = "mysqldump --opt -h $dbhost -u $dbuser -p $dbpass $dbname | gzip > $backupFile";
$command="mysqldum ......
ÈçºÎ½»»»Á½¸ö±äÁ¿µÄÖµ£º
CÓïÑÔÖеĴ«Öµ´úÂëÈçÏ£º
int change(int x,int y)
{
int temp=x;
x=y;
y=temp;
}
CÓïÑÔÖеĴ«Ö·´úÂëÈçÏ£º
int change(int *p,int *q)
{
int temp=*p;
*p=*q;
*q=temp;
}
ʹÓÃC++ÖеÄÒýÓÃÀàÐÍ´úÂëÈçÏÂ:
int change(int &x,int &y)
{
int temp=x;
x=y;
y=temp;
}
JAV ......
java¹Ø¼ü×ÖÒÔǰûʲôעÒ⣬ÒòΪÊǺܻù´¡µÄ¶«¶«¡£Ö»ÊǽñÌì×öSCJPÌâÄ¿£¬Ò»¿´´ð°¸ÏÅÎÒ´óÌø£¬·×ªÁËÎÒÒÔÍùµÄ´íÎó¹ÛÄî¡£²éÔÄÁ˲»ÉÙ×ÊÁÏÖÕÓÚŪÇå³þÁË¡£ÌâÄ¿ÈçÏ£º
Which are not Java keywords?
A. TRUE B. sizeof C. const D. super E. void
& ......
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲçÛJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJDKÊÇSun¹«Ë¾·¢²¼µÄJDK£¬³ýÁËSunÖ®Í⣬»¹Óкܶ๫˾ºÍ×éÖ¯¶¼¿ª· ......