Sep 15 2007
Using Technorati
I setup my blog tonight to use Technorati’s services. Maybe it will bring some traffic to the site.
Sep 15 2007
I setup my blog tonight to use Technorati’s services. Maybe it will bring some traffic to the site.
Aug 24 2007
I was looking around for video tutorials for AJAX and Javascript and I came across Stian Solberg’s blog. The videos include one about debugging AJAX with Firebug and an introduction to jQuery.
http://ajaxwidgets.com/Blogs/stian/5_video_tutorials_on_ajax.bb
Technorati Tags: javascript, Firebug, AJAX, jQuery
Jun 15 2007
Jun 11 2007
Dec 14 2006
I am running Vista, by the way. I had missed on the error dialog
earlier that there was an access denied error. So, I thought about a
possible permissions issue which did not really seem to make sense.
Nonetheless, I went through the process of changing the permissions on
my login user account for the “C:\Program Files\Borland” directory from
Read+Execute to Full Control.
Upon launching the BDS environment, I had no more errors. Finally! Success!
Technorati Tags: Delphi, BDS, EPackageRegistrationException, Vista
Sep 02 2006
I have used SQL Server a lot in the past and I have written simple SELECT, INSERT, and DELETE statements, but I have been diving into it a lot more lately. I have messed around lately with triggers and stored procedures.
I am currently working on complex stored procedures making use of data output from another stored procedure. Getting the SELECT statements just right when joining tables is what is currently throwing me for a loop.
Aug 23 2006
We are moving toward the use of SQL Server 2005 at work, so I have been getting my head wrapped around things like stored procedures and triggers. I have been using SQL Server Management Studio to create my stored procedures on my test database.
I created a stored procedure tonight that would insert a new record in the database and return the new identity in an output parameter. My stored procedure looked like this…
Use testing
GO
CREATE PROCEDURE [dbo].AddName
@firstname varchar(20) = NULL,
@lastname varchar(30) = NULL,
@NameID int OUTPUT
AS
SET @NameID = 0 — return zero if the insert failsIF @firstname IS NOT NULL AND @lastname IS NOT NULL
BEGIN
SELECT @NameID = ID
FROM names
WHERE firstname = @firstname
and lastname = @lastnameIF @NameID IS NULL
BEGIN
INSERT INTO names (firstname, lastname)
VALUES (@firstname, @lastname)SELECT @NameID = SCOPE_IDENTITY()
END
END
SELECT @NameID
GO
Everything that I did just would not work. I kept getting a NULL back for the output parameter value. My test went something like this….
DECLARE @NameID INT
EXEC AddName ‘John’, ‘Smith’, @NameID
SELECT @NameID
I used the Template Explorer and setup a new stored procedure on the test database using the template. It worked like a charm with the output parameter being properly populated when the stored procedure returned.
I finally figured it out a little while ago. That little light blue word called OUTPUT over on the right after the last parameter in the EXEC statement for the stored procedure. I completely missed that on the template code example. I did not realize that you had to include the direction declaration there since the procedure itself already designated the last parameter as an output parameter.
My EXEC statement should have looked like this to work properly…
EXEC AddName ‘John’, ‘Smith’, @NameID OUTPUT
Oh well… I still have my hair.
Technorati Tags: database, programming, software development, SQL Server 2005
Aug 19 2006
I came across the Nerd Quiz on another blog this afternoon and just had to find out my nerd factor after 20 years of using computers.
Aug 06 2006
Because of the way that we are headed at work, I have decided to go the Microsoft Certified Professional Developer route. To do this, I have to get the Microsoft Certified Technology Specialist (MCTS) certification first. I am going to do this on the .NET 2.0 Windows Applications path first and then the Web Applications path.
I ordered the MCTS Self-Paced Training Kit (Exam 70-536) late last week. I want to try and do this in the next six months to a year.
Jul 27 2006
I finished working through the Day 1 section of Four Days on Rails this evening. It was a struggle at first trying to get everything setup, especially on Windows (still not fixed there), but that is behind me now. The deeper I get into it, the more interesting it gets.