ÎÒÔÀ´ÊÇÓÉaccessת³ÉmssqlµÄ..ÔÀ´µÄ×ÔÔö×Ô¶¯Ã»ÓÐÁË
ÎÒÔõôÓÃsqlÀ´×ª»¯ÄØ£¿£¨²»ÏëÔÚÆóÒµÃæ°å¹ÜÀíÖÐ¸Ä ±íÌ«¶à..£©
»¹ÓÐsmalldateµÄĬÈÏÖµ¸Ä³Égetdate()µÄÓï¾äÒªÔõôд..ллÁË
accessת³ÉmssqlµÄ..ÔÀ´µÄ×ÔÔö×Ô¶¯Ã»ÓÐÁË
Ö»ÄÜ×Ô¼º¼ÓÁË
²»ÄÜÓÃsqlÀ´Éý¼¶²»£¿alert table a modify ....ÕâÑùµÄ²»ÐУ¿
SQL code:
--´ ......
ÎÒÒª°Ñv10004¸Ä³ÉÃû×ÖÆøѹ£¬ÎªºÎ×ܳö´í
EXEC sp_rename 'dbo,A0131.[v10004]', 'Æøѹ', 'COLUMN'
ÏûÏ¢ 15248£¬¼¶±ð 11£¬×´Ì¬ 1£¬¹ý³Ì sp_rename£¬µÚ 213 ÐÐ
²ÎÊý @objname ²»Ã÷È·»òËùÉùÃ÷µÄ @objtype (column)ÓÐÎó¡£
SQL code:
EXEC sp_rename '[ ......
ÀýÈ磺select a.* from (select id,code from b left join c on b.id=c.id)a where id=1
ÕâÀïµÄwhere ÔÚÖ´ÐеÄʱºò£¬ where »áÓÅ»¯ÊÇ·ñ½øÈ뵽СÀ¨ºÅÀïÃæÖ´ÐÐ?????
SQL code:
select id,code from b left join c on b.id=c.id
where id=1
ÒýÓÃ
SQL codeselect id,codefrom bleftjoin con b.id=c.idwhere id=1
......
·´ÕýÎÒÊǾ³£·Ö²»Çå¡¡
¼ÌÐøÉ¢·Ö
µÚÒ»¸ö±ÕÔ´£¬µÚ¶þ¸ö¿ªÔ´£¬µÚÈý¸öûŮÈËÔµ¡¡
LZÄ㻹ÓпÉÓ÷Öô£¿
ÒýÓÃ
LZÄ㻹ÓпÉÓ÷Öô£¿
5·Ö
ÒýÓÃ
µÚÒ»¸ö±ÕÔ´£¬µÚ¶þ¸ö¿ªÔ´£¬µÚÈý¸öûŮÈËÔµ¡¡
ÓÐÒâ˼¡£¿´±êÌâÎÒ»¹ÒÔΪÊÇmstlqÓëmysqlÄØ£¬½á¹û×îºó»¹ÕæÓÐmstlq£¬ºÇºÇ¡£
ËÒª¿ÉÓ÷֣¬ÔõôÔùË͵ġ£
ÎÒÒª^_^
http: ......
»ù´¡±íA¡¢BÈçͼ£¬ÓÉÓÚÒ»ÌõÐÂÎÅÖпÉÄÜÓжàÕÅͼƬ£¬ËùÒÔBÖлá³öÏÖ¶à¸öͼƬ±àºÅ¶ÔÒ»¸öÐÂÎűàºÅµÄÇé¿ö¡£
Çó´´½¨C±í£¨ÊÓͼ£©µÄsqlÓï¾ä¡£
SQL code:
select
b.pictureid as ͼƬ±àºÅ,a.newstitle as ÐÂÎűêÌâ,a.newurl as ÐÂÎŵØÖ·,b.pictureaddress as ͼƬµØÖ·
from
a
left join
b
on
a.newid=b.newsid
......
ÎÒÓõÄÊÇrealÊý¾ÝÀàÐÍ£¬µ«ÊǴ洢СÓÚ1µÄÊýʱǰÃæµÄ0ûÓÐÁË£¬¸ÃÔõô½â¾ö£¬±ÈÈ磺ÎÒÏë´æ´¢0.1£¬ÔÚÊý¾Ý¿âÀïÖ»ÓС°.1¡±,0ûÓÐÁË£¬ÒªÔõôÉèÖ㬻òÕßÊý¾ÝÀàÐÍÊDz»ÊÇÒª»»Ò»ÖÖ ??
decimal(9,1)
Õâ¸öòËÆÓëÀàÐÍÎÞ¹Ø
Óë²Ù×÷ϵͳÓйØ
µ«ÊÇһֱûÓÐÕÒµ½
ÔõôÉèÖÃ
SQL code:
2000±¾À´¾ÍÕâÑù
²»¹ý½¨Ò黹ÊÇ´æΪdecimal Ð͵Ä
......