»õÎï±í goods(
g_id int,
quality int,
......
CREATE PROCEDURE createChildLst (IN rootId INT,IN nDepth INT)
BEGIN
DECLARE done INT DEFAULT 0;
DECLARE b INT;
DECLARE cur1 CURSOR FOR SELECT id from treeNodes where pid=rootId;
DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = 1;
&n ......
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Data.Common;
using System.Collections;
using System.Collections.Specialized;
/// <summary>
/// db µÄժҪ˵Ã÷
/// </summary>
///
namespace yuqing
{
public class db
& ......
ÎÒµÄmysqlÊý¾Ý¿âµÄ×Ö·û¼¯ÊÇutf-8
ÎÒÐèÒªÓÃjava²åÈëÒ»ÌõÊý¾ÝÔÚÊý¾ÝÖв»ÏÔʾÂÒÂë
java´úÂ룺
String s = "Öйú";
stmt2.executeUpdate("insert into bb.city values('"+s+"')");
ÒÔÉÏ´úÂëÏÔʾµÄЧ¹ûΪÂÒÂ룬ÔõôÄÜÔÚÊý¾Ý¿âÖÐÄÜÖ±½Ó¿´µ½ÖÐÎÄ¡£
ÒÔÏ·½·¨ÊÔ¹ýÁË£¬²»ÐÐ
1.s= new String(s.g ......
ÎÒÃǵÄϵͳÊÇ asp.net + sqlserver2005 ¿ª·¢µÄ£¬
ÏÖÔÚÏë°ÑÊý¾Ý¿âǨÒƵ½ mysql ÉÏÀ´¡£
ÎÒ¿´ÁËÒ»ÏÂÏà¹ØµÄÎÄÕ£¬·¢ÏÖ sqlserver ºÍmysqlÔÚÊý¾ÝÀàÐÍÉÏÓÐЩ²î±ð£¬
ÁíÍ⣬ÎÒÃǵÄϵͳÓÃÁËһЩ Óû§×Ô¶¨Ò庯Êý ºÍ´óÁ¿µÄ´æ´¢¹ý³Ì£¬
¿ÉÄÜÕâÓÖÊÇÒ»¸öجÃΰɡ£
ÎÒÃǾÍÐèÒªÔÙ×öÒ»¸ö mysqlµÄÊý¾Ý·ÃÎʲ㣬
È»ºóÀïÃæµÄһЩsqlÓï¾ä£¬´æ´ ......
ÔÚphpmyadminÊäÈëÊý¾Ýºó ͨ¹ýNavicat for MYSQL ´ò¿ª±íºóÓÐÊý¾ÝµÄµØ·½¶¼ÏÔʾBLOB ²¢ÇÒÔÚNavicat ÏÂÎÞ·¨²åÈëÊý¾Ý¡£
PHPÊä³öºóÂÒÂë
ÔÚphpadminÖпÉÒÔ²åÈëÊý¾Ý£¬ÏÔʾÕý³£
×¢£ºPHPÖмÓÁËheader('content-type;text/html;charset=utf-8');ÎÊÌâÒÀ¾É
ÇëÎʸ÷λΪʲôÄØ£¿ÈçºÎ½â¾ö
лл
phpmyadminÊÇÀÏ°æ±¾µÄ£¿£¿£¿
ÒýÓÃ
p ......
×ܼǼÊý:1662; ×ÜÒ³Êý:277; ÿҳ6 Ìõ;
Ê×Ò³ ÉÏÒ»Ò³ [2] [3] [4] [5] 6
[7] [8] [9] [10] [11] ÏÂÒ»Ò³ βҳ