November 2007
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  
Search

 
Catagories
Archives
Recent Entries
Links
RSS

June 30, 2004

iis admin won't enumerate web sites

Catagory: programming · This Entry · Comment(2) · eMail entry · Google
programming

on opening the MMC containing the IIS snap-in, a dialog box appears with the following error message / you are unable to enumerate web sites because the following error occurred :

Object already exists

here was my fix/workaround...

read more...
 
Posted by 7hz at 12:12 PM | Comments (2)

June 29, 2004

maximum page size in sql server

Catagory: sql server · This Entry · Comment(0) · eMail entry · Google
sql server

What is the Maximum Page Size in SQL Server 2000?

read more...
 
Posted by 7hz at 02:15 PM | Comments (0)

June 28, 2004

tree hierarchies in sql server

Catagory: sql server · This Entry · Comment(0) · eMail entry · Google
sql server

different ways to handle a tree hierarchies in sql server...

read more...
 
Posted by 7hz at 11:24 AM | Comments (0)

June 24, 2004

ms access left outer join

Catagory: sql server · This Entry · Comment(0) · eMail entry · Google
sql server

i'm not a big fan, but sometimes ms access makes for a decent tool. however, syntax for various sql operations are different. access can still perform a left outer join, here's how...

read more...
 
Posted by 7hz at 04:52 PM | Comments (0)

June 16, 2004

case insensitive searches

Catagory: sql server · This Entry · Comment(1) · eMail entry · Google
sql server

A default SQL Server installation is case insensitive, which means that SQL Server will not differentiate between upper and lower case characters/letters.

Here are some ways to perform case sensitive searches using different methods.

read more...
 
Posted by 7hz at 02:21 PM | Comments (1)

computed columns and indexes

Catagory: sql server · This Entry · Comment(0) · eMail entry · Google
sql server

computed columns have some benefits, along with some restrictions (like being deterministic). what's interesting is that SQL doesn't necessarily store the computed column data...

read more...
 
Posted by 7hz at 12:10 PM | Comments (0)

datetime cast

Catagory: sql server · This Entry · Comment(0) · eMail entry · Google
sql server

more ways to get/deal with datetime values...

read more...
 
Posted by 7hz at 10:54 AM | Comments (0)

June 15, 2004

set v. select

Catagory: sql server · This Entry · Comment(2) · eMail entry · Google
sql server

What is the difference between SET and SELECT when assigning values to variables, in T-SQL?

read more...
 
Posted by 7hz at 11:26 AM | Comments (2)

June 10, 2004

sub queries and result sets

Catagory: sql server · This Entry · Comment(0) · eMail entry · Google
sql server

while writing a query that seemed straight forward to me, i got the error : "Cannot perform an aggregate function on an expression containing an aggregate or a subquery."

the issue perhaps wasn't the logic of what i was trying to accomplish, but just the order and placement of operations.

the solution? you can always collect your data into a temp table and then work with that. but you don't have to...

read more...
 

Posted by 7hz at 06:11 PM | Comments (0)

stored procedure parameters

Catagory: sql server · This Entry · Comment(0) · eMail entry · Google
sql server

i actualy forgot you can do this (got used to stuffing paramters in order!)...

you can explicitly name your parameters inline (in the TSQL exec string).

read more...
 
Posted by 7hz at 05:27 PM | Comments (0)

June 07, 2004

date strings

Catagory: sql server · This Entry · Comment(0) · eMail entry · Google
sql server

i've explored a few more date to string format conversions. nothing really new here, but here are some observations.

read more...
 
Posted by 7hz at 02:59 PM | Comments (0)

June 02, 2004

access is denied on .NET assembly

Catagory: programming · This Entry · Comment(0) · eMail entry · Google
programming

SYMPTOMS

Server Error in '/MyWebApp' Application

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Access is denied: 'mydll'.

Source Error:

Line 169: <add assembly=<System.Drawing, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a>/>
Line 170: <add assembly=<System.EnterpriseServices, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a>/>
Line 171: <add assembly=<*>/>
Line 172: </assemblies>
Line 173:

Source File: c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config Line: 171
Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0

read more...
 
Posted by 7hz at 05:19 PM | Comments (0)