From newsgrps at dalyn.co.nz Wed Mar 2 18:34:36 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 03 Mar 2011 13:34:36 +1300 Subject: [dba-SQLServer] Restore SQL2000 database to SQL2008 Express Message-ID: <20110303003449.COIS26379.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Team, I can't find anything on the net about this. Does anyone know if a database developed on SQL2000 can be restored on SQL2008 Express? Are there any problems? I have a client that only has SQL2008 Express. I already have SQL2000 and SQL2005 installed on my development machine but am reluctant to add another version. If I can get away with developing in what I am familiar with and restoring to the newer version I would be a happy camper. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From fhtapia at gmail.com Wed Mar 2 18:42:21 2011 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 2 Mar 2011 16:42:21 -0800 Subject: [dba-SQLServer] Restore SQL2000 database to SQL2008 Express In-Reply-To: <20110303003449.COIS26379.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <20110303003449.COIS26379.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: you can always restore up, you can't restore down... that is 2000 to 2005 2000 to 2008 2005 to 2008 are all acceptable. what you can't do is restore a newer database to an older engine. If you have functions or use special undocumented features in your stored procedures you will find that these items simply do not work on the newer engine, but so far I have not seen too many features that are deprecated and no longer work in the newer engines, it's just frowned upon to continue using them. that being said, I like the features of datafields in 2008 vs those only available in 2000 case in point varchar(max) vs using text -Francisco http://bit.ly/sqlthis | Tsql and More... On Wed, Mar 2, 2011 at 4:34 PM, David Emerson wrote: > Team, > > I can't find anything on the net about this. Does anyone know if a > database developed on SQL2000 can be restored on SQL2008 Express? Are there > any problems? > > I have a client that only has SQL2008 Express. I already have SQL2000 and > SQL2005 installed on my development machine but am reluctant to add another > version. If I can get away with developing in what I am familiar with and > restoring to the newer version I would be a happy camper. > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From newsgrps at dalyn.co.nz Wed Mar 2 18:46:52 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 03 Mar 2011 13:46:52 +1300 Subject: [dba-SQLServer] Restore SQL2000 database to SQL2008 Express In-Reply-To: References: <20110303003449.COIS26379.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <20110303004709.BYSV5781.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Thanks. At 3/03/2011, Francisco Tapia wrote: >you can always restore up, you can't restore down... that is > >2000 to 2005 >2000 to 2008 >2005 to 2008 > >are all acceptable. what you can't do is restore a newer database >to an older engine. If you have functions or use special >undocumented features in your stored procedures you will find that >these items simply do not work on the newer engine, but so far I >have not seen too many features that are deprecated and no longer >work in the newer engines, it's just frowned upon to continue using them. > >that being said, I like the features of datafields in 2008 vs those >only available in 2000 case in point varchar(max) vs using text > > > >-Francisco >http://bit.ly/sqlthis | Tsql and More... > > > > >On Wed, Mar 2, 2011 at 4:34 PM, David Emerson ><newsgrps at dalyn.co.nz> wrote: >Team, > >I can't find anything on the net about this. Does anyone know if a >database developed on SQL2000 can be restored on SQL2008 >Express? Are there any problems? > >I have a client that only has SQL2008 Express. I already have >SQL2000 and SQL2005 installed on my development machine but am >reluctant to add another version. If I can get away with developing >in what I am familiar with and restoring to the newer version I >would be a happy camper. > > >Regards > >David Emerson >Dalyn Software Ltd >Wellington, New Zealand >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Wed Mar 2 20:11:33 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 02 Mar 2011 21:11:33 -0500 Subject: [dba-SQLServer] AMD Shows Off 16-Core 'Interlagos' Reference Design - Legit Reviews Message-ID: <4D6EF8D5.7060804@colbyconsulting.com> -- John W. Colby www.ColbyConsulting.com http://www.legitreviews.com/news/10164/ From jwcolby at colbyconsulting.com Fri Mar 11 08:26:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 11 Mar 2011 09:26:06 -0500 Subject: [dba-SQLServer] SVN - removing all version control for a directory and all files underneath Message-ID: <4D7A30FE.8050500@colbyconsulting.com> I am trying to copy a solution to a new location, strip all version control from it, delete a ton of projects within that solution and then version control the new solution. I copied the entire solution from my laptop to a VM and under my user / projects there. The copy still appears to be under version control. I looked in help and it says to copy the directory to itself using the vsn right click menu. I did that and it removed the vsn green checkmark from the top level directory (the solution) but left the check mark on all of the subdirectories (projects and stuff). Does anyone have a clue how to completely and entirely remove a directory from version control - remove all green check marks from every subdirectory etc.? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Mar 11 08:59:23 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 11 Mar 2011 09:59:23 -0500 Subject: [dba-SQLServer] SVN - removing all version control for a directory and all files underneath In-Reply-To: <4D7A30FE.8050500@colbyconsulting.com> References: <4D7A30FE.8050500@colbyconsulting.com> Message-ID: <4D7A38CB.7090807@colbyconsulting.com> As it turns out, doing the "export to same directory" seems to actually "unregister" the directory from source control. It leaves the green check marks in explorer - not sure what that means. However if I go into the solution itself, it no longer has the version control dots next to the items in the solution explorer. So it appears to have removed that local copy of the solution from source control. John W. Colby www.ColbyConsulting.com On 3/11/2011 9:26 AM, jwcolby wrote: > I am trying to copy a solution to a new location, strip all version control from it, delete a ton of > projects within that solution and then version control the new solution. > > I copied the entire solution from my laptop to a VM and under my user / projects there. The copy > still appears to be under version control. I looked in help and it says to copy the directory to > itself using the vsn right click menu. I did that and it removed the vsn green checkmark from the > top level directory (the solution) but left the check mark on all of the subdirectories (projects > and stuff). > > Does anyone have a clue how to completely and entirely remove a directory from version control - > remove all green check marks from every subdirectory etc.? From jwcolby at colbyconsulting.com Sun Mar 13 21:58:15 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 13 Mar 2011 22:58:15 -0400 Subject: [dba-SQLServer] Access runtime (an maybe full install?) Message-ID: <4D7D8447.4000003@colbyconsulting.com> I am trying to get an Access 2007 runtime to run reliably anywhere I install it. I had a Windows 2003 virtual machine hanging around so I cleaned Office off of it, and I installed the runtime. I got the directory path declared a safe location and voila, the application ran. Full of confidence I installed Hamachi, the runtime package and the app on a friend's (rather old) XP and it doesn't run. I dug out my old dev machine which it appears that I wiped and installed XP on some time ago. I installed Hamachi, got it on the VPN for this database etc. I then installed the runtime there and tried to run. No go. Of course the runtime doesn't report errors or at least reliably. So I built a little test version with just a single table and an autoform which automatically opened when the app opened. It actually reported that it couldn't talk to the odbc native sql driver (not the exact words of course). So I started Googling and soon discovered that this driver is installed by SQL Server as it installs. However an installer called sqlncli.msi is out there for download. I downloaded that and tried to run. No joy. I turned the machine off, and ran a network cable so it is directly on my network and voila, it runs. I then disabled the cable so that it is connecting to my network via my wireless and it runs. So it appears that the SQL driver is not installed as part of XP, which makes sense since this is SQL Server 2008 Express version I am connecting to. However I would have expected this odbc SQL driver to be part of the Access 2007 runtime, but it seems not. It does appear that a download / install / reboot of the machine will allow me to hook up to the sql server instance. So I am now running Hamachi, joined to this specific network, with the sqlncli.msi installer installing the ODBC SQL Server native driver, plus the Access 2007 runtime, running the full on app, hitting the sql server over the vpn on 5.203.167.79 (the Hamachi IP for the server). And it works on this machine of mine. Now I have to install the SQL Server drivers on the friend's old machine (also running XP but on 512 megs of ram) and ensure that will run. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sun Mar 13 22:27:45 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 13 Mar 2011 23:27:45 -0400 Subject: [dba-SQLServer] [AccessD] Access runtime (an maybe full install?) In-Reply-To: <4D7D8447.4000003@colbyconsulting.com> References: <4D7D8447.4000003@colbyconsulting.com> Message-ID: <4D7D8B31.4080405@colbyconsulting.com> And it runs on the friend's old machine as well. It feels like I might be working now. I have to say this has been one of the most complex jobs I have taken on, with Hamachi VPN networks, a virtual machine running the sql server database, and then the client machine running Hamachi and an Access 2007 runtime. Safe zones, sql server drivers not installed. It has been a challenge getting this running. John W. Colby www.ColbyConsulting.com On 3/13/2011 10:58 PM, jwcolby wrote: > I am trying to get an Access 2007 runtime to run reliably anywhere I install it. I had a Windows > 2003 virtual machine hanging around so I cleaned Office off of it, and I installed the runtime. I > got the directory path declared a safe location and voila, the application ran. > > Full of confidence I installed Hamachi, the runtime package and the app on a friend's (rather old) > XP and it doesn't run. I dug out my old dev machine which it appears that I wiped and installed XP > on some time ago. I installed Hamachi, got it on the VPN for this database etc. I then installed the > runtime there and tried to run. No go. > > Of course the runtime doesn't report errors or at least reliably. So I built a little test version > with just a single table and an autoform which automatically opened when the app opened. It actually > reported that it couldn't talk to the odbc native sql driver (not the exact words of course). So I > started Googling and soon discovered that this driver is installed by SQL Server as it installs. > However an installer called sqlncli.msi is out there for download. > > I downloaded that and tried to run. No joy. I turned the machine off, and ran a network cable so it > is directly on my network and voila, it runs. I then disabled the cable so that it is connecting to > my network via my wireless and it runs. > > So it appears that the SQL driver is not installed as part of XP, which makes sense since this is > SQL Server 2008 Express version I am connecting to. However I would have expected this odbc SQL > driver to be part of the Access 2007 runtime, but it seems not. > > It does appear that a download / install / reboot of the machine will allow me to hook up to the sql > server instance. > > So I am now running Hamachi, joined to this specific network, with the sqlncli.msi installer > installing the ODBC SQL Server native driver, plus the Access 2007 runtime, running the full on app, > hitting the sql server over the vpn on 5.203.167.79 (the Hamachi IP for the server). > > And it works on this machine of mine. > > Now I have to install the SQL Server drivers on the friend's old machine (also running XP but on 512 > megs of ram) and ensure that will run. > > From jwcolby at colbyconsulting.com Fri Mar 18 11:14:53 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 18 Mar 2011 12:14:53 -0400 Subject: [dba-SQLServer] ADO Recordset error near Message-ID: <4D8384FD.4030004@colbyconsulting.com> The following statement fails in SQL Server with "error near WHERE. SELECT * FROM ( SELECT tmmPersonInterests.* FROM tmmPersonInterests ) WHERE PEINT_IDPE = 1 I modified it to add the table name. SELECT * FROM ( SELECT tmmPersonInterests.* FROM tmmPersonInterests ) WHERE tmmPersonInterests .PEINT_IDPE = 1 It doesn't even compile in SQL Server. PEINT_IDPE is a field in the table and is type int. The following compiles and runs in sql server SELECT tmmPersonInterests.* FROM tmmPersonInterests WHERE tmmPersonInterests.PEINT_IDPE = 1 I am trying to programmatically wrap a sql statement inside of the outer statement so that I can have any valid statement in the inner sql statement and as long as the inner statement exposes the FK, I can filter the result set to only a specific set of records. When I hover over PEINT_IDPE it says that is not a valid column name. I thought that SQL server would evaluate the inside statement, discover that PEINT_IDPE existed in tmmPersonInterests and go. If (back in access) I just cut and paste this statement into a query window, it evaluates and pulls a result set. It does give me a swearword as the alias for the interior sql statement (in QBE in Access). Taking that as a clue, I changed the statement to SELECT * FROM ( SELECT tmmPersonInterests.* FROM tmmPersonInterests ) AS T1 WHERE PEINT_IDPE = 1 And it compiles and runs in SQL Server. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Mar 19 08:55:51 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 19 Mar 2011 09:55:51 -0400 Subject: [dba-SQLServer] Using the hash for real world problems Message-ID: <4D84B5E7.3010204@colbyconsulting.com> I got into the hashing business in order to create a surrogate key of sorts, in fact a trio of them. I have an address hash, a family hash and a person hash. I compute these three hashes for every table of persons. Now that I have these surrogate keys I have "identical" values in a single field where the input is identical in multiple fields. Thus I do not have to do multi-field joins where I have a hash for all of those fields. I am happy to hear that I am secure in my surrogate hash algorithm choice. OK, so I have these hashes. Every record has these three hashes. Now some definitions: HashAddr: A unique address is addr/zip5/zip4 different HashFamily: A unique family is LName/Addr/Zip5/Zip4 different HahsPerson: A unique person is FName/LName/Addr/Zip5/Zip4 different. Using this information, I need to calculate the count of addresses with a single person, with two persons etc for as many combinations as I have. Addresses People 22,538,240 1 780,462,346 2 52,234 3 people etc etc till every quantity of people is found. What is the simplest way to accomplish this with SQL. -- John W. Colby www.ColbyConsulting.com From accessd at shaw.ca Sat Mar 19 13:11:36 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 19 Mar 2011 11:11:36 -0700 Subject: [dba-SQLServer] Using the hash for real world problems In-Reply-To: <4D84B5E7.3010204@colbyconsulting.com> References: <4D84B5E7.3010204@colbyconsulting.com> Message-ID: Hi John: It looks good. One note is that I would put LName before FName as it might produce more accurate results. Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, March 19, 2011 6:56 AM To: VBA; Sqlserver-Dba Subject: [dba-SQLServer] Using the hash for real world problems I got into the hashing business in order to create a surrogate key of sorts, in fact a trio of them. I have an address hash, a family hash and a person hash. I compute these three hashes for every table of persons. Now that I have these surrogate keys I have "identical" values in a single field where the input is identical in multiple fields. Thus I do not have to do multi-field joins where I have a hash for all of those fields. I am happy to hear that I am secure in my surrogate hash algorithm choice. OK, so I have these hashes. Every record has these three hashes. Now some definitions: HashAddr: A unique address is addr/zip5/zip4 different HashFamily: A unique family is LName/Addr/Zip5/Zip4 different HahsPerson: A unique person is FName/LName/Addr/Zip5/Zip4 different. Using this information, I need to calculate the count of addresses with a single person, with two persons etc for as many combinations as I have. Addresses People 22,538,240 1 780,462,346 2 52,234 3 people etc etc till every quantity of people is found. What is the simplest way to accomplish this with SQL. -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From listmaster at databaseadvisors.com Wed Mar 23 14:34:46 2011 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Wed, 23 Mar 2011 15:34:46 -0400 Subject: [dba-SQLServer] Administrivia - Spam Filtering on DBA Servers In-Reply-To: References: Message-ID: We have made a change to the way our mailservers deal with spam filtering. We were getting too many false positive reports from one of the spam black list services we use, so we have discontinued using them. Hopefully your bounce troubles should be over, or at the very least greatly minimized. If you continue to have issues surrounding bounces, PLEASE, PLEASE, PLEASE get in touch with me (listmaster at databaseadvisors OR carbonnb at gmail.com if the listmaster address bounces). -- Bryan Carbonnell - listmaster at databaseadvisors.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From jnatola at hotmail.com Wed Mar 30 12:48:36 2011 From: jnatola at hotmail.com (Jean-Paul natola) Date: Wed, 30 Mar 2011 13:48:36 -0400 Subject: [dba-SQLServer] Authentication disconnects SSPI Message-ID: Hi all, Im running into an issue with users that ARE CURRENTLY connected to SQL DB's . they are working when suddenly they get disconnected and have to to close ms access (front end) and re-open. the logs are showing 17806 (SSPI 80090311) and 18452 user not associated with trusted SQL connection. This happens to random users at random time while they have been working for hours any thoughts/suggestions/ would be apprecited TIA J From jnatola at hotmail.com Wed Mar 30 13:00:54 2011 From: jnatola at hotmail.com (Jean-Paul natola) Date: Wed, 30 Mar 2011 14:00:54 -0400 Subject: [dba-SQLServer] Authentication disconnects SSPI In-Reply-To: References: Message-ID: I dont know if this has something to do with it, but I noticed on teh NIC that the Enable IEEE auth is checked, could that be causing these random errors? > From: jnatola at hotmail.com > To: dba-sqlserver at databaseadvisors.com > Date: Wed, 30 Mar 2011 13:48:36 -0400 > Subject: [dba-SQLServer] Authentication disconnects SSPI > > > Hi all, > > Im running into an issue with users that ARE CURRENTLY connected to SQL DB's . they are working when suddenly they get disconnected and have to to close ms access (front end) and re-open. > > the logs are showing 17806 (SSPI 80090311) and 18452 user not associated with trusted SQL connection. > > This happens to random users at random time while they have been working for hours > > any thoughts/suggestions/ would be apprecited > > > TIA > > J > > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > From fhtapia at gmail.com Wed Mar 30 14:51:33 2011 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 30 Mar 2011 12:51:33 -0700 Subject: [dba-SQLServer] Authentication disconnects SSPI In-Reply-To: References: Message-ID: I wouldn't think so it depends on if there is a problem with the authentication certificate for that device as it is part of the 802.1x security protocol, Do any of your other computers or users suffer from the same problem? -Francisco http://bit.ly/sqlthis | Tsql and More... http://db.tt/JeXURAx | DropBox (get 2.2 gb of free online storage) On Wed, Mar 30, 2011 at 11:00 AM, Jean-Paul natola wrote: > > I dont know if this has something to do with it, but I noticed on teh NIC > that the Enable IEEE auth is checked, could that be causing these random > errors? > > > > From: jnatola at hotmail.com > > To: dba-sqlserver at databaseadvisors.com > > Date: Wed, 30 Mar 2011 13:48:36 -0400 > > Subject: [dba-SQLServer] Authentication disconnects SSPI > > > > > > Hi all, > > > > Im running into an issue with users that ARE CURRENTLY connected to SQL > DB's . they are working when suddenly they get disconnected and have to to > close ms access (front end) and re-open. > > > > the logs are showing 17806 (SSPI 80090311) and 18452 user not associated > with trusted SQL connection. > > > > This happens to random users at random time while they have been working > for hours > > > > any thoughts/suggestions/ would be apprecited > > > > > > TIA > > > > J > > > > > > > > > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Wed Mar 30 15:10:52 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 31 Mar 2011 06:10:52 +1000 Subject: [dba-SQLServer] Authentication disconnects SSPI In-Reply-To: References: Message-ID: <4D938E4C.15880.1D8DB371@stuart.lexacorp.com.pg> Sounds like a networking problem - losing their network connection temporarily. -- Stuart On 30 Mar 2011 at 13:48, Jean-Paul natola wrote: > > Hi all, > > Im running into an issue with users that ARE CURRENTLY connected to > SQL DB's . they are working when suddenly they get disconnected and > have to to close ms access (front end) and re-open. > > the logs are showing 17806 (SSPI 80090311) and 18452 user not > associated with trusted SQL connection. > > This happens to random users at random time while they have been > working for hours > > any thoughts/suggestions/ would be apprecited > > > TIA > > J > > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From jnatola at hotmail.com Wed Mar 30 15:18:07 2011 From: jnatola at hotmail.com (Jean-Paul natola) Date: Wed, 30 Mar 2011 16:18:07 -0400 Subject: [dba-SQLServer] Authentication disconnects SSPI In-Reply-To: References: , , Message-ID: all of them do, i wonder if its the DC or the SQL server Jean-Paul Natola > From: fhtapia at gmail.com > Date: Wed, 30 Mar 2011 12:51:33 -0700 > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] Authentication disconnects SSPI > > I wouldn't think so it depends on if there is a problem with the > authentication certificate for that device as it is part of the 802.1x > security protocol, Do any of your other computers or users suffer from the > same problem? > > > -Francisco > http://bit.ly/sqlthis | Tsql and More... > http://db.tt/JeXURAx | DropBox (get 2.2 gb of free online storage) > > > > > On Wed, Mar 30, 2011 at 11:00 AM, Jean-Paul natola wrote: > > > > > I dont know if this has something to do with it, but I noticed on teh NIC > > that the Enable IEEE auth is checked, could that be causing these random > > errors? > > > > > > > From: jnatola at hotmail.com > > > To: dba-sqlserver at databaseadvisors.com > > > Date: Wed, 30 Mar 2011 13:48:36 -0400 > > > Subject: [dba-SQLServer] Authentication disconnects SSPI > > > > > > > > > Hi all, > > > > > > Im running into an issue with users that ARE CURRENTLY connected to SQL > > DB's . they are working when suddenly they get disconnected and have to to > > close ms access (front end) and re-open. > > > > > > the logs are showing 17806 (SSPI 80090311) and 18452 user not associated > > with trusted SQL connection. > > > > > > This happens to random users at random time while they have been working > > for hours > > > > > > any thoughts/suggestions/ would be apprecited > > > > > > > > > TIA > > > > > > J > > > > > > > > > > > > > > > _______________________________________________ > > > dba-SQLServer mailing list > > > dba-SQLServer at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > > http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > From jnatola at hotmail.com Wed Mar 30 15:19:41 2011 From: jnatola at hotmail.com (Jean-Paul natola) Date: Wed, 30 Mar 2011 16:19:41 -0400 Subject: [dba-SQLServer] Authentication disconnects SSPI In-Reply-To: <4D938E4C.15880.1D8DB371@stuart.lexacorp.com.pg> References: , <4D938E4C.15880.1D8DB371@stuart.lexacorp.com.pg> Message-ID: it think it , but is the loss workstations to SQl, workstations to DC or SQL to DC Jean-Paul Natola > From: stuart at lexacorp.com.pg > To: dba-sqlserver at databaseadvisors.com > Date: Thu, 31 Mar 2011 06:10:52 +1000 > Subject: Re: [dba-SQLServer] Authentication disconnects SSPI > > Sounds like a networking problem - losing their network connection temporarily. > -- > Stuart > > > On 30 Mar 2011 at 13:48, Jean-Paul natola wrote: > > > > > Hi all, > > > > Im running into an issue with users that ARE CURRENTLY connected to > > SQL DB's . they are working when suddenly they get disconnected and > > have to to close ms access (front end) and re-open. > > > > the logs are showing 17806 (SSPI 80090311) and 18452 user not > > associated with trusted SQL connection. > > > > This happens to random users at random time while they have been > > working for hours > > > > any thoughts/suggestions/ would be apprecited > > > > > > TIA > > > > J > > > > > > > > > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > From fhtapia at gmail.com Wed Mar 30 22:03:52 2011 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 30 Mar 2011 20:03:52 -0700 Subject: [dba-SQLServer] Authentication disconnects SSPI In-Reply-To: References: Message-ID: do you have a network admin to assist in troubleshooting? If not, try running a ping -t to the SQL server's ip, we may even need to help rule out switches that are in between. Try using a machine that is on the same switch to help narrow down problems. On 3/30/11, Jean-Paul natola wrote: > > > all of them do, i wonder if its the DC or the SQL server > > > > > > > > > > > > > > > > > > > > > Jean-Paul Natola > > > > > > >> From: fhtapia at gmail.com >> Date: Wed, 30 Mar 2011 12:51:33 -0700 >> To: dba-sqlserver at databaseadvisors.com >> Subject: Re: [dba-SQLServer] Authentication disconnects SSPI >> >> I wouldn't think so it depends on if there is a problem with the >> authentication certificate for that device as it is part of the 802.1x >> security protocol, Do any of your other computers or users suffer from >> the >> same problem? >> >> >> -Francisco >> http://bit.ly/sqlthis | Tsql and More... >> http://db.tt/JeXURAx | DropBox (get 2.2 gb of free online storage) >> >> >> >> >> On Wed, Mar 30, 2011 at 11:00 AM, Jean-Paul natola >> wrote: >> >> > >> > I dont know if this has something to do with it, but I noticed on teh >> > NIC >> > that the Enable IEEE auth is checked, could that be causing these >> > random >> > errors? >> > >> > >> > > From: jnatola at hotmail.com >> > > To: dba-sqlserver at databaseadvisors.com >> > > Date: Wed, 30 Mar 2011 13:48:36 -0400 >> > > Subject: [dba-SQLServer] Authentication disconnects SSPI >> > > >> > > >> > > Hi all, >> > > >> > > Im running into an issue with users that ARE CURRENTLY connected to >> > > SQL >> > DB's . they are working when suddenly they get disconnected and have to >> > to >> > close ms access (front end) and re-open. >> > > >> > > the logs are showing 17806 (SSPI 80090311) and 18452 user not >> > > associated >> > with trusted SQL connection. >> > > >> > > This happens to random users at random time while they have been >> > > working >> > for hours >> > > >> > > any thoughts/suggestions/ would be apprecited >> > > >> > > >> > > TIA >> > > >> > > J >> > > >> > > >> > > >> > > >> > > _______________________________________________ >> > > dba-SQLServer mailing list >> > > dba-SQLServer at databaseadvisors.com >> > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >> > > http://www.databaseadvisors.com >> > > >> > >> > _______________________________________________ >> > dba-SQLServer mailing list >> > dba-SQLServer at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >> > http://www.databaseadvisors.com >> > >> > >> _______________________________________________ >> dba-SQLServer mailing list >> dba-SQLServer at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >> http://www.databaseadvisors.com >> > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- Sent from my mobile device -Francisco http://bit.ly/sqlthis | Tsql and More... http://db.tt/JeXURAx | Drop Box, it's like a usb drive that's available everywhere... From jnatola at hotmail.com Thu Mar 31 00:03:05 2011 From: jnatola at hotmail.com (Jean-Paul natola) Date: Thu, 31 Mar 2011 01:03:05 -0400 Subject: [dba-SQLServer] Authentication disconnects SSPI In-Reply-To: References: , , , , Message-ID: its ok to the sql, it will occassionaly hit 700+ to the domain controller I ran netmon on the DC and did find auth issues kerberos krb_error kdc_err_s_principal_unknown 7 PS: everything is on one LAN single forest single domain Jean-Paul Natola > Date: Wed, 30 Mar 2011 20:03:52 -0700 > From: fhtapia at gmail.com > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] Authentication disconnects SSPI > > do you have a network admin to assist in troubleshooting? > > If not, try running a ping -t to the SQL server's ip, we may even need > to help rule out switches that are in between. > > Try using a machine that is on the same switch to help narrow down problems. > > On 3/30/11, Jean-Paul natola wrote: > > > > > > all of them do, i wonder if its the DC or the SQL server > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Jean-Paul Natola > > > > > > > > > > > > > >> From: fhtapia at gmail.com > >> Date: Wed, 30 Mar 2011 12:51:33 -0700 > >> To: dba-sqlserver at databaseadvisors.com > >> Subject: Re: [dba-SQLServer] Authentication disconnects SSPI > >> > >> I wouldn't think so it depends on if there is a problem with the > >> authentication certificate for that device as it is part of the 802.1x > >> security protocol, Do any of your other computers or users suffer from > >> the > >> same problem? > >> > >> > >> -Francisco > >> http://bit.ly/sqlthis | Tsql and More... > >> http://db.tt/JeXURAx | DropBox (get 2.2 gb of free online storage) > >> > >> > >> > >> > >> On Wed, Mar 30, 2011 at 11:00 AM, Jean-Paul natola > >> wrote: > >> > >> > > >> > I dont know if this has something to do with it, but I noticed on teh > >> > NIC > >> > that the Enable IEEE auth is checked, could that be causing these > >> > random > >> > errors? > >> > > >> > > >> > > From: jnatola at hotmail.com > >> > > To: dba-sqlserver at databaseadvisors.com > >> > > Date: Wed, 30 Mar 2011 13:48:36 -0400 > >> > > Subject: [dba-SQLServer] Authentication disconnects SSPI > >> > > > >> > > > >> > > Hi all, > >> > > > >> > > Im running into an issue with users that ARE CURRENTLY connected to > >> > > SQL > >> > DB's . they are working when suddenly they get disconnected and have to > >> > to > >> > close ms access (front end) and re-open. > >> > > > >> > > the logs are showing 17806 (SSPI 80090311) and 18452 user not > >> > > associated > >> > with trusted SQL connection. > >> > > > >> > > This happens to random users at random time while they have been > >> > > working > >> > for hours > >> > > > >> > > any thoughts/suggestions/ would be apprecited > >> > > > >> > > > >> > > TIA > >> > > > >> > > J > >> > > > >> > > > >> > > > >> > > > >> > > _______________________________________________ > >> > > dba-SQLServer mailing list > >> > > dba-SQLServer at databaseadvisors.com > >> > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > >> > > http://www.databaseadvisors.com > >> > > > >> > > >> > _______________________________________________ > >> > dba-SQLServer mailing list > >> > dba-SQLServer at databaseadvisors.com > >> > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > >> > http://www.databaseadvisors.com > >> > > >> > > >> _______________________________________________ > >> dba-SQLServer mailing list > >> dba-SQLServer at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > >> http://www.databaseadvisors.com > >> > > > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > > > -- > Sent from my mobile device > > -Francisco > http://bit.ly/sqlthis | Tsql and More... > http://db.tt/JeXURAx | Drop Box, it's like a usb drive that's available > everywhere... > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > From newsgrps at dalyn.co.nz Wed Mar 2 18:34:36 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 03 Mar 2011 13:34:36 +1300 Subject: [dba-SQLServer] Restore SQL2000 database to SQL2008 Express Message-ID: <20110303003449.COIS26379.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Team, I can't find anything on the net about this. Does anyone know if a database developed on SQL2000 can be restored on SQL2008 Express? Are there any problems? I have a client that only has SQL2008 Express. I already have SQL2000 and SQL2005 installed on my development machine but am reluctant to add another version. If I can get away with developing in what I am familiar with and restoring to the newer version I would be a happy camper. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From fhtapia at gmail.com Wed Mar 2 18:42:21 2011 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 2 Mar 2011 16:42:21 -0800 Subject: [dba-SQLServer] Restore SQL2000 database to SQL2008 Express In-Reply-To: <20110303003449.COIS26379.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <20110303003449.COIS26379.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: you can always restore up, you can't restore down... that is 2000 to 2005 2000 to 2008 2005 to 2008 are all acceptable. what you can't do is restore a newer database to an older engine. If you have functions or use special undocumented features in your stored procedures you will find that these items simply do not work on the newer engine, but so far I have not seen too many features that are deprecated and no longer work in the newer engines, it's just frowned upon to continue using them. that being said, I like the features of datafields in 2008 vs those only available in 2000 case in point varchar(max) vs using text -Francisco http://bit.ly/sqlthis | Tsql and More... On Wed, Mar 2, 2011 at 4:34 PM, David Emerson wrote: > Team, > > I can't find anything on the net about this. Does anyone know if a > database developed on SQL2000 can be restored on SQL2008 Express? Are there > any problems? > > I have a client that only has SQL2008 Express. I already have SQL2000 and > SQL2005 installed on my development machine but am reluctant to add another > version. If I can get away with developing in what I am familiar with and > restoring to the newer version I would be a happy camper. > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From newsgrps at dalyn.co.nz Wed Mar 2 18:46:52 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 03 Mar 2011 13:46:52 +1300 Subject: [dba-SQLServer] Restore SQL2000 database to SQL2008 Express In-Reply-To: References: <20110303003449.COIS26379.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <20110303004709.BYSV5781.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Thanks. At 3/03/2011, Francisco Tapia wrote: >you can always restore up, you can't restore down... that is > >2000 to 2005 >2000 to 2008 >2005 to 2008 > >are all acceptable. what you can't do is restore a newer database >to an older engine. If you have functions or use special >undocumented features in your stored procedures you will find that >these items simply do not work on the newer engine, but so far I >have not seen too many features that are deprecated and no longer >work in the newer engines, it's just frowned upon to continue using them. > >that being said, I like the features of datafields in 2008 vs those >only available in 2000 case in point varchar(max) vs using text > > > >-Francisco >http://bit.ly/sqlthis | Tsql and More... > > > > >On Wed, Mar 2, 2011 at 4:34 PM, David Emerson ><newsgrps at dalyn.co.nz> wrote: >Team, > >I can't find anything on the net about this. Does anyone know if a >database developed on SQL2000 can be restored on SQL2008 >Express? Are there any problems? > >I have a client that only has SQL2008 Express. I already have >SQL2000 and SQL2005 installed on my development machine but am >reluctant to add another version. If I can get away with developing >in what I am familiar with and restoring to the newer version I >would be a happy camper. > > >Regards > >David Emerson >Dalyn Software Ltd >Wellington, New Zealand >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Wed Mar 2 20:11:33 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 02 Mar 2011 21:11:33 -0500 Subject: [dba-SQLServer] AMD Shows Off 16-Core 'Interlagos' Reference Design - Legit Reviews Message-ID: <4D6EF8D5.7060804@colbyconsulting.com> -- John W. Colby www.ColbyConsulting.com http://www.legitreviews.com/news/10164/ From jwcolby at colbyconsulting.com Fri Mar 11 08:26:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 11 Mar 2011 09:26:06 -0500 Subject: [dba-SQLServer] SVN - removing all version control for a directory and all files underneath Message-ID: <4D7A30FE.8050500@colbyconsulting.com> I am trying to copy a solution to a new location, strip all version control from it, delete a ton of projects within that solution and then version control the new solution. I copied the entire solution from my laptop to a VM and under my user / projects there. The copy still appears to be under version control. I looked in help and it says to copy the directory to itself using the vsn right click menu. I did that and it removed the vsn green checkmark from the top level directory (the solution) but left the check mark on all of the subdirectories (projects and stuff). Does anyone have a clue how to completely and entirely remove a directory from version control - remove all green check marks from every subdirectory etc.? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Mar 11 08:59:23 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 11 Mar 2011 09:59:23 -0500 Subject: [dba-SQLServer] SVN - removing all version control for a directory and all files underneath In-Reply-To: <4D7A30FE.8050500@colbyconsulting.com> References: <4D7A30FE.8050500@colbyconsulting.com> Message-ID: <4D7A38CB.7090807@colbyconsulting.com> As it turns out, doing the "export to same directory" seems to actually "unregister" the directory from source control. It leaves the green check marks in explorer - not sure what that means. However if I go into the solution itself, it no longer has the version control dots next to the items in the solution explorer. So it appears to have removed that local copy of the solution from source control. John W. Colby www.ColbyConsulting.com On 3/11/2011 9:26 AM, jwcolby wrote: > I am trying to copy a solution to a new location, strip all version control from it, delete a ton of > projects within that solution and then version control the new solution. > > I copied the entire solution from my laptop to a VM and under my user / projects there. The copy > still appears to be under version control. I looked in help and it says to copy the directory to > itself using the vsn right click menu. I did that and it removed the vsn green checkmark from the > top level directory (the solution) but left the check mark on all of the subdirectories (projects > and stuff). > > Does anyone have a clue how to completely and entirely remove a directory from version control - > remove all green check marks from every subdirectory etc.? From jwcolby at colbyconsulting.com Sun Mar 13 21:58:15 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 13 Mar 2011 22:58:15 -0400 Subject: [dba-SQLServer] Access runtime (an maybe full install?) Message-ID: <4D7D8447.4000003@colbyconsulting.com> I am trying to get an Access 2007 runtime to run reliably anywhere I install it. I had a Windows 2003 virtual machine hanging around so I cleaned Office off of it, and I installed the runtime. I got the directory path declared a safe location and voila, the application ran. Full of confidence I installed Hamachi, the runtime package and the app on a friend's (rather old) XP and it doesn't run. I dug out my old dev machine which it appears that I wiped and installed XP on some time ago. I installed Hamachi, got it on the VPN for this database etc. I then installed the runtime there and tried to run. No go. Of course the runtime doesn't report errors or at least reliably. So I built a little test version with just a single table and an autoform which automatically opened when the app opened. It actually reported that it couldn't talk to the odbc native sql driver (not the exact words of course). So I started Googling and soon discovered that this driver is installed by SQL Server as it installs. However an installer called sqlncli.msi is out there for download. I downloaded that and tried to run. No joy. I turned the machine off, and ran a network cable so it is directly on my network and voila, it runs. I then disabled the cable so that it is connecting to my network via my wireless and it runs. So it appears that the SQL driver is not installed as part of XP, which makes sense since this is SQL Server 2008 Express version I am connecting to. However I would have expected this odbc SQL driver to be part of the Access 2007 runtime, but it seems not. It does appear that a download / install / reboot of the machine will allow me to hook up to the sql server instance. So I am now running Hamachi, joined to this specific network, with the sqlncli.msi installer installing the ODBC SQL Server native driver, plus the Access 2007 runtime, running the full on app, hitting the sql server over the vpn on 5.203.167.79 (the Hamachi IP for the server). And it works on this machine of mine. Now I have to install the SQL Server drivers on the friend's old machine (also running XP but on 512 megs of ram) and ensure that will run. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sun Mar 13 22:27:45 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 13 Mar 2011 23:27:45 -0400 Subject: [dba-SQLServer] [AccessD] Access runtime (an maybe full install?) In-Reply-To: <4D7D8447.4000003@colbyconsulting.com> References: <4D7D8447.4000003@colbyconsulting.com> Message-ID: <4D7D8B31.4080405@colbyconsulting.com> And it runs on the friend's old machine as well. It feels like I might be working now. I have to say this has been one of the most complex jobs I have taken on, with Hamachi VPN networks, a virtual machine running the sql server database, and then the client machine running Hamachi and an Access 2007 runtime. Safe zones, sql server drivers not installed. It has been a challenge getting this running. John W. Colby www.ColbyConsulting.com On 3/13/2011 10:58 PM, jwcolby wrote: > I am trying to get an Access 2007 runtime to run reliably anywhere I install it. I had a Windows > 2003 virtual machine hanging around so I cleaned Office off of it, and I installed the runtime. I > got the directory path declared a safe location and voila, the application ran. > > Full of confidence I installed Hamachi, the runtime package and the app on a friend's (rather old) > XP and it doesn't run. I dug out my old dev machine which it appears that I wiped and installed XP > on some time ago. I installed Hamachi, got it on the VPN for this database etc. I then installed the > runtime there and tried to run. No go. > > Of course the runtime doesn't report errors or at least reliably. So I built a little test version > with just a single table and an autoform which automatically opened when the app opened. It actually > reported that it couldn't talk to the odbc native sql driver (not the exact words of course). So I > started Googling and soon discovered that this driver is installed by SQL Server as it installs. > However an installer called sqlncli.msi is out there for download. > > I downloaded that and tried to run. No joy. I turned the machine off, and ran a network cable so it > is directly on my network and voila, it runs. I then disabled the cable so that it is connecting to > my network via my wireless and it runs. > > So it appears that the SQL driver is not installed as part of XP, which makes sense since this is > SQL Server 2008 Express version I am connecting to. However I would have expected this odbc SQL > driver to be part of the Access 2007 runtime, but it seems not. > > It does appear that a download / install / reboot of the machine will allow me to hook up to the sql > server instance. > > So I am now running Hamachi, joined to this specific network, with the sqlncli.msi installer > installing the ODBC SQL Server native driver, plus the Access 2007 runtime, running the full on app, > hitting the sql server over the vpn on 5.203.167.79 (the Hamachi IP for the server). > > And it works on this machine of mine. > > Now I have to install the SQL Server drivers on the friend's old machine (also running XP but on 512 > megs of ram) and ensure that will run. > > From jwcolby at colbyconsulting.com Fri Mar 18 11:14:53 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 18 Mar 2011 12:14:53 -0400 Subject: [dba-SQLServer] ADO Recordset error near Message-ID: <4D8384FD.4030004@colbyconsulting.com> The following statement fails in SQL Server with "error near WHERE. SELECT * FROM ( SELECT tmmPersonInterests.* FROM tmmPersonInterests ) WHERE PEINT_IDPE = 1 I modified it to add the table name. SELECT * FROM ( SELECT tmmPersonInterests.* FROM tmmPersonInterests ) WHERE tmmPersonInterests .PEINT_IDPE = 1 It doesn't even compile in SQL Server. PEINT_IDPE is a field in the table and is type int. The following compiles and runs in sql server SELECT tmmPersonInterests.* FROM tmmPersonInterests WHERE tmmPersonInterests.PEINT_IDPE = 1 I am trying to programmatically wrap a sql statement inside of the outer statement so that I can have any valid statement in the inner sql statement and as long as the inner statement exposes the FK, I can filter the result set to only a specific set of records. When I hover over PEINT_IDPE it says that is not a valid column name. I thought that SQL server would evaluate the inside statement, discover that PEINT_IDPE existed in tmmPersonInterests and go. If (back in access) I just cut and paste this statement into a query window, it evaluates and pulls a result set. It does give me a swearword as the alias for the interior sql statement (in QBE in Access). Taking that as a clue, I changed the statement to SELECT * FROM ( SELECT tmmPersonInterests.* FROM tmmPersonInterests ) AS T1 WHERE PEINT_IDPE = 1 And it compiles and runs in SQL Server. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Mar 19 08:55:51 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 19 Mar 2011 09:55:51 -0400 Subject: [dba-SQLServer] Using the hash for real world problems Message-ID: <4D84B5E7.3010204@colbyconsulting.com> I got into the hashing business in order to create a surrogate key of sorts, in fact a trio of them. I have an address hash, a family hash and a person hash. I compute these three hashes for every table of persons. Now that I have these surrogate keys I have "identical" values in a single field where the input is identical in multiple fields. Thus I do not have to do multi-field joins where I have a hash for all of those fields. I am happy to hear that I am secure in my surrogate hash algorithm choice. OK, so I have these hashes. Every record has these three hashes. Now some definitions: HashAddr: A unique address is addr/zip5/zip4 different HashFamily: A unique family is LName/Addr/Zip5/Zip4 different HahsPerson: A unique person is FName/LName/Addr/Zip5/Zip4 different. Using this information, I need to calculate the count of addresses with a single person, with two persons etc for as many combinations as I have. Addresses People 22,538,240 1 780,462,346 2 52,234 3 people etc etc till every quantity of people is found. What is the simplest way to accomplish this with SQL. -- John W. Colby www.ColbyConsulting.com From accessd at shaw.ca Sat Mar 19 13:11:36 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 19 Mar 2011 11:11:36 -0700 Subject: [dba-SQLServer] Using the hash for real world problems In-Reply-To: <4D84B5E7.3010204@colbyconsulting.com> References: <4D84B5E7.3010204@colbyconsulting.com> Message-ID: Hi John: It looks good. One note is that I would put LName before FName as it might produce more accurate results. Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, March 19, 2011 6:56 AM To: VBA; Sqlserver-Dba Subject: [dba-SQLServer] Using the hash for real world problems I got into the hashing business in order to create a surrogate key of sorts, in fact a trio of them. I have an address hash, a family hash and a person hash. I compute these three hashes for every table of persons. Now that I have these surrogate keys I have "identical" values in a single field where the input is identical in multiple fields. Thus I do not have to do multi-field joins where I have a hash for all of those fields. I am happy to hear that I am secure in my surrogate hash algorithm choice. OK, so I have these hashes. Every record has these three hashes. Now some definitions: HashAddr: A unique address is addr/zip5/zip4 different HashFamily: A unique family is LName/Addr/Zip5/Zip4 different HahsPerson: A unique person is FName/LName/Addr/Zip5/Zip4 different. Using this information, I need to calculate the count of addresses with a single person, with two persons etc for as many combinations as I have. Addresses People 22,538,240 1 780,462,346 2 52,234 3 people etc etc till every quantity of people is found. What is the simplest way to accomplish this with SQL. -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From listmaster at databaseadvisors.com Wed Mar 23 14:34:46 2011 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Wed, 23 Mar 2011 15:34:46 -0400 Subject: [dba-SQLServer] Administrivia - Spam Filtering on DBA Servers In-Reply-To: References: Message-ID: We have made a change to the way our mailservers deal with spam filtering. We were getting too many false positive reports from one of the spam black list services we use, so we have discontinued using them. Hopefully your bounce troubles should be over, or at the very least greatly minimized. If you continue to have issues surrounding bounces, PLEASE, PLEASE, PLEASE get in touch with me (listmaster at databaseadvisors OR carbonnb at gmail.com if the listmaster address bounces). -- Bryan Carbonnell - listmaster at databaseadvisors.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From jnatola at hotmail.com Wed Mar 30 12:48:36 2011 From: jnatola at hotmail.com (Jean-Paul natola) Date: Wed, 30 Mar 2011 13:48:36 -0400 Subject: [dba-SQLServer] Authentication disconnects SSPI Message-ID: Hi all, Im running into an issue with users that ARE CURRENTLY connected to SQL DB's . they are working when suddenly they get disconnected and have to to close ms access (front end) and re-open. the logs are showing 17806 (SSPI 80090311) and 18452 user not associated with trusted SQL connection. This happens to random users at random time while they have been working for hours any thoughts/suggestions/ would be apprecited TIA J From jnatola at hotmail.com Wed Mar 30 13:00:54 2011 From: jnatola at hotmail.com (Jean-Paul natola) Date: Wed, 30 Mar 2011 14:00:54 -0400 Subject: [dba-SQLServer] Authentication disconnects SSPI In-Reply-To: References: Message-ID: I dont know if this has something to do with it, but I noticed on teh NIC that the Enable IEEE auth is checked, could that be causing these random errors? > From: jnatola at hotmail.com > To: dba-sqlserver at databaseadvisors.com > Date: Wed, 30 Mar 2011 13:48:36 -0400 > Subject: [dba-SQLServer] Authentication disconnects SSPI > > > Hi all, > > Im running into an issue with users that ARE CURRENTLY connected to SQL DB's . they are working when suddenly they get disconnected and have to to close ms access (front end) and re-open. > > the logs are showing 17806 (SSPI 80090311) and 18452 user not associated with trusted SQL connection. > > This happens to random users at random time while they have been working for hours > > any thoughts/suggestions/ would be apprecited > > > TIA > > J > > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > From fhtapia at gmail.com Wed Mar 30 14:51:33 2011 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 30 Mar 2011 12:51:33 -0700 Subject: [dba-SQLServer] Authentication disconnects SSPI In-Reply-To: References: Message-ID: I wouldn't think so it depends on if there is a problem with the authentication certificate for that device as it is part of the 802.1x security protocol, Do any of your other computers or users suffer from the same problem? -Francisco http://bit.ly/sqlthis | Tsql and More... http://db.tt/JeXURAx | DropBox (get 2.2 gb of free online storage) On Wed, Mar 30, 2011 at 11:00 AM, Jean-Paul natola wrote: > > I dont know if this has something to do with it, but I noticed on teh NIC > that the Enable IEEE auth is checked, could that be causing these random > errors? > > > > From: jnatola at hotmail.com > > To: dba-sqlserver at databaseadvisors.com > > Date: Wed, 30 Mar 2011 13:48:36 -0400 > > Subject: [dba-SQLServer] Authentication disconnects SSPI > > > > > > Hi all, > > > > Im running into an issue with users that ARE CURRENTLY connected to SQL > DB's . they are working when suddenly they get disconnected and have to to > close ms access (front end) and re-open. > > > > the logs are showing 17806 (SSPI 80090311) and 18452 user not associated > with trusted SQL connection. > > > > This happens to random users at random time while they have been working > for hours > > > > any thoughts/suggestions/ would be apprecited > > > > > > TIA > > > > J > > > > > > > > > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Wed Mar 30 15:10:52 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 31 Mar 2011 06:10:52 +1000 Subject: [dba-SQLServer] Authentication disconnects SSPI In-Reply-To: References: Message-ID: <4D938E4C.15880.1D8DB371@stuart.lexacorp.com.pg> Sounds like a networking problem - losing their network connection temporarily. -- Stuart On 30 Mar 2011 at 13:48, Jean-Paul natola wrote: > > Hi all, > > Im running into an issue with users that ARE CURRENTLY connected to > SQL DB's . they are working when suddenly they get disconnected and > have to to close ms access (front end) and re-open. > > the logs are showing 17806 (SSPI 80090311) and 18452 user not > associated with trusted SQL connection. > > This happens to random users at random time while they have been > working for hours > > any thoughts/suggestions/ would be apprecited > > > TIA > > J > > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From jnatola at hotmail.com Wed Mar 30 15:18:07 2011 From: jnatola at hotmail.com (Jean-Paul natola) Date: Wed, 30 Mar 2011 16:18:07 -0400 Subject: [dba-SQLServer] Authentication disconnects SSPI In-Reply-To: References: , , Message-ID: all of them do, i wonder if its the DC or the SQL server Jean-Paul Natola > From: fhtapia at gmail.com > Date: Wed, 30 Mar 2011 12:51:33 -0700 > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] Authentication disconnects SSPI > > I wouldn't think so it depends on if there is a problem with the > authentication certificate for that device as it is part of the 802.1x > security protocol, Do any of your other computers or users suffer from the > same problem? > > > -Francisco > http://bit.ly/sqlthis | Tsql and More... > http://db.tt/JeXURAx | DropBox (get 2.2 gb of free online storage) > > > > > On Wed, Mar 30, 2011 at 11:00 AM, Jean-Paul natola wrote: > > > > > I dont know if this has something to do with it, but I noticed on teh NIC > > that the Enable IEEE auth is checked, could that be causing these random > > errors? > > > > > > > From: jnatola at hotmail.com > > > To: dba-sqlserver at databaseadvisors.com > > > Date: Wed, 30 Mar 2011 13:48:36 -0400 > > > Subject: [dba-SQLServer] Authentication disconnects SSPI > > > > > > > > > Hi all, > > > > > > Im running into an issue with users that ARE CURRENTLY connected to SQL > > DB's . they are working when suddenly they get disconnected and have to to > > close ms access (front end) and re-open. > > > > > > the logs are showing 17806 (SSPI 80090311) and 18452 user not associated > > with trusted SQL connection. > > > > > > This happens to random users at random time while they have been working > > for hours > > > > > > any thoughts/suggestions/ would be apprecited > > > > > > > > > TIA > > > > > > J > > > > > > > > > > > > > > > _______________________________________________ > > > dba-SQLServer mailing list > > > dba-SQLServer at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > > http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > From jnatola at hotmail.com Wed Mar 30 15:19:41 2011 From: jnatola at hotmail.com (Jean-Paul natola) Date: Wed, 30 Mar 2011 16:19:41 -0400 Subject: [dba-SQLServer] Authentication disconnects SSPI In-Reply-To: <4D938E4C.15880.1D8DB371@stuart.lexacorp.com.pg> References: , <4D938E4C.15880.1D8DB371@stuart.lexacorp.com.pg> Message-ID: it think it , but is the loss workstations to SQl, workstations to DC or SQL to DC Jean-Paul Natola > From: stuart at lexacorp.com.pg > To: dba-sqlserver at databaseadvisors.com > Date: Thu, 31 Mar 2011 06:10:52 +1000 > Subject: Re: [dba-SQLServer] Authentication disconnects SSPI > > Sounds like a networking problem - losing their network connection temporarily. > -- > Stuart > > > On 30 Mar 2011 at 13:48, Jean-Paul natola wrote: > > > > > Hi all, > > > > Im running into an issue with users that ARE CURRENTLY connected to > > SQL DB's . they are working when suddenly they get disconnected and > > have to to close ms access (front end) and re-open. > > > > the logs are showing 17806 (SSPI 80090311) and 18452 user not > > associated with trusted SQL connection. > > > > This happens to random users at random time while they have been > > working for hours > > > > any thoughts/suggestions/ would be apprecited > > > > > > TIA > > > > J > > > > > > > > > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > From fhtapia at gmail.com Wed Mar 30 22:03:52 2011 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 30 Mar 2011 20:03:52 -0700 Subject: [dba-SQLServer] Authentication disconnects SSPI In-Reply-To: References: Message-ID: do you have a network admin to assist in troubleshooting? If not, try running a ping -t to the SQL server's ip, we may even need to help rule out switches that are in between. Try using a machine that is on the same switch to help narrow down problems. On 3/30/11, Jean-Paul natola wrote: > > > all of them do, i wonder if its the DC or the SQL server > > > > > > > > > > > > > > > > > > > > > Jean-Paul Natola > > > > > > >> From: fhtapia at gmail.com >> Date: Wed, 30 Mar 2011 12:51:33 -0700 >> To: dba-sqlserver at databaseadvisors.com >> Subject: Re: [dba-SQLServer] Authentication disconnects SSPI >> >> I wouldn't think so it depends on if there is a problem with the >> authentication certificate for that device as it is part of the 802.1x >> security protocol, Do any of your other computers or users suffer from >> the >> same problem? >> >> >> -Francisco >> http://bit.ly/sqlthis | Tsql and More... >> http://db.tt/JeXURAx | DropBox (get 2.2 gb of free online storage) >> >> >> >> >> On Wed, Mar 30, 2011 at 11:00 AM, Jean-Paul natola >> wrote: >> >> > >> > I dont know if this has something to do with it, but I noticed on teh >> > NIC >> > that the Enable IEEE auth is checked, could that be causing these >> > random >> > errors? >> > >> > >> > > From: jnatola at hotmail.com >> > > To: dba-sqlserver at databaseadvisors.com >> > > Date: Wed, 30 Mar 2011 13:48:36 -0400 >> > > Subject: [dba-SQLServer] Authentication disconnects SSPI >> > > >> > > >> > > Hi all, >> > > >> > > Im running into an issue with users that ARE CURRENTLY connected to >> > > SQL >> > DB's . they are working when suddenly they get disconnected and have to >> > to >> > close ms access (front end) and re-open. >> > > >> > > the logs are showing 17806 (SSPI 80090311) and 18452 user not >> > > associated >> > with trusted SQL connection. >> > > >> > > This happens to random users at random time while they have been >> > > working >> > for hours >> > > >> > > any thoughts/suggestions/ would be apprecited >> > > >> > > >> > > TIA >> > > >> > > J >> > > >> > > >> > > >> > > >> > > _______________________________________________ >> > > dba-SQLServer mailing list >> > > dba-SQLServer at databaseadvisors.com >> > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >> > > http://www.databaseadvisors.com >> > > >> > >> > _______________________________________________ >> > dba-SQLServer mailing list >> > dba-SQLServer at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >> > http://www.databaseadvisors.com >> > >> > >> _______________________________________________ >> dba-SQLServer mailing list >> dba-SQLServer at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >> http://www.databaseadvisors.com >> > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- Sent from my mobile device -Francisco http://bit.ly/sqlthis | Tsql and More... http://db.tt/JeXURAx | Drop Box, it's like a usb drive that's available everywhere... From jnatola at hotmail.com Thu Mar 31 00:03:05 2011 From: jnatola at hotmail.com (Jean-Paul natola) Date: Thu, 31 Mar 2011 01:03:05 -0400 Subject: [dba-SQLServer] Authentication disconnects SSPI In-Reply-To: References: , , , , Message-ID: its ok to the sql, it will occassionaly hit 700+ to the domain controller I ran netmon on the DC and did find auth issues kerberos krb_error kdc_err_s_principal_unknown 7 PS: everything is on one LAN single forest single domain Jean-Paul Natola > Date: Wed, 30 Mar 2011 20:03:52 -0700 > From: fhtapia at gmail.com > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] Authentication disconnects SSPI > > do you have a network admin to assist in troubleshooting? > > If not, try running a ping -t to the SQL server's ip, we may even need > to help rule out switches that are in between. > > Try using a machine that is on the same switch to help narrow down problems. > > On 3/30/11, Jean-Paul natola wrote: > > > > > > all of them do, i wonder if its the DC or the SQL server > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Jean-Paul Natola > > > > > > > > > > > > > >> From: fhtapia at gmail.com > >> Date: Wed, 30 Mar 2011 12:51:33 -0700 > >> To: dba-sqlserver at databaseadvisors.com > >> Subject: Re: [dba-SQLServer] Authentication disconnects SSPI > >> > >> I wouldn't think so it depends on if there is a problem with the > >> authentication certificate for that device as it is part of the 802.1x > >> security protocol, Do any of your other computers or users suffer from > >> the > >> same problem? > >> > >> > >> -Francisco > >> http://bit.ly/sqlthis | Tsql and More... > >> http://db.tt/JeXURAx | DropBox (get 2.2 gb of free online storage) > >> > >> > >> > >> > >> On Wed, Mar 30, 2011 at 11:00 AM, Jean-Paul natola > >> wrote: > >> > >> > > >> > I dont know if this has something to do with it, but I noticed on teh > >> > NIC > >> > that the Enable IEEE auth is checked, could that be causing these > >> > random > >> > errors? > >> > > >> > > >> > > From: jnatola at hotmail.com > >> > > To: dba-sqlserver at databaseadvisors.com > >> > > Date: Wed, 30 Mar 2011 13:48:36 -0400 > >> > > Subject: [dba-SQLServer] Authentication disconnects SSPI > >> > > > >> > > > >> > > Hi all, > >> > > > >> > > Im running into an issue with users that ARE CURRENTLY connected to > >> > > SQL > >> > DB's . they are working when suddenly they get disconnected and have to > >> > to > >> > close ms access (front end) and re-open. > >> > > > >> > > the logs are showing 17806 (SSPI 80090311) and 18452 user not > >> > > associated > >> > with trusted SQL connection. > >> > > > >> > > This happens to random users at random time while they have been > >> > > working > >> > for hours > >> > > > >> > > any thoughts/suggestions/ would be apprecited > >> > > > >> > > > >> > > TIA > >> > > > >> > > J > >> > > > >> > > > >> > > > >> > > > >> > > _______________________________________________ > >> > > dba-SQLServer mailing list > >> > > dba-SQLServer at databaseadvisors.com > >> > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > >> > > http://www.databaseadvisors.com > >> > > > >> > > >> > _______________________________________________ > >> > dba-SQLServer mailing list > >> > dba-SQLServer at databaseadvisors.com > >> > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > >> > http://www.databaseadvisors.com > >> > > >> > > >> _______________________________________________ > >> dba-SQLServer mailing list > >> dba-SQLServer at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > >> http://www.databaseadvisors.com > >> > > > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > > > -- > Sent from my mobile device > > -Francisco > http://bit.ly/sqlthis | Tsql and More... > http://db.tt/JeXURAx | Drop Box, it's like a usb drive that's available > everywhere... > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com >