Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.
Active Forum Posts
Tags
help windows 7 security vb.net sql server 2008 sql friday asp.net wpf sql server 2008 r2 t-sql asp.net mvc sql server 2005 nhibernate structuremap book tip .net visual studio 2010 howto sql server 2000 linq sql server performance how to sql community database trick c# silverlightTop Forum Users
The top ranked users for the past 30 days:Google Ads
When should you store @@ROWCOUNT into a variable?
There was a question I answered the other day where someone complained that the rowcount was always 0. Below is a simplified version of the query, can you tell why @SomeCount will be 0?
declare @SomeCount int
select 1
union all
select 2
print '1'
select @SomeCount = @@rowcount
select @SomeCount
The value that the @SomeCount parameter returns will be 0 because print resets the value of @@ROWCOUNT to...
Working with Git my first impressions
Introduction
A couple of weeks ago I introduced myself to the world of the world of Git and Github. And I did not see much wrong with it. But over the last couple of years I have become very frustrated with the slowness of SVN - or it could just be TortoiseSVN. Anyway, I thought it was time for a change. I am still a lonely developer in a non-IT oriented workplace, so I mainly use source control for Backup as well as for easy Continuous Integration. Every time I commit somewhere, a server starts to build the project an...Productive Programing With Pattern Matching
Personally I have been sold on F# for a long time but some people however will need a lot of convincing before they move out of their comfort zone. Hopefully after reading this you will be more inclined to try it out. Imagine you were given a directory full of files that did not have any file extensions and were told to figure out the file extension for every file. Picture how you might do this in VB or C#. Now take a look at this:
(*
Notice how we don't need to specify the type for filePaths?
The compiler will infer the type based ...
CQL From Visual Studio With NDepend 3
For the last few months I've had the pleasure of working with NDepend version 3. Most of my development at home is on linux these days, so I haven't used it as much as I'd like, but I have been using it to poke around in various codebases and see what the new Visual Studio integration is all about. The last version integrated with Visual Studio, technically speaking, but it didn't seem nearly as thorough as what I've seen in version 3. I suspect the improved extensibility model in VS 2010 has a lot to do with this, but can't confirm (I haven't tried it with...
Dealing with Microsoft.Ace and OPENROWSET Errors
I wanted to run a query from SQL Express against Excel, and I found this:
SELECT *
FROM OPENROWSET('Microsoft.Ace.OLEDB.14.0',
'Excel 8.0;DATABASE=c:\docs\testdata.xls', 'Select * from [Sheet1$]')
Which was just what I wanted, a way to select data from Excel. But it did not work.
It appears that Microsoft.Ace.OLEDB.14.0 is registered as Microsoft.Ace.OLEDB.12.0...Msg 7403, Level 16, State 1, Line 1 The OLE DB provider "Microsoft.Ace.OLEDB.14.0" has not been registered.
:: Next >>





LTD Social Sitings
Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.