1¡¢½«ACCESSÖеÄÒ»¸ö±íµ¼³öΪasd.txtºó£¬·ÅÔÚ×ÀÃæÉÏ£¬ÔÚCMD.EXEÖÐÔËÐÐ
C:\Documents and Settings\Administrator>type asd.txt
ÀÏÌáʾ¡°ÏµÍ³ÕÒ²»µ½Ö¸¶¨Îļþ¡±¡£
2¡¢ÁíÍ⣬ÇëÎÊload1.ctlÕâ¸ö¿ØÖÆÎļþÊÇÔÚʲô»·¾³ÏÂдµÄ£¿ÎÒÏÈÊÇÔÚ.txtÎļþÖÐд
load data
infile 'asd.txt'
into table asd
fields ......
Ç붮µÄ°ïæת»»Ï¡£¡£¡£¡£Ð»Ð»ÁË¡£¡£
//ÓÃÓÚ·ÀÖ¹Èճ̱êÌⳤ¶È³¬¹ýÊý¾Ý¿âÖÐÈճ̱êÌâ×ֶεÄ×î´ó³¤¶È£¬Èç¹û³¬¹ý£¬½ØÈ¡ÔÊÐíµÄ×î´ó³¤¶ÈÊýÁ¿µÄ×Ö·û×÷Ϊ±êÌâ
public void CheckTitle()
{
Title.Trim();
if (Ti ......
ÈçÌ⣺
SQL code:
SELECT TO_CHAR(TO_DATE(ACCEPT_TIME, 'yyyy-mm-dd hh24:mi:ss'), 'W'),
COUNT(*)
from T_LIST
WHERE to_char(to_date(ACCEPT_TIME,'yyyy-mm-dd hh24:mi:ss'),'MM')=to_char(SYSDATE-1,'MM')
GROUP BY TO_CHAR(TO_DATE(ACCEPT_TIME, 'yyyy-mm-dd hh24:mi:ss'), 'W')
ORDER B ......
oracle°æ±¾ÊÇ10.2 .0.1.0ÏÈ°ÑÒÔÇ°µÄÄǸö¿ª·¢·þÎñÆ÷½øÐÐÉý¼¶¡£»»¸öеķþÎñÆ÷¡£ÏÖÔÚÊý¾Ý¿âÀïÃæµÄÊý¾ÝÔõôǨÒƵ½Ð·þÎñÆ÷¡£Ï£ÍûÓÐÕâ·½ÃæµÄ×ÊÁÏ»ò¸øЩÌáʾ¡£Ð»Ð»´ó¼Ò¡£
²»¶®....·¹ý
. ÔÚеķþÎñÆ÷ÉÏ°²×°ºÃÊý¾Ý¿â£¬½¨ºÃÏà¹ØÓû§ºÍ±í¿Õ¼ä£¬ÊÇоÉÊý¾Ý¿âµÄ±í¿Õ¼äÒ»ÖÂ
Èç¹û²»½¨Á¢µÄ»°,ÊDz»ÊǶ¼µ¼µ½systemÏÂÁË?
expdp/i ......
SQL code:
SELECT TO_CHAR(TO_DATE(ACCEPT_TIME, 'yyyy-mm-dd hh24:mi:ss'), 'yyyy-mm-dd') dt,
type,
COUNT(*)
from T_LIST
WHERE to_char(to_date(ACCEPT_TIME,'yyyy-mm-dd hh24:mi:ss'),'MM')=to_char(SYSDATE-1,'MM')
GROUP BY TO_CHAR(TO_DATE(ACCEPT_TIME, 'yyyy-mm-dd hh24:mi:ss'), 'yyyy-mm-dd ......
pCmd->Parameters->Item[_variant_t(_bstr_t("OrderDatetime") )]->Value=_variant_t("to_char(sysdate,'yyyy-mm-dd hh24:mi:ss')");
ÕâÑù¶ÔÂð
OrderDatetime ÊÇVACHAR ÀàÐ͵Ä
ʲô³ÌÐòÀïµÄ,ºÃÏñÊÇC++,
to_char(sysdate,'yyyy-mm-dd hh24:mi:ss') Õâ¸öÊǶԵÄ,ÔÚÍâÃæ¼ÓË«ÒýºÅ"¾Í²»Ö ......
×ܼǼÊý:1827; ×ÜÒ³Êý:305; ÿҳ6 Ìõ;
Ê×Ò³ ÉÏÒ»Ò³ [1] 2
[3] [4] [5] [6] [7] [8] [9] [10] ÏÂÒ»Ò³ βҳ