¹ØÓÚMySQLÓëoracleµ÷ÓÃ.NETдµÄDLL¿â
SQL2005¼¯³ÉÁËCLR¹¦ÄÜ£¬¼´¿ÉÒÔµ÷ÓÃ.NETдµÄDLL¿â¡£ÕâÑù£¬Êý¾Ý¿âÓж¯×÷ʱ£¬Í¨¹ý´¥·¢Æ÷¿ÉÒÔµ÷ÓøÃDLLÉú³ÉµÄAssembly³ÌÐò¼¯£¬Í¨ÖªÍⲿ³ÌÐò¡£Í¨³£²½ÖèÈçÏ£º
µÚÒ»²½:
1. Ñ¡ÔñSQL Servecr2005 ÅäÖù¤¾ß=> Sql Servecr ÍâΧӦÓÃÅäÖÃÆ÷
2. Ñ¡Ôñ¹¦ÄܵÄÍâΧӦÓÃÅäÖÃÆ÷
3. Ñ¡ÔñCLR¼¯³ÉÖÐ ÆôÓÃCLR¼¯³É
µÚ¶þ²½:
1. ÔÚVS.NET»·¾³Öв¿Êð SQL Server ÏîÄ¿½«ÔÚΪ¸ÃÏîĿָ¶¨µÄÊý¾Ý¿âÖÐ×¢²á³ÌÐò¼¯¡£
2. ´´½¨Àà,ÈçÏÂ
public class Class1
{
public static string MySplit(int filedIndex, string filedName)
{
//filedIndex´Ó1¿ªÊ¼
try
{
if (filedIndex == null || filedIndex <= 0 || filedName == null || filedName == "")
{
return "";
}
else
{
return filedName.Split('|')[filedIndex - 1].Trim();
}
}
Ïà¹ØÎÊ´ð£º
ÔÚÈýÊ®½²Óöµ½ÕâÑùÒ»¸öÎÊÌâ¾ÍÊÇÔËÐдúÂëʱ³öÏÖ´íÎó Fatal error: Call to undefined method mysql::fetch_array() in D:\WWW\news\index.php on line 12
£¬ÎÒ°Ñmysql::fetch_array() ¸Ä³Émysql::fetch_row() ÓÖ³öÏÖF ......
Õâ¸öÊÓÆµ½²µÄºÜÏêϸ, ¶ÔÐÂÊַdz£ÓÐÓÃ, »ù±¾ÉÏÒ»¿´¾Í¶®
ÓÉÓÚÌ«´óÁË(50m, ÎÒÖ»ÄÜÉÏ´«20m), ÎÒÉÏ´«²»ÁË, Ö»ºÃÌù³öÏÂÔØµØÖ·
ÏÂÔØµØÖ·: http://ftel1.3800hk.com/0807/080720djxnzj.rar
ºÃ¶«Î÷,ϸö¿´¿´
......
¸÷´óÀÏʦºÃ£¬Çë½ÌÒ»¸öÎÊÌ⣮
ÎÒÉèÖÃÁËÒ»¸öoracle×ֶΣ¬varchar(3000),È»ºó²åÈëÒ»ÌõÊý¾Ý³¤¶È²Å1000,¾Í±¨´íÁË£®È磺net.sf.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
Caused ......
abnormal end of export file
IMP-00028: partial import of previous table rolled back: 3828 rows rolled back
ÓÐûÓÐÒ»ÖÖ·½·¨Èõ¼Èë¼ÌÐø½øÐжø²»Òì³£Ìø³ö»Ø¹ö£¿
ignore=y
Äã² ......