Archive for 'Random' Category

C# auto property

By admin - Last updated: Tuesday, March 25, 2008

ReSharper is good tool, it taught me the auto property in .NET 3.5 today. // traditional property declaration     public class Foo     {         private string _name;         public string Name         {             get { return _name; […]

MSSQL Get Current Stored Procedure Name

By admin - Last updated: Thursday, May 3, 2007

In MS SQL, the current stored procedure name can be obtained from the follow SQL snippet. It is useful for logging purposes. — omitted code for SP. DECLARE @Name NVARCHAR(256) SELECT @Name = OBJECT_NAME(@@PROCID) SELECT @Name — omitted code for SP.   The value would be null if the it is not executed in stored […]

Hello World

By admin - Last updated: Monday, October 27, 2003

<hello id=”1″>      <message>          Hello World, thanks to WordPress and amazing-grace guys!      </message> </hello>