Data Type


SQL Server (SqlClient)


Oracle (OracleClient)


DT_BOOL


bit

littleheart 發表在 痞客邦 留言(0) 人氣()

Microsoft SharePoint Foundation Error

SharePoint2010 的錯誤訊息查看方式:
【相互關聯識別碼】複製
進入SharePoint主機中:C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
點選xxx.log,搜尋時使用【相互關聯識別碼】為關鍵字即可查到錯誤訊息的內容。

littleheart 發表在 痞客邦 留言(0) 人氣()

2012-08-09_171733

SSIS錯誤訊息:
[ADO NET 來源 [2348]] 錯誤: System.BadImageFormatException: 不是正確的 Win32 應用程式 。 (發生例外狀況於 HRESULT: 0x800700C1)
於 Microsoft.Data.SAPClient.SAPConnection.Open()
於 Microsoft.SqlServer.Dts.Runtime.ManagedHelper.GetManagedConnection(String assemblyQualifiedName, String connStr, Object transaction)
於 Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100.AcquireConnection(Object pTransaction)

littleheart 發表在 痞客邦 留言(1) 人氣()

DateTime st = DateTime.Now;
DateTime ed = DateTime.Now;
TimeSpan ts = ed.Subtract(st);
string output = String.Format("{0:00}:{1:00}:{2:00}", ts.TotalHours, ts.Minutes, ts.Seconds);
//時間與字串之間的轉換

littleheart 發表在 痞客邦 留言(0) 人氣()

/* 防止撐開 IE*/ 
table-layout: fixed;
/* 防止撐開 FX*/
overflow: auto;
/* 英文單字自動換行 IE ONLY*/

littleheart 發表在 痞客邦 留言(0) 人氣()

參數說明

maxlength:字串的最大長度

UPDATE TABLE
SET <column> = REPLICATE( '<string>' , maxlength - LEN(<column>)) + <column>

littleheart 發表在 痞客邦 留言(0) 人氣()

SET STATISTICS TIME { ON | OFF }
SET STATISTICS TIME ON
<SQL>
SET STATISTICS TIME OFF

詳細資訊:TechNet

littleheart 發表在 痞客邦 留言(0) 人氣()

1
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。