.Net default date value is Jan-01-0001
Sql server default date value is NULL, starts from Jan-01-1753
Oracle default date value is NULL, starts from Jan-01-4712
Javascript default value is Jan-01-1970
.Net default date value is Jan-01-0001
Sql server default date value is NULL, starts from Jan-01-1753
Oracle default date value is NULL, starts from Jan-01-4712
Javascript default value is Jan-01-1970
sp_dropserver '<ServerName>'
After the SQL Server restart, the @@SERVERNAME started returning NULL. You can confirm this; if the following query returns no records, the local server was deleted.
Select * From sys.servers Where server_id=0
sp_addserver '<ServerName>',local
Select ServerProperty('ServerName')
This approach returns the machine name, even if the sever name is not present in the sys.servers table.
For example when you run this query
EXEC sp_addlogin 'Victoria', 'B1r12-36';
The profiler hides the username and password by substituting with hyphens
--*sp_addlogin---------------------------
Similar way, when you run sp_addlinkedsrvlogin, it will display as
--*sp_addlinkedsrvlogin---------------------------
Example: One of the NHibernate wrappers didn’t allow me to write QueryOver for sub queries. I couldn’t alter the wrapper immediately, because it has dynamic and reflection calls. To understand those dynamic calls, it would have been taken 2 more days. I had to find alternative way.
Example: We faced a production issue, w3wp.exe was crashing. All our sites were down. The reason was, the wrapper for SqlConnection didn’t handle the SqlDataReader’s close operation. As open connections were not closed, the number of connections crossed the maximum limit and crashed the application. Instead of redesigning the wrapper, we first closed all the opened connections properly by typing “sqlConn.Close()” in 72 places of the application. Then we took time to refine the wrapper.
Clojure is also getting popular. Since I don't have knowledge on Clojure or LISP, I can't compare with Clojure.
Any talk on languages is controversial, the above points are my personal views. I welcome your feedback.