Becoming a Believer
While I've been known to be a realistic person and sometimes called a skeptic, for several months I barked about magic fair dust. Over time I became a believer that we would be able to accomplish the...
View ArticleLesson 3: Control Flow Statements – Loops and Conditionals
This lesson is about Control flow statements – control flow statements are Loops and Conditional Statements. They are the basic building blocks for writing any complicated logic in a program. Here is...
View Article[Sample Of Dec 14th] A Private Messages Module in ASP.NET Site
Sample Download : CS Version: http://code.msdn.microsoft.com/CSASPNETPrivateMessagesModu-31b69f48VB Version: http://code.msdn.microsoft.com/VBASPNETPrivateMessagesModu-59a72af5 This sample shows how...
View ArticleOutlook 2013 : “Add to Outlook contacts" and "Look up Outlook contact" are...
Issue\ Symptom: "Add to Outlook contacts" and "Look up Outlook contact" are missing when we right-click on the sender's name. Cause:This is a By Design issueResolution:“The Look Up Outlook Contact”...
View ArticleHome for the Holidays? How about a Holiday App Challenge to Pad those Worn...
Want to Have a Very Appy (yes Appy) Holiday? Looking for a way to make some Extra Money ($$) over the holidays? You happen to be a student? Well do I have a Holiday Deal for you…Take the Windows 8...
View Article[ご参考] OAuth 2 Token の Decode (Apps for SharePoint 2013)
ご参考のため、本日のセッション ( Japan SharePoint Group ) で使用したトークンのデコード プログラムを掲載しておきます。 . . . static void Main(string[] args) { // Original Token String // (Context Token, Access Token, etc) string token =...
View ArticleGood SQL Server Blogs
SQL Release Services Bloghttp://blogs.msdn.com/b/sqlreleaseservices/CSS SQL Server Engineershttp://blogs.msdn.com/b/psssql/SQL Server Engine Tipshttp://blogs.msdn.com/b/sqltips/Microsoft SQL Server...
View Article錯誤22002:RegCreateKeyEx()傳回錯誤5,存取被拒(Microsoft SQL-DMO ODBC SQL狀態: 42000)
錯誤22002:RegCreateKeyEx()傳回錯誤5,存取被拒(Microsoft SQL-DMO ODBC SQL狀態: 42000)SQL Server 2000 為了符合最低權限要求,通常會將SQL Server與SQL Agent啟動帳戶都改為Local Windows User account,後來再去Enterprise Manager...
View ArticleSQL Server 2000 xp_cmdshell移除與回復
SQL Server 2000 xp_cmdshell移除與回復1.xp_cmdshell是一個延伸預存程序,可以讓T-SQL執行shell command 2.SQL Server 2000 預設是啟用xp_cmdshell,而SQL Server 2005預設是停用的,可使用 [SQL Server 介面區組態] 將此功能啟用3.預設值只有System...
View ArticleListing space used information in each database files
Listing space used information in each database files-- SQL Server 2000請將 sys.databases改成sysdatabases-- 第欄是資料使用大小單位是KBCREATE TABLE #db_space([DBname] NVARCHAR(50),[Fileid] NVARCHAR(10),[Filegroup]...
View ArticleSQL 2000 Determine primary key from system table 列出所有Primary Key
SQL 2000 Determine primary key from system table 列出所有Primary Key SELECT object_name(a.[id]) as [TableName],object_name(a.constid) as [PK_name],b.[name] as [PK_Column]FROM sysconstraints a inner join...
View ArticleSQLDiag工具程式的使用
SQLDiag工具程式的使用 前言:SQLDiag是SQL Server內建的診斷收集共用程式,[SQL Server 2005]預設位置:C:\Program Files\Microsoft SQL Server\90\Tools\Binn\SQLDiag.exe你可以在任何路徑下執行SQLDiag因為此路徑已被加到path系統變數,執行sqldiag -?或sqldiag...
View ArticleSQLDiag工具程式Bug-Buffer overrun detected
SQLDiag工具程式Bug-Buffer overrun detected 當SQL Server 2000升級到SP4之後,SQLDiag.exe工具已被更新到SP4的版本,此版本有個Bug,執行後會出現以下的錯誤訊息:解決方法1微軟的KB902955-此Bug已有hotfix,若要取得此hotfix需連絡Microsoft產品支援服務FIX: 當您執行 Sqldiag.exe 公用程式安裝...
View Article立即中斷所有SQL Server連線
立即中斷所有SQL Server連線 1.針對單一資料庫的連線範例:將Northwind資料庫設定為只能有一個連線,並中斷其他連線--中斷Northwind資料庫的所有連線USE masterGOALTER DATABASE [Northwind]SET SINGLE_USERWITH ROLLBACK IMMEDIATE;GO--復原為一般多人連線USE masterGOALTER...
View ArticleSQL Server 2008 與SQL Server 2005 Sample Databases範例資料庫下載與安裝
SQL Server 2008 與SQL Server 2005 Sample Databases範例資料庫下載與安裝 SQL Server 2008安裝光碟已不再含有範例資料庫Sample Database,需自行到CodePlex網站的SQL Server Database Product Samples網頁下載http://msftdbprodsamples.codeplex.com/...
View ArticleSQL Server 2008 Installation on Vista Business Edition(在Vista安裝SQL Server 2008)
SQL Server 2008 Installation on Vista Business Edition(在Vista安裝SQL Server 2008) SQL Server 2008安裝執行SQL Server 2008光碟內的setup.exe會自動偵測並安裝以下兩個必要元件1.Microsoft .Net Framework 3.5 SP12.Microsoft...
View Article使用一句SQL INSERT多筆Record(multiple values)
使用一句SQL INSERT多筆Record(multiple values)此功能在MySQL在3.22.5之後就有的功能,SQL Server在這個SQL Server 2008版本才加入此功能-- 切換測試資料庫USE MyDBGO-- 建一個測試資料表CREATE TABLE [mytable](myid nvarchar(10),givenName nvarchar(50),email...
View Article不允許儲存變更saving changes is not permitted
不允許儲存變更saving changes is not permitted SQL Server 2008啟動SSMS,開始試試IntelliSence,Import,Export等基本功能,建了一個Table想要再Modify修改Table的Column欄位定義,出現錯誤 "不允許儲存變更saving changes is not permitted"解法如下:請開啟 SQL Server...
View ArticleSQL Server 2012 Installation fail "Managed SQL Server Installer has stopped...
SQL Server 2012 Installation fail "Managed SQL Server Installer has stopped working"在Windows 8上安裝了SQL Server 2012 Developer Edition RTM出現一個錯誤"Managed SQL Server Installer has stopped...
View ArticleJS: Dots are bad, M'kay?
When the return value of a function is needed multiple times, and the value is a constant, a variable should be used to cache it.In JavaScript, every dot that appears in a statement is equivalent to a...
View Article