Home   Wordpress   Log in

Archive for May, 2006

Catastrophic Failure

May 31st, 2006 by admin | No Comments | Filed in .NET, Database, Mobile

Nice… I love it when that happens!!!

Especially when I right click on a table in Microsoft SQL Server Management Studio and then Open Table…

Probably need to reboot… That fixes everything else…

Intellisense for your T-SQL?

May 23rd, 2006 by admin | No Comments | Filed in .NET, Database, Mobile, Software

Yup, it is a reality.
Yup, it is free (for now).

It allows you to have Intellisense for your SQL queries. Works very nice. Good job Red-Gate!

Thanks Michal for the link.

Need to see if a column exist in a DataTable?

May 23rd, 2006 by admin | No Comments | Filed in .NET, Database, Mobile

It is easier than I thought it would be.

DataTable dt = new DataTable(“MyTable”);
bool hasMyColumn = dt.Columns.Contains(“MyColumn”);>

BTW: The Contains() methods appears to be for any collection and not just DataTables.

Reubonic Plague

May 19th, 2006 by admin | No Comments | Filed in Misc, Music, Personal, WebSites

If you do not know, John Reuben is one of my favorite musical artists… And I stress Musical ARTIST!!!

“SICK RHYMES KILLER BEATS”

I found a couple of autobiographical video’s and wanted to share them with you.

Videos

His websites:

Be careful, you just might catch the “Reubonic Plague”

Ok… New Live Mail

May 15th, 2006 by admin | No Comments | Filed in .NET, Misc, Software, WebSites

Found out why live mail was dead in the water a few minutes ago.
Looks like they were doing a system upgrade.

In the first minute of use… I like it.

  • Appears a good bit faster
  • No stupid adds on the right which takes some of your reading pane space
  • Move to works worlds better

Very nice… Good job Live mail team!!!

What I love to see when checking email!!!

May 15th, 2006 by admin | No Comments | Filed in .NET, Misc, Software, WebSites

I was trying to read my live mail account… Oh well…

Field Concatenation for multiple records

May 12th, 2006 by admin | No Comments | Filed in .NET, Database, Mobile

Ok, the goal is to take this PurchaseOrderHeader table from the AdventureWorks db and build a comma delimited string of purchase orders.

Filtered dataset:

PurchaseOrderId OrderDate               SubTotal
————— ———————– ———
801             2003-10-05 00:00:00.000 143.0415
884             2003-10-12 00:00:00.000 143.0415
907             2003-10-14 00:00:00.000 143.0415
971             2003-10-28 00:00:00.000 143.0415

DECLARE @PurchaseOrders varchar(50
>

SELECT @PurchaseOrders = ISNULL(@PurchaseOrders + ‘,’, ) + CONVERT(varchar(10), PurchaseOrderId)
FROM Purchasing.PurchaseOrderHeader
WHERE VendorId = 1
   
AND OrderDate BETWEEN ‘10/1/2003′ AND ‘10/31/2003′>

SELECT @PurchaseOrders>

This returns:

801,884,907,971

Congratulations Lady Bruins Softball

May 12th, 2006 by admin | No Comments | Filed in Personal, Sports

For winning the 2006 AAAA State Championship!!! GO BRUINS!!!

Championship game scores from WPDE here in Florence. (about the extent of what I could find online)

Fuss session: I am very upset with the local media here in Florence.
This should be something we should be proud of; yet it is only mentioned in passing.

Well… I am proud of you Lady Bruins!!!

Need a row counter for data returned from SQL?

May 11th, 2006 by admin | No Comments | Filed in .NET, Database, Design, Mobile

Check out the ROW_NUMBER() function new in SQL 2005.

Here is an example of what it can do using the AdventureWorks database.

SELECT  
   ’RowNumber’ = ROW_NUMBER() OVER (ORDER BY PurchaseOrderId)
   , PurchaseOrderId
   , OrderDate
   , SubTotal
FROM Purchasing.PurchaseOrderHeader
WHERE VendorId =
   
AND OrderDate BETWEEN ‘10/1/2003′ AND ‘10/31/2003′>

RowNumber PurchaseOrderId OrderDate               SubTotal
——— ————— ———————– ———
1         801             2003-10-05 00:00:00.000 143.0415
2         884             2003-10-12 00:00:00.000 143.0415
3         907             2003-10-14 00:00:00.000 143.0415
4         971             2003-10-28 00:00:00.000 143.0415

(4 row(s) affected)

I found out about this function in an article by M. Choirul Amri. (site not working at this time)

Atlas & AJAX @ PDANUG

May 9th, 2006 by admin | No Comments | Filed in .NET, Database, Design, Misc, Mobile, Personal, Software, WebSites

Maps and bathtub cleaners!!!
Now those are topics for a .NET users group meeting!!!

I can hardly wait to see Page Brooks‘ presentation tonight on those topics at the Pee Dee Area .NET Users Group.

Please see site for directions and times.

Download Full Movie Online Hytrin