In the Pluralsight course "SQL Server Questions and Answers", Pinal & Vinod debunk some SQL Server misconceptions with examples and highlight uncommon facts -Use SCOPE_IDENTITY() instead of @@IDENTITY or IDENT_CURRENT("tablename") to get the latest IDENTITY value for the table in the session@@IDENTITY returns the last IDENTITY value produced on a connectionSCOPE_IDENTITY() returns the last IDENTITY value produced on a connection (explicity created by you rather than a trigger) and by a statement in the same scopeIDENT_CURRENT("tablename")...
Sunday, 29 January 2012
Saturday, 14 January 2012
Explore console.log if you use JavaScript alert extensively for debugging
Posted on 23:00 by Unknown
The JavaScript alert method is something that most web developers use to debug their code. However, now with all popular browsers incorporating Developer tools within them, there are easier ways to debug client-side code. Firebug is an optional add-on for Firefox that adds richer features to those natively available & probably the motivator for browsers to develop their own Developer tools. I guess, it was IE that started using F12...
Subscribe to:
Posts (Atom)