[dba-SQLServer] How good are you really?

Haslett, Andrew andrew.haslett at ilc.gov.au
Sun Nov 20 16:29:11 CST 2005

Do you need to work with the database directly?

If not, you can use the built in dotnetnuke methods to retrieve these
values.  Its quite easy to use..

-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of John
Sent: Friday, 18 November 2005 3:20 AM
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] How good are you really?

The challenge:

DotNetNuke stores it's user info in a denormalized field in a table in
SQL Server.  One field has the definition of the data, for that record,
at that


With the data itself as follows:

 -480en-USMontanaLouise82637918 Keller Dr. Box
642Hammersmark307-436-9731United StatesGlenrock307-259-8423

As you can see, the data is really a set of fields, with the field names
embedded in the definition, then a start position within the data
string, and the length of the data actually in the string.

Is it possible to build a query or SP to pull the data out of the data
field, using the formatting data and return a table of the data with
field names and the data available?

John W. Colby

Contribute your unused CPU cycles to a good cause:

dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com

IMPORTANT - PLEASE READ *** This email any any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not.

More information about the dba-SQLServer mailing list