ÈçºÎ¶ÁдmssqlÖеÄNTextÀàÐ͵ÄÊý¾Ý°¡?
ÒªÈçºÎ¶ÁдÄØ?ûΪû²Ù×÷¹ý..
ÏÖÔÚÒª°ÑÕû¸öÍøÒ³µÄÄÚÈÝ´æ´¢µ½Ò»¸ö×Ö¶ÎÀï..
³ýÁËNTextÏë²»µ½Ê²Ã´ÀàÐÍÁË..
»òÕß´ó¼ÒÓÐûÓÐʲôºÃ°ì·¨?
¿ÉÒÔʹÓÃImageÀàÐÍ¡£
·½·¨²Î¿¼£º
var
MS: TMemoryStream;
begin
if not (ClientDataSet1.State in [dsInsert, dsEdit]) then
ClientDataSet1.Insert;
MS := TMemoryStream.Create();
try
Image1.Picture.Bitmap.SaveToStream(MS);
ClientDataSet1Images.LoadfromStream(MS);
finally
MS.Free;
end;
ClientDataSet1.Post;
ntextÊÇunicodeµÄ´óÎı¾ÀàÐÍ
updatetext
Ïà¹ØÎÊ´ð£º
ÓÐÒ»¸öÊý¾Ý¿âÀïÖ»ÓÐ2WÌõÊý¾Ý²»µ½£¬È´ÓÐ500MÄÇô´ó,Ôõô»ØÊ°¡£¿ÊÇACCESSµÄÊý¾Ý¿â¡£ºóÀ´ÎÒ°ÑACCESSµ¼Èëµ½MSSQLÖУ¬Ò²Õ¼ÓÃÁË500M×óÓҵĿռ䣬Èç¹ûѹËõÊý¾Ý¿âÄØ£¿Çë¸ßÊÖÖ¸µã
ѹËõÊý¾Ý¿â£¿ÄÜ×öµ½Ã´...
ÆÚ´ý¸ßÈËÖ¸µã ÎÒ ......
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Çý¶¯³ÌÐò¹ÜÀíÆ÷] δ·¢ÏÖÊý¾ÝÔ´Ãû³Æ²¢ÇÒδָ¶¨Ä¬ÈÏÇý¶¯³ÌÐò, SQL state IM002 in SQLConnect in D:\0\msc\msc\tel.php on line 44
Í ......
exec YYys 'aa' aaÊÇmssql·ÇÕýÈ·µÄÓï¾ä,
ÀïÃæÊÇͨ¹ý exec (@sql)--ÉÏÃæaaËù´«µÝµÄ²ÎÊý¾ÍÊÇ@sqlµ÷Óõģ¬Èç¹ûÈçºÎÈÃexec @sql³ö´íºó´æ´¢¹ý³ÌÄÜÊä³ö´íÎó¡£
Õâ¸ö?
òËƺÜÄÑ,ÀàËÆÈËΪ´íÎóÖ»ÄÜ´ÓÐÐÕþ·½ÃæÈëÊÖ.
ûÀí½ ......
ÅжϱíÖÐÊÇ·ñÓдóÓÚ10ÌõÒÔÉϵÄÊý¾Ý£¬
Èç¹û´æÔÚÔò°´×îºÃ¼ÈëµÄʱ¼ä£¬É¾³ýµô¶àÓàµÄÊý¾Ý¡£¡£
±£³ÖÊý¾Ý±íÖÐÖ»ÓÐ10Ìõ×îеÄÊý¾Ý¡£¡£
лл¡£
select ID,count(1) from TB group by ID having count(1)>10
SQL ......
´´½¨Á˼¸ÕÅ±í£¬ÆäÖÐÓÐÒ»ÕűíÊÇ¿Î³Ì±í£¬Àï±ß°üÀ¨£º¿Î³ÌºÅ£¨Ö÷Â룩£¬¿Î³ÌÃû£¬¿Îʱ£¬Ñ§·Ö¡£
ÏÖÔÚÏëÉè¼ÆÒ»¸ö´¥·¢Æ÷ʹ£¬×÷ÓÃÊÇÏÞÖÆ¿ªÉèµÄ¿Î³Ì×Üѧ·Ö±ØÐëÔÚ0µ½100Ö®¼ä
ÇëÎÊÕâ¸ö´¥·¢Æ÷¸ÃÔõôÉè¼Æ£¬Ð»Ð»¡£
²»Óô¥·¢Æ÷£¬Óà ......