From jwcolby at colbyconsulting.com Fri Jun 4 16:18:12 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 04 Jun 2010 17:18:12 -0400 Subject: [dba-SQLServer] How would you cross index Message-ID: <4C096D94.90108@colbyconsulting.com> Imagine you had 10 tables of names / addresses. Each table came from a different source. You could get more such tables at a moment's notice. Each table has a different number of records, real life examples - 12 million, 23 million, 65 million, 75 million etc. Each table has a autonumber PKID that (typically) starts at zero and works up, incrementing by one. Each table has three hash fields (SHA as it happens). 1) Addr / zip5 / zip4 2) LName / Addr / Zip5 / Zip4 3) FName / LName / Zip5 / Zip4 You wanted to cross index these tables. In other words you wanted to know how many exact matches you had (FName, LName, Addr, City, St, Zip5, Zip4) between any given tables. Further imagine that each table had additional DIFFERENT fields that gave specific information about the names in that table. One might be "owns a dog / cat", another might be "has kids in age brackets..." What method would you use to allow a cross index? The only method that I am coming up with would be to have a name/Address table with additional fields to store the PKID from each table. Add each unique name / address into the table one time. Use the name hash in inner joins to discover exact matches. Update the PKID fields in each column for the table(s) that the match(es) occur. Add a new column every time you get a new table. Your ideas? -- John W. Colby www.ColbyConsulting.com From ab-mi at post3.tele.dk Fri Jun 4 17:20:58 2010 From: ab-mi at post3.tele.dk (Asger Blond) Date: Sat, 5 Jun 2010 00:20:58 +0200 Subject: [dba-SQLServer] How would you cross index In-Reply-To: <4C096D94.90108@colbyconsulting.com> References: <4C096D94.90108@colbyconsulting.com> Message-ID: John, Just a quick guess: Would the INTERSECT set operator do your job? SELECT FName, LName, Addr, City, St, Zip5, Zip4 FROM Table1 INTERSECT SELECT FName, LName, Addr, City, St, Zip5, Zip4 FROM Table2 Asger -----Oprindelig meddelelse----- Fra: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] P? vegne af jwcolby Sendt: 4. juni 2010 23:18 Til: Access Developers discussion and problem solving; Sqlserver-Dba; VBA Emne: [dba-SQLServer] How would you cross index Imagine you had 10 tables of names / addresses. Each table came from a different source. You could get more such tables at a moment's notice. Each table has a different number of records, real life examples - 12 million, 23 million, 65 million, 75 million etc. Each table has a autonumber PKID that (typically) starts at zero and works up, incrementing by one. Each table has three hash fields (SHA as it happens). 1) Addr / zip5 / zip4 2) LName / Addr / Zip5 / Zip4 3) FName / LName / Zip5 / Zip4 You wanted to cross index these tables. In other words you wanted to know how many exact matches you had (FName, LName, Addr, City, St, Zip5, Zip4) between any given tables. Further imagine that each table had additional DIFFERENT fields that gave specific information about the names in that table. One might be "owns a dog / cat", another might be "has kids in age brackets..." What method would you use to allow a cross index? The only method that I am coming up with would be to have a name/Address table with additional fields to store the PKID from each table. Add each unique name / address into the table one time. Use the name hash in inner joins to discover exact matches. Update the PKID fields in each column for the table(s) that the match(es) occur. Add a new column every time you get a new table. Your ideas? -- 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 stuart at lexacorp.com.pg Fri Jun 4 17:44:09 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 05 Jun 2010 08:44:09 +1000 Subject: [dba-SQLServer] How would you cross index In-Reply-To: <4C096D94.90108@colbyconsulting.com> References: <4C096D94.90108@colbyconsulting.com> Message-ID: <4C0981B9.30933.A943DB2@stuart.lexacorp.com.pg> At first glance, that's the way I would handle it too. One advantage is that once you have updated the master table, you can drop all the name/address columns from the data tables and save quite a bit of space :-) -- Stuart On 4 Jun 2010 at 17:18, jwcolby wrote: > What method would you use to allow a cross index? > > The only method that I am coming up with would be to have a name/Address table with additional > fields to store the PKID from each table. Add each unique name / address into the table one time. > Use the name hash in inner joins to discover exact matches. Update the PKID fields in each column > for the table(s) that the match(es) occur. Add a new column every time you get a new table. From jwcolby at colbyconsulting.com Wed Jun 9 16:46:06 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 09 Jun 2010 17:46:06 -0400 Subject: [dba-SQLServer] SQL Server / 2003 server locks up Message-ID: <4C100B9E.5080107@colbyconsulting.com> I am developing an application in C# which executes stored procedures in SQL Server using threading. I cannot strictly blame the threading but I am getting somewhat frequent "lockup" of the entire server (Windows 2003), which I have not experienced very often (or at least in a long time) prior to using threading. Various folks assisted me in finding SQL Server properties to set CPU affinity and the like which seriously reduced the lockups I used to experience. Is anyone out there experiencing this phenomenon? It doesn't occur often enough to really get a handle on what "causes" the lockup but I have seen instances where I will attempt to move a window on the screen and suddenly it locks up. It has gotten to the point where my assistant is gun shy about running (testing) the application while I am actually using the SQL Server database. On a related note, I am using SMO to do things in SQL server from C#. For example I have a fairly complex process that exports large tables out to .txt files for processing, then imports the resulting CSV files back in, adds fields, updates those fields, creates and drops indexes. All of that processing used to occur in a single database which is the "live data" database. I am now building temp databases to do the export out and import back in processes in, basically so that this processing is happening in a "temp" database and is not causing bloat in my live database. That is working nicely and is dead easy to do. Likewise I am copying template databases and so forth using SMO. SMO appears to be a wrapper around existing SQL Server system SPs exposing that stuff directly to C# in an OO environment. Really nice stuff. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Jun 9 16:57:02 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 09 Jun 2010 17:57:02 -0400 Subject: [dba-SQLServer] Does building cover indexes pay? Message-ID: <4C100E2E.4090107@colbyconsulting.com> I have processes which process huge tables (65 million records are common) and update specific fields with the results of user defined functions. For example I have a function which builds a text "code" using four passed in values. These four values come from four fields of the record and the resulting code is placed back in another field of the same record. ATM I build a "cover index" just before updating this field, perform the update, then delete the index when done. I am wondering whether you guys believe that the time to build the cover index will be recovered by less time taken to perform this update. IOW does it take sufficiently less time to get data from an index vs a table scan that it is worth building the index? -- John W. Colby www.ColbyConsulting.com From michael at ddisolutions.com.au Wed Jun 9 19:57:43 2010 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 10 Jun 2010 10:57:43 +1000 Subject: [dba-SQLServer] Does building cover indexes pay? References: <4C100E2E.4090107@colbyconsulting.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D016B5B40@ddi-01.DDI.local> Hi John, I think you will only get opinions, if that. You are going to have to test each scenario IMO. Another option for testing is to enable/disable the covering indexes. You probably need to update statistic after enabling if the data has changed. If the data hasn't changed then this 'should' be your best option. Cheers Michael M I have processes which process huge tables (65 million records are common) and update specific fields with the results of user defined functions. For example I have a function which builds a text "code" using four passed in values. These four values come from four fields of the record and the resulting code is placed back in another field of the same record. ATM I build a "cover index" just before updating this field, perform the update, then delete the index when done. I am wondering whether you guys believe that the time to build the cover index will be recovered by less time taken to perform this update. IOW does it take sufficiently less time to get data from an index vs a table scan that it is worth building the index? -- 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 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.829 / Virus Database: 271.1.1/2926 - Release Date: 06/10/10 04:35:00 From jwcolby at colbyconsulting.com Wed Jun 9 21:09:03 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 09 Jun 2010 22:09:03 -0400 Subject: [dba-SQLServer] Half the databases in recovery Message-ID: <4C10493F.2000304@colbyconsulting.com> Holy smoke batman. This time, the server locks up, I end up rebooting (after hours of waiting "to see") and about 15 different databases are "in recovery". Man that will cause your heart to stop. After only a few minutes I refreshed the databases and only one was still in recovery - the temp database that was being worked with when the lockup occurred. I have never seen databases in recovery that weren't actively involved in operations when the lockup occurred. Strange! -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Jun 10 14:18:24 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 10 Jun 2010 15:18:24 -0400 Subject: [dba-SQLServer] Login to sql server Message-ID: <4C113A80.8060000@colbyconsulting.com> I have a network at my home office which uses Windows for Workgroups networking. I have two SQL Servers. I am having issues getting an employee able to log in to the AZUL SQL Server instance (running on the AZUL server machine) FROM a desktop machine. He is able to remote desktop in to the AZUL server, to his own user, and through that is able to open SQL Server Management Studio and do stuff, and is able to use the C# program we are writing to do stuff. From his workstation, I AM able to log in as my own user, then open SSMS and log in to AZUL SQL server instance. Paul is unable to log in to the AZUL SS instance through SSMS. He gets an error: Cannot connect to Azul. Cannot open user default database. Login Failed. Login failed for Azul\Paul. SQL Server error 4064 This seems to imply that it has something to do with his user on the workstation, since he can log in if he remote desktops in. However the user name and password on the workstation is exactly the same as the username on AZUL. I don't know where to go next in troubleshooting this. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Jun 10 14:23:50 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 10 Jun 2010 15:23:50 -0400 Subject: [dba-SQLServer] Login to sql server In-Reply-To: <4C113A80.8060000@colbyconsulting.com> References: <4C113A80.8060000@colbyconsulting.com> Message-ID: <4C113BC6.309@colbyconsulting.com> The "default database" was the key. Discovered it about 15 oh-no-seconds after pressing send. I'm good on this one. John W. Colby www.ColbyConsulting.com jwcolby wrote: > I have a network at my home office which uses Windows for Workgroups networking. > > I have two SQL Servers. I am having issues getting an employee able to log in to the AZUL SQL > Server instance (running on the AZUL server machine) FROM a desktop machine. He is able to remote > desktop in to the AZUL server, to his own user, and through that is able to open SQL Server > Management Studio and do stuff, and is able to use the C# program we are writing to do stuff. > > From his workstation, I AM able to log in as my own user, then open SSMS and log in to AZUL SQL > server instance. > > Paul is unable to log in to the AZUL SS instance through SSMS. He gets an error: > > Cannot connect to Azul. > > Cannot open user default database. Login Failed. > > Login failed for Azul\Paul. SQL Server error 4064 > > This seems to imply that it has something to do with his user on the workstation, since he can log > in if he remote desktops in. However the user name and password on the workstation is exactly the > same as the username on AZUL. > > I don't know where to go next in troubleshooting this. > From garykjos at gmail.com Thu Jun 10 15:48:13 2010 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 10 Jun 2010 15:48:13 -0500 Subject: [dba-SQLServer] Login to sql server In-Reply-To: <4C113BC6.309@colbyconsulting.com> References: <4C113A80.8060000@colbyconsulting.com> <4C113BC6.309@colbyconsulting.com> Message-ID: Glad we could help. ;-) GK On Thu, Jun 10, 2010 at 2:23 PM, jwcolby wrote: > The "default database" was the key. ?Discovered it about 15 oh-no-seconds after pressing send. > > I'm good on this one. > > John W. Colby > www.ColbyConsulting.com > > > jwcolby wrote: >> I have a network at my home office which uses Windows for Workgroups networking. >> >> I have two SQL Servers. ?I am having issues getting an employee able to log in to the AZUL SQL >> Server instance (running on the AZUL server machine) FROM a desktop machine. ?He is able to remote >> desktop in to the AZUL server, to his own user, and through that is able to open SQL Server >> Management Studio and do stuff, and is able to use the C# program we are writing to do stuff. >> >> ?From his workstation, I AM able to log in as my own user, then open SSMS and log in to AZUL SQL >> server instance. >> >> Paul is unable to log in to the AZUL SS instance through SSMS. ?He gets an error: >> >> Cannot connect to Azul. >> >> Cannot open user default database. ?Login Failed. >> >> Login failed for Azul\Paul. ?SQL Server error 4064 >> >> This seems to imply that it has something to do with his user on the workstation, since he can log >> in if he remote desktops in. ?However the user name and password on the workstation is exactly the >> same as the username on AZUL. >> >> I don't know where to go next in troubleshooting this. >> > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- Gary Kjos garykjos at gmail.com From jnatola at hotmail.com Fri Jun 11 19:14:43 2010 From: jnatola at hotmail.com (Jean-Paul natola) Date: Fri, 11 Jun 2010 20:14:43 -0400 Subject: [dba-SQLServer] comman to configure pipes Message-ID: Whats the name of the command that lets you see how you are connecting to a sql server? i used once about a year ago i know you run it from the run line _________________________________________________________________ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1 From marklbreen at gmail.com Sat Jun 12 03:24:50 2010 From: marklbreen at gmail.com (Mark Breen) Date: Sat, 12 Jun 2010 09:24:50 +0100 Subject: [dba-SQLServer] Does building cover indexes pay? In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D016B5B40@ddi-01.DDI.local> References: <4C100E2E.4090107@colbyconsulting.com> <59A61174B1F5B54B97FD4ADDE71E7D016B5B40@ddi-01.DDI.local> Message-ID: Hello John, I agree with Michael here, only one persons opinion matters here and that's yours as only you really now the true effect. Is it not possible to do a method A and Method B comparison? I am presuming that each time you face the decision the results are significantly different that it is difficult to identify the true answer. If that is the case, the again, only you will really know. Can I ask, have you read up much on ETL? The works you are doing nowadays is AFAICS, ETL and I believe that there are plenty of ETL tools. In fact it is a subject area in itself and my instinct tells me that traditional approaches to data management is different when you are doing ETL. I only saw it for a few months when I worked for a while in an Oracle Shop, but they had a whole ETL department with their own tools. Those tools did a lot of the heavy lifting that you are coding. HTH somewhat Mark On 10 June 2010 01:57, Michael Maddison wrote: > Hi John, > > I think you will only get opinions, if that. > You are going to have to test each scenario IMO. > Another option for testing is to enable/disable the covering indexes. > You probably need to update statistic after enabling if the data has > changed. > If the data hasn't changed then this 'should' be your best option. > > Cheers > > Michael M > > > I have processes which process huge tables (65 million records are > common) and update specific > fields with the results of user defined functions. For example I have a > function which builds a > text "code" using four passed in values. These four values come from > four fields of the record and > the resulting code is placed back in another field of the same record. > > ATM I build a "cover index" just before updating this field, perform the > update, then delete the > index when done. > > I am wondering whether you guys believe that the time to build the cover > index will be recovered by > less time taken to perform this update. IOW does it take sufficiently > less time to get data from an > index vs a table scan that it is worth building the index? > > -- > 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 > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.829 / Virus Database: 271.1.1/2926 - Release Date: 06/10/10 > 04:35:00 > > _______________________________________________ > 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 Sat Jun 12 08:26:02 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 12 Jun 2010 09:26:02 -0400 Subject: [dba-SQLServer] Does building cover indexes pay? In-Reply-To: References: <4C100E2E.4090107@colbyconsulting.com> <59A61174B1F5B54B97FD4ADDE71E7D016B5B40@ddi-01.DDI.local> Message-ID: <4C138AEA.401@colbyconsulting.com> I am doing ETL but I am doing very specific, very repetitive ETL. I am not trying to migrate the world in and out. What I am writing is an application to handle Stan's entire world. I do many different jobs for him and they all revolve around list processing. Internal to my database the lists all have a common component (name / address) that is the level that is exported out / in. What I am doing is automating what I used to do manually, using C# and SQL Server stored procedures. I had over time developed the stored procedures and ran them manually. Now I run them from my application. I am sure you would be fascinated to see what I do here. John W. Colby www.ColbyConsulting.com Mark Breen wrote: > Hello John, > > I agree with Michael here, only one persons opinion matters here and that's > yours as only you really now the true effect. > > Is it not possible to do a method A and Method B comparison? > > I am presuming that each time you face the decision the results are > significantly different that it is difficult to identify the true answer. > If that is the case, the again, only you will really know. > > Can I ask, have you read up much on ETL? The works you are doing nowadays > is AFAICS, ETL and I believe that there are plenty of ETL tools. In fact it > is a subject area in itself and my instinct tells me that traditional > approaches to data management is different when you are doing ETL. > > I only saw it for a few months when I worked for a while in an Oracle Shop, > but they had a whole ETL department with their own tools. Those tools did a > lot of the heavy lifting that you are coding. > > HTH somewhat > > Mark > > > On 10 June 2010 01:57, Michael Maddison wrote: > >> Hi John, >> >> I think you will only get opinions, if that. >> You are going to have to test each scenario IMO. >> Another option for testing is to enable/disable the covering indexes. >> You probably need to update statistic after enabling if the data has >> changed. >> If the data hasn't changed then this 'should' be your best option. >> >> Cheers >> >> Michael M >> >> >> I have processes which process huge tables (65 million records are >> common) and update specific >> fields with the results of user defined functions. For example I have a >> function which builds a >> text "code" using four passed in values. These four values come from >> four fields of the record and >> the resulting code is placed back in another field of the same record. >> >> ATM I build a "cover index" just before updating this field, perform the >> update, then delete the >> index when done. >> >> I am wondering whether you guys believe that the time to build the cover >> index will be recovered by >> less time taken to perform this update. IOW does it take sufficiently >> less time to get data from an >> index vs a table scan that it is worth building the index? >> >> -- >> 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 >> >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com >> Version: 9.0.829 / Virus Database: 271.1.1/2926 - Release Date: 06/10/10 >> 04:35:00 >> >> _______________________________________________ >> 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 marklbreen at gmail.com Sun Jun 13 06:17:02 2010 From: marklbreen at gmail.com (Mark Breen) Date: Sun, 13 Jun 2010 12:17:02 +0100 Subject: [dba-SQLServer] Does building cover indexes pay? In-Reply-To: <4C138AEA.401@colbyconsulting.com> References: <4C100E2E.4090107@colbyconsulting.com> <59A61174B1F5B54B97FD4ADDE71E7D016B5B40@ddi-01.DDI.local> <4C138AEA.401@colbyconsulting.com> Message-ID: Hello John, Fascinated is not the word, jealous beyond reasonable doubt is more like it. It sounds challanging but it also like incredible fun. I imagine you are enjoying it. Mark On 12 June 2010 14:26, jwcolby wrote: > I am doing ETL but I am doing very specific, very repetitive ETL. I am not > trying to migrate the > world in and out. > > What I am writing is an application to handle Stan's entire world. I do > many different jobs for him > and they all revolve around list processing. Internal to my database the > lists all have a common > component (name / address) that is the level that is exported out / in. > > What I am doing is automating what I used to do manually, using C# and SQL > Server stored procedures. > I had over time developed the stored procedures and ran them manually. > Now I run them from my > application. > > I am sure you would be fascinated to see what I do here. > > John W. Colby > www.ColbyConsulting.com > > > Mark Breen wrote: > > Hello John, > > > > I agree with Michael here, only one persons opinion matters here and > that's > > yours as only you really now the true effect. > > > > Is it not possible to do a method A and Method B comparison? > > > > I am presuming that each time you face the decision the results are > > significantly different that it is difficult to identify the true answer. > > If that is the case, the again, only you will really know. > > > > Can I ask, have you read up much on ETL? The works you are doing > nowadays > > is AFAICS, ETL and I believe that there are plenty of ETL tools. In fact > it > > is a subject area in itself and my instinct tells me that traditional > > approaches to data management is different when you are doing ETL. > > > > I only saw it for a few months when I worked for a while in an Oracle > Shop, > > but they had a whole ETL department with their own tools. Those tools > did a > > lot of the heavy lifting that you are coding. > > > > HTH somewhat > > > > Mark > > > > > > On 10 June 2010 01:57, Michael Maddison > wrote: > > > >> Hi John, > >> > >> I think you will only get opinions, if that. > >> You are going to have to test each scenario IMO. > >> Another option for testing is to enable/disable the covering indexes. > >> You probably need to update statistic after enabling if the data has > >> changed. > >> If the data hasn't changed then this 'should' be your best option. > >> > >> Cheers > >> > >> Michael M > >> > >> > >> I have processes which process huge tables (65 million records are > >> common) and update specific > >> fields with the results of user defined functions. For example I have a > >> function which builds a > >> text "code" using four passed in values. These four values come from > >> four fields of the record and > >> the resulting code is placed back in another field of the same record. > >> > >> ATM I build a "cover index" just before updating this field, perform the > >> update, then delete the > >> index when done. > >> > >> I am wondering whether you guys believe that the time to build the cover > >> index will be recovered by > >> less time taken to perform this update. IOW does it take sufficiently > >> less time to get data from an > >> index vs a table scan that it is worth building the index? > >> > >> -- > >> 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 > >> > >> > >> No virus found in this incoming message. > >> Checked by AVG - www.avg.com > >> Version: 9.0.829 / Virus Database: 271.1.1/2926 - Release Date: 06/10/10 > >> 04:35:00 > >> > >> _______________________________________________ > >> 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 marklbreen at gmail.com Sun Jun 13 06:24:49 2010 From: marklbreen at gmail.com (Mark Breen) Date: Sun, 13 Jun 2010 12:24:49 +0100 Subject: [dba-SQLServer] comman to configure pipes In-Reply-To: References: Message-ID: Hello Jean-Paul, I got this from stackoveflow Also, I saw references to two sprocs sp_whois and the undocumented sp_whois2 HTH Mark Credit this to stackoverflow - I voted up the answer SELECT conn.session_ID as SPID, conn.client_net_address as IPAddress, sess.host_name as MachineName, sess.program_name as ApplicationName, login_name as LoginName FROM sys.dm_exec_connections conn INNER JOIN sys.dm_exec_sessions sess ON conn.session_ID = sess.session_ID WHERE conn.session_ID = @@SPID On 12 June 2010 01:14, Jean-Paul natola wrote: Whats the name of the command that lets you see how you are connecting to a sql server? i used once about a year ago i know you run it from the run line _________________________________________________________________ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1 _______________________________________________ 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 Sun Jun 13 22:47:33 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 13 Jun 2010 23:47:33 -0400 Subject: [dba-SQLServer] Meet for a beer Message-ID: <4C15A655.4070001@colbyconsulting.com> I don't drink anymore but... I am flying to Philly tomorrow and driving over to the Jersey side of the Lincoln tunnel for the night. I will be attending a trade show and a meeting Tuesday in Manhattan, then driving back over to Philly Tuesday evening, and will be north of Philly through Friday. I have no idea who might be located in those two areas but if anyone would like to get together any evening except Friday (flying home) email me off line with contact info and I will get in touch. Thanks, -- John W. Colby www.ColbyConsulting.com From jnatola at hotmail.com Wed Jun 16 18:07:10 2010 From: jnatola at hotmail.com (Jean-Paul natola) Date: Wed, 16 Jun 2010 19:07:10 -0400 Subject: [dba-SQLServer] comman to configure pipes In-Reply-To: References: , , Message-ID: ths one im looking for is run from the winndows run line/command propmt its one single word and it shows the Named Pipes that establesh the connection between the client os and the sql databse on the host OS. Jean-Paul Natola ---------------------------------------- > Date: Sun, 13 Jun 2010 12:24:49 +0100 > From: marklbreen at gmail.com > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] comman to configure pipes > > Hello Jean-Paul, > > I got this from stackoveflow > > Also, I saw references to two sprocs sp_whois and the undocumented sp_whois2 > > HTH > > Mark > > > Credit this to stackoverflow - I voted up the answer > > > SELECT > > conn.session_ID as SPID, > > conn.client_net_address as IPAddress, > > sess.host_name as MachineName, > > sess.program_name as ApplicationName, > > login_name as LoginName > > FROM > sys.dm_exec_connections conn > > INNER JOIN sys.dm_exec_sessions sess ON > > conn.session_ID = sess.session_ID > > WHERE > conn.session_ID = @@SPID > > > > > > On 12 June 2010 01:14, Jean-Paul natola wrote: > > Whats the name of the command that lets you see how you are connecting to a > sql server? > > > > i used once about a year ago i know you run it from the run line > _________________________________________________________________ > Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1 > _______________________________________________ > 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 > _________________________________________________________________ The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5 From jnatola at hotmail.com Wed Jun 16 18:16:05 2010 From: jnatola at hotmail.com (Jean-Paul natola) Date: Wed, 16 Jun 2010 19:16:05 -0400 Subject: [dba-SQLServer] SQL express based app, hanging from client Message-ID: Hi all, I have an app thats hanging when run from my terminal server, the database is NOT on the terminal server, but the client app is. I have determined that it is NOT an issue with the server hosting the app, as it works fine from from any other machine the clietn is installed on. I dont even know where to start looking , it was suggested the client in doesnt "know" where the database is, I'm stumped any help would be greatly appreciated Jean-Paul Natola _________________________________________________________________ The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4 From fhtapia at gmail.com Thu Jun 17 11:56:45 2010 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 17 Jun 2010 09:56:45 -0700 Subject: [dba-SQLServer] SQL express based app, hanging from client In-Reply-To: References: Message-ID: can you ping the database server? you can also try creating a udl file on the terminal server to see what the connection problems are. to create a udl just create a text file on the desktop (or folder of your choice) rename the extension of the text file to .udl instead of .txt then doubleclick on the new file you'll be prompted for connection type along with server connection details. -Francisco http://sqlthis.blogspot.com | Tsql and More... http://bit.ly/fightingcancer On Wed, Jun 16, 2010 at 4:16 PM, Jean-Paul natola wrote: > > Hi all, > > I have an app thats hanging when run from my terminal server, the database > is NOT on the terminal server, but the client app is. I have determined that > it is NOT an issue with the server hosting the app, as it works fine from > from any other machine the clietn is installed on. > > I dont even know where to start looking , it was suggested the client in > doesnt "know" where the database is, I'm stumped any help would be greatly > appreciated > > > > > > > > > > > > > > > > > > > > > > Jean-Paul Natola > _________________________________________________________________ > The New Busy is not the too busy. Combine all your e-mail accounts with > Hotmail. > > http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4 > _______________________________________________ > 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 Thu Jun 17 12:17:05 2010 From: jnatola at hotmail.com (Jean-Paul natola) Date: Thu, 17 Jun 2010 13:17:05 -0400 Subject: [dba-SQLServer] SQL express based app, hanging from client In-Reply-To: References: , Message-ID: yes I can ping the server , i can access shares and the ipc seems to be ok net use \\fci-ex\IPC$ Local name Remote name \\fci-ex\IPC$ Resource type IPC Status Disconnected # Opens 0 # Connections 1 The command completed successfully. doubleclick on the new file you'll be prompted for connection type along > with server connection details. > > you lost me there, i dont know what to enter Jean-Paul Natola > From: fhtapia at gmail.com > Date: Thu, 17 Jun 2010 09:56:45 -0700 > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] SQL express based app, hanging from client > > can you ping the database server? you can also try creating a udl file on > the terminal server to see what the connection problems are. > > to create a udl just create a text file on the desktop (or folder of your > choice) rename the extension of the text file to .udl instead of .txt then > doubleclick on the new file you'll be prompted for connection type along > with server connection details. > > > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > > http://bit.ly/fightingcancer > > > On Wed, Jun 16, 2010 at 4:16 PM, Jean-Paul natola wrote: > > > > > Hi all, > > > > I have an app thats hanging when run from my terminal server, the database > > is NOT on the terminal server, but the client app is. I have determined that > > it is NOT an issue with the server hosting the app, as it works fine from > > from any other machine the clietn is installed on. > > > > I dont even know where to start looking , it was suggested the client in > > doesnt "know" where the database is, I'm stumped any help would be greatly > > appreciated > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Jean-Paul Natola > > _________________________________________________________________ > > The New Busy is not the too busy. Combine all your e-mail accounts with > > Hotmail. > > > > http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4 > > _______________________________________________ > > 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 > _________________________________________________________________ The New Busy is not the old busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3 From jnatola at hotmail.com Thu Jun 17 13:57:34 2010 From: jnatola at hotmail.com (Jean-Paul natola) Date: Thu, 17 Jun 2010 14:57:34 -0400 Subject: [dba-SQLServer] SQL express based app, hanging from client In-Reply-To: References: , , , Message-ID: cliconfg finally that was what i was looking for Jean-Paul Natola > From: jnatola at hotmail.com > To: dba-sqlserver at databaseadvisors.com > Date: Thu, 17 Jun 2010 13:17:05 -0400 > Subject: Re: [dba-SQLServer] SQL express based app, hanging from client > > > yes I can ping the server , i can access shares > > and the ipc seems to be ok > > net use \\fci-ex\IPC$ > Local name > Remote name \\fci-ex\IPC$ > Resource type IPC > Status Disconnected > # Opens 0 > # Connections 1 > The command completed successfully. > > doubleclick on the new file you'll be prompted for connection type along > > with server connection details. > > > > > > you lost me there, i dont know what to enter > > > > > > > Jean-Paul Natola > > > > > > > From: fhtapia at gmail.com > > Date: Thu, 17 Jun 2010 09:56:45 -0700 > > To: dba-sqlserver at databaseadvisors.com > > Subject: Re: [dba-SQLServer] SQL express based app, hanging from client > > > > can you ping the database server? you can also try creating a udl file on > > the terminal server to see what the connection problems are. > > > > to create a udl just create a text file on the desktop (or folder of your > > choice) rename the extension of the text file to .udl instead of .txt then > > doubleclick on the new file you'll be prompted for connection type along > > with server connection details. > > > > > > -Francisco > > http://sqlthis.blogspot.com | Tsql and More... > > > > http://bit.ly/fightingcancer > > > > > > On Wed, Jun 16, 2010 at 4:16 PM, Jean-Paul natola wrote: > > > > > > > > Hi all, > > > > > > I have an app thats hanging when run from my terminal server, the database > > > is NOT on the terminal server, but the client app is. I have determined that > > > it is NOT an issue with the server hosting the app, as it works fine from > > > from any other machine the clietn is installed on. > > > > > > I dont even know where to start looking , it was suggested the client in > > > doesnt "know" where the database is, I'm stumped any help would be greatly > > > appreciated > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Jean-Paul Natola > > > _________________________________________________________________ > > > The New Busy is not the too busy. Combine all your e-mail accounts with > > > Hotmail. > > > > > > http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4 > > > _______________________________________________ > > > 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 > > > > _________________________________________________________________ > The New Busy is not the old busy. Search, chat and e-mail from your inbox. > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3 > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > _________________________________________________________________ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1 From jnatola at hotmail.com Thu Jun 17 15:03:42 2010 From: jnatola at hotmail.com (Jean-Paul natola) Date: Thu, 17 Jun 2010 16:03:42 -0400 Subject: [dba-SQLServer] SQL express based app, hanging from client In-Reply-To: References: , , , , , , Message-ID: well it was pointing to the older server, however, after updating the named pipes to the new server the app still hangs > From: jnatola at hotmail.com > To: dba-sqlserver at databaseadvisors.com > Date: Thu, 17 Jun 2010 14:57:34 -0400 > Subject: Re: [dba-SQLServer] SQL express based app, hanging from client > > > cliconfg > > > > finally that was what i was looking for > > > > > > > > > > > > Jean-Paul Natola > > > > > > > From: jnatola at hotmail.com > > To: dba-sqlserver at databaseadvisors.com > > Date: Thu, 17 Jun 2010 13:17:05 -0400 > > Subject: Re: [dba-SQLServer] SQL express based app, hanging from client > > > > > > yes I can ping the server , i can access shares > > > > and the ipc seems to be ok > > > > net use \\fci-ex\IPC$ > > Local name > > Remote name \\fci-ex\IPC$ > > Resource type IPC > > Status Disconnected > > # Opens 0 > > # Connections 1 > > The command completed successfully. > > > > doubleclick on the new file you'll be prompted for connection type along > > > with server connection details. > > > > > > > > > > you lost me there, i dont know what to enter > > > > > > > > > > > > > > Jean-Paul Natola > > > > > > > > > > > > > From: fhtapia at gmail.com > > > Date: Thu, 17 Jun 2010 09:56:45 -0700 > > > To: dba-sqlserver at databaseadvisors.com > > > Subject: Re: [dba-SQLServer] SQL express based app, hanging from client > > > > > > can you ping the database server? you can also try creating a udl file on > > > the terminal server to see what the connection problems are. > > > > > > to create a udl just create a text file on the desktop (or folder of your > > > choice) rename the extension of the text file to .udl instead of .txt then > > > doubleclick on the new file you'll be prompted for connection type along > > > with server connection details. > > > > > > > > > -Francisco > > > http://sqlthis.blogspot.com | Tsql and More... > > > > > > http://bit.ly/fightingcancer > > > > > > > > > On Wed, Jun 16, 2010 at 4:16 PM, Jean-Paul natola wrote: > > > > > > > > > > > Hi all, > > > > > > > > I have an app thats hanging when run from my terminal server, the database > > > > is NOT on the terminal server, but the client app is. I have determined that > > > > it is NOT an issue with the server hosting the app, as it works fine from > > > > from any other machine the clietn is installed on. > > > > > > > > I dont even know where to start looking , it was suggested the client in > > > > doesnt "know" where the database is, I'm stumped any help would be greatly > > > > appreciated > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Jean-Paul Natola > > > > _________________________________________________________________ > > > > The New Busy is not the too busy. Combine all your e-mail accounts with > > > > Hotmail. > > > > > > > > http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4 > > > > _______________________________________________ > > > > 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 > > > > > > > _________________________________________________________________ > > The New Busy is not the old busy. Search, chat and e-mail from your inbox. > > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3 > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > _________________________________________________________________ > Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1 > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > _________________________________________________________________ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1 From jnatola at hotmail.com Thu Jun 17 15:44:56 2010 From: jnatola at hotmail.com (Jean-Paul natola) Date: Thu, 17 Jun 2010 16:44:56 -0400 Subject: [dba-SQLServer] comman to configure pipes-CLICONFG In-Reply-To: References: , , , , , Message-ID: cliconfg Jean-Paul Natola > From: jnatola at hotmail.com > To: dba-sqlserver at databaseadvisors.com > Date: Wed, 16 Jun 2010 19:07:10 -0400 > Subject: Re: [dba-SQLServer] comman to configure pipes > > > ths one im looking for is run from the winndows run line/command propmt > > its one single word and it shows the Named Pipes that establesh the connection between the client os and the sql databse on the host OS. > > > > > > > > > > > > > > > > > > > > > > > > > > Jean-Paul Natola > > > > > > > > > ---------------------------------------- > > Date: Sun, 13 Jun 2010 12:24:49 +0100 > > From: marklbreen at gmail.com > > To: dba-sqlserver at databaseadvisors.com > > Subject: Re: [dba-SQLServer] comman to configure pipes > > > > Hello Jean-Paul, > > > > I got this from stackoveflow > > > > Also, I saw references to two sprocs sp_whois and the undocumented sp_whois2 > > > > HTH > > > > Mark > > > > > > Credit this to stackoverflow - I voted up the answer > > > > > > SELECT > > > > conn.session_ID as SPID, > > > > conn.client_net_address as IPAddress, > > > > sess.host_name as MachineName, > > > > sess.program_name as ApplicationName, > > > > login_name as LoginName > > > > FROM > > sys.dm_exec_connections conn > > > > INNER JOIN sys.dm_exec_sessions sess ON > > > > conn.session_ID = sess.session_ID > > > > WHERE > > conn.session_ID = @@SPID > > > > > > > > > > > > On 12 June 2010 01:14, Jean-Paul natola wrote: > > > > Whats the name of the command that lets you see how you are connecting to a > > sql server? > > > > > > > > i used once about a year ago i know you run it from the run line > > _________________________________________________________________ > > Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. > > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1 > > _______________________________________________ > > 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 > > > _________________________________________________________________ > The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. > http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5 > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > _________________________________________________________________ The New Busy is not the old busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3 From jnatola at hotmail.com Thu Jun 17 16:20:33 2010 From: jnatola at hotmail.com (Jean-Paul natola) Date: Thu, 17 Jun 2010 17:20:33 -0400 Subject: [dba-SQLServer] SQL express based app, hanging from client In-Reply-To: References: , Message-ID: > From: fhtapia at gmail.com > Date: Thu, 17 Jun 2010 09:56:45 -0700 > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] SQL express based app, hanging from client > > can you ping the database server? you can also try creating a udl file on > the terminal server to see what the connection problems are. > > to create a udl just create a text file on the desktop (or folder of your > choice) rename the extension of the text file to .udl instead of .txt then > doubleclick on the new file you'll be prompted for connection type along > with server connection details. Ping is fine UDL test fails Test connection failed because of an error in initializing provider [DBNETLIB][ConnectionOpen (PreLoginHandshake()).]General network error. Check your network documentation. _________________________________________________________________ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2 From jnatola at hotmail.com Thu Jun 17 16:36:43 2010 From: jnatola at hotmail.com (Jean-Paul natola) Date: Thu, 17 Jun 2010 17:36:43 -0400 Subject: [dba-SQLServer] SQL express based app UPDATE In-Reply-To: References: , , , Message-ID: > > > Ping is fine > > > > UDL test fails > > Test connection failed because of an error in initializing provider > > [DBNETLIB][ConnectionOpen (PreLoginHandshake()).]General network error. Check your network documentation. > I went to the sql server and allowed remote connections using named pipes and TCP/IP the UDL test was successful, HOWEVER , the app still hangs _________________________________________________________________ The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4 From marklbreen at gmail.com Fri Jun 18 05:02:38 2010 From: marklbreen at gmail.com (Mark Breen) Date: Fri, 18 Jun 2010 11:02:38 +0100 Subject: [dba-SQLServer] comman to configure pipes-CLICONFG In-Reply-To: References: Message-ID: Hello Jean-Paul, I was literally clearing out the emails, then I was going to post this question to StackOverflow. Glad you found it, how did you get it eventually? Mark On 17 June 2010 21:44, Jean-Paul natola wrote: > > cliconfg > > > > > > > > > > > > Jean-Paul Natola > > > > > > > From: jnatola at hotmail.com > > To: dba-sqlserver at databaseadvisors.com > > Date: Wed, 16 Jun 2010 19:07:10 -0400 > > Subject: Re: [dba-SQLServer] comman to configure pipes > > > > > > ths one im looking for is run from the winndows run line/command propmt > > > > its one single word and it shows the Named Pipes that establesh the > connection between the client os and the sql databse on the host OS. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Jean-Paul Natola > > > > > > > > > > > > > > > > > > ---------------------------------------- > > > Date: Sun, 13 Jun 2010 12:24:49 +0100 > > > From: marklbreen at gmail.com > > > To: dba-sqlserver at databaseadvisors.com > > > Subject: Re: [dba-SQLServer] comman to configure pipes > > > > > > Hello Jean-Paul, > > > > > > I got this from stackoveflow > > > > > > Also, I saw references to two sprocs sp_whois and the undocumented > sp_whois2 > > > > > > HTH > > > > > > Mark > > > > > > > > > Credit this to stackoverflow - I voted up the answer > > > > > > > > > SELECT > > > > > > conn.session_ID as SPID, > > > > > > conn.client_net_address as IPAddress, > > > > > > sess.host_name as MachineName, > > > > > > sess.program_name as ApplicationName, > > > > > > login_name as LoginName > > > > > > FROM > > > sys.dm_exec_connections conn > > > > > > INNER JOIN sys.dm_exec_sessions sess ON > > > > > > conn.session_ID = sess.session_ID > > > > > > WHERE > > > conn.session_ID = @@SPID > > > > > > > > > > > > > > > > > > On 12 June 2010 01:14, Jean-Paul natola wrote: > > > > > > Whats the name of the command that lets you see how you are connecting > to a > > > sql server? > > > > > > > > > > > > i used once about a year ago i know you run it from the run line > > > _________________________________________________________________ > > > Hotmail has tools for the New Busy. Search, chat and e-mail from your > inbox. > > > > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1 > > > _______________________________________________ > > > 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 > > > > > _________________________________________________________________ > > The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with > Hotmail. > > > http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5 > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > _________________________________________________________________ > The New Busy is not the old busy. Search, chat and e-mail from your inbox. > > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3 > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From marklbreen at gmail.com Fri Jun 18 05:28:31 2010 From: marklbreen at gmail.com (Mark Breen) Date: Fri, 18 Jun 2010 11:28:31 +0100 Subject: [dba-SQLServer] Calling all you guys interesting in Cloud Computing - Azure / S3 / EC and Scrum techniques Message-ID: Hello Guys, Last year Shamil kicked off a scrum team which about five / six people participated in. We did a project and it was fun. I think one or two people ended up with the lions share of the work but in general it was fun and the project is more or less complete / dormant now and is available on codeplex. I would love if we could do another project whereby we create a real world, demo app that runs on Azure or S3. I know almost nothing about it but I am intrigued to imagine that both my data (my Database) and my application (my IIS Server and IIS Code) are all running on thousands of different servers and yet never on any one particular machine. If I understand it right, Azure / S3 / EC is not virtual, or even clustered servers: it is a service that offer interfaces for running objects or processing and storing data. Would we like to start a project designed with the intention of learning cloud computing? I would nominate Shamil to be a Chief Scientist and CEO, I would take his lead in all things technical, and I would suggest that us mere mortals do the heavy lifting, IOW we do not end up forcing Shamil or Gustav to be pushed into quietly writing the code but we do it and we share the workload and we all learn. Shamil will guide is and assist but he will not write our homework for us. We have to learn it ourselves. If we do it, I would suggest that we take it one step at a time and for the first version, we create an application to store the just the Customers table in the cloud. When all interested parties have built that and seen it working really live, we can move on to Order and Products etc. Maybe finally, we could even put in a credit card processing element, or VAT number verification (like Gustav mentioned last year). I am also interested in exploring Amazons S3 and EC2 http://aws.amazon.com/ec2/ http://aws.amazon.com/ http://aws.amazon.com/s3/ http://www.microsoft.com/windowsazure/ What else do we need to read up on, we actually need a program of education for the next six months. By that time we might be telling all customers "Sql Server is the old way, nowadays I only store data in the cloud" ;) BTW, I have not spoken to Shamil about this, and I hope he does not mind me nominating him, I think that his technical leadership in our group over so long qualifies him for this role (for this project anyway). Thanks to all you good friends, Mark From jnatola at hotmail.com Fri Jun 18 06:53:49 2010 From: jnatola at hotmail.com (Jean-Paul natola) Date: Fri, 18 Jun 2010 07:53:49 -0400 Subject: [dba-SQLServer] comman to configure pipes-CLICONFG In-Reply-To: References: , , , , , Message-ID: ---------------------------------------- > Date: Fri, 18 Jun 2010 11:02:38 +0100 > From: marklbreen at gmail.com > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] comman to configure pipes-CLICONFG > > Hello Jean-Paul, > > I was literally clearing out the emails, then I was going to post this > question to StackOverflow. > > Glad you found it, how did you get it eventually? > > Mark > By running every app in the system32 directory, problem is the app still hangs adn i dont know what to do _________________________________________________________________ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2 From fhtapia at gmail.com Fri Jun 18 11:29:14 2010 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 18 Jun 2010 09:29:14 -0700 Subject: [dba-SQLServer] SQL express based app UPDATE In-Reply-To: References: Message-ID: if the UDL test is working then you must have something on your terminal server setup to block connections from the client application, check your a/v software and perhaps allow this client app to run unrestricted. -Francisco http://sqlthis.blogspot.com | Tsql and More... http://bit.ly/sqlthis On Thu, Jun 17, 2010 at 2:36 PM, Jean-Paul natola wrote: > > > > > > > > Ping is fine > > > > > > > > UDL test fails > > > > Test connection failed because of an error in initializing provider > > > > [DBNETLIB][ConnectionOpen (PreLoginHandshake()).]General network error. > Check your network documentation. > > > I went to the sql server and allowed remote connections using named pipes > and TCP/IP > > > > the UDL test was successful, HOWEVER , the app still hangs > > _________________________________________________________________ > The New Busy is not the too busy. Combine all your e-mail accounts with > Hotmail. > > http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4 > _______________________________________________ > 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 Fri Jun 18 11:34:57 2010 From: jnatola at hotmail.com (Jean-Paul natola) Date: Fri, 18 Jun 2010 12:34:57 -0400 Subject: [dba-SQLServer] SQL express based app UPDATE In-Reply-To: References: , , , , Message-ID: there is on other thing , i have discovered, if i go to add/remove and select repair installation it works, BUT only for that session, once I log off and log back on it hangs. And i can reproduce 100% of the times, regardles what user account , but its kind of hard to tell your boss, "just go to add/remove programs , click repair and it will work" Jean-Paul Natola ---------------------------------------- > From: fhtapia at gmail.com > Date: Fri, 18 Jun 2010 09:29:14 -0700 > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] SQL express based app UPDATE > > if the UDL test is working then you must have something on your terminal > server setup to block connections from the client application, check your > a/v software and perhaps allow this client app to run unrestricted. > > > > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > http://bit.ly/sqlthis > > > On Thu, Jun 17, 2010 at 2:36 PM, Jean-Paul natola wrote: > >> >> >>> >>> >>> Ping is fine >>> >>> >>> >>> UDL test fails >>> >>> Test connection failed because of an error in initializing provider >>> >>> [DBNETLIB][ConnectionOpen (PreLoginHandshake()).]General network error. >> Check your network documentation. >>> >> I went to the sql server and allowed remote connections using named pipes >> and TCP/IP >> >> >> >> the UDL test was successful, HOWEVER , the app still hangs >> >> _________________________________________________________________ >> The New Busy is not the too busy. Combine all your e-mail accounts with >> Hotmail. >> >> http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4 >> _______________________________________________ >> 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 > _________________________________________________________________ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2 From fhtapia at gmail.com Fri Jun 18 11:58:47 2010 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 18 Jun 2010 09:58:47 -0700 Subject: [dba-SQLServer] SQL express based app UPDATE In-Reply-To: References: Message-ID: how about uninstalling the client then re-installing it from the console? -Francisco http://sqlthis.blogspot.com | Tsql and More... http://bit.ly/sqlthis On Fri, Jun 18, 2010 at 9:34 AM, Jean-Paul natola wrote: > > there is on other thing , i have discovered, if i go to add/remove and > select repair installation it works, BUT only for that session, once I log > off and log back on it hangs. > > And i can reproduce 100% of the times, regardles what user account , but > its kind of hard to tell your boss, "just go to add/remove programs , click > repair and it will work" > > > > > > > > > > > > > > > > > > > > > > > > > > Jean-Paul Natola > > > > > > > > > ---------------------------------------- > > From: fhtapia at gmail.com > > Date: Fri, 18 Jun 2010 09:29:14 -0700 > > To: dba-sqlserver at databaseadvisors.com > > Subject: Re: [dba-SQLServer] SQL express based app UPDATE > > > > if the UDL test is working then you must have something on your terminal > > server setup to block connections from the client application, check your > > a/v software and perhaps allow this client app to run unrestricted. > > > > > > > > -Francisco > > http://sqlthis.blogspot.com | Tsql and More... > > http://bit.ly/sqlthis > > > > > > On Thu, Jun 17, 2010 at 2:36 PM, Jean-Paul natola wrote: > > > >> > >> > >>> > >>> > >>> Ping is fine > >>> > >>> > >>> > >>> UDL test fails > >>> > >>> Test connection failed because of an error in initializing provider > >>> > >>> [DBNETLIB][ConnectionOpen (PreLoginHandshake()).]General network error. > >> Check your network documentation. > >>> > >> I went to the sql server and allowed remote connections using named > pipes > >> and TCP/IP > >> > >> > >> > >> the UDL test was successful, HOWEVER , the app still hangs > >> > >> _________________________________________________________________ > >> The New Busy is not the too busy. Combine all your e-mail accounts with > >> Hotmail. > >> > >> > http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4 > >> _______________________________________________ > >> 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 > > > _________________________________________________________________ > Hotmail is redefining busy with tools for the New Busy. Get more from your > inbox. > > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2 > _______________________________________________ > 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 Fri Jun 18 12:03:25 2010 From: jnatola at hotmail.com (Jean-Paul natola) Date: Fri, 18 Jun 2010 13:03:25 -0400 Subject: [dba-SQLServer] SQL express based app UPDATE In-Reply-To: References: , , , , , , Message-ID: well , i ahve tried doing it through a VNC session, which if im not mistaken, is teh same as sitting at the console. I will ahve to try it on monday Jean-Paul Natola ---------------------------------------- > From: fhtapia at gmail.com > Date: Fri, 18 Jun 2010 09:58:47 -0700 > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] SQL express based app UPDATE > > how about uninstalling the client then re-installing it from the console? > > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > http://bit.ly/sqlthis > > > On Fri, Jun 18, 2010 at 9:34 AM, Jean-Paul natola wrote: > >> >> there is on other thing , i have discovered, if i go to add/remove and >> select repair installation it works, BUT only for that session, once I log >> off and log back on it hangs. >> >> And i can reproduce 100% of the times, regardles what user account , but >> its kind of hard to tell your boss, "just go to add/remove programs , click >> repair and it will work" >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Jean-Paul Natola >> >> >> >> >> >> >> >> >> ---------------------------------------- >>> From: fhtapia at gmail.com >>> Date: Fri, 18 Jun 2010 09:29:14 -0700 >>> To: dba-sqlserver at databaseadvisors.com >>> Subject: Re: [dba-SQLServer] SQL express based app UPDATE >>> >>> if the UDL test is working then you must have something on your terminal >>> server setup to block connections from the client application, check your >>> a/v software and perhaps allow this client app to run unrestricted. >>> >>> >>> >>> -Francisco >>> http://sqlthis.blogspot.com | Tsql and More... >>> http://bit.ly/sqlthis >>> >>> >>> On Thu, Jun 17, 2010 at 2:36 PM, Jean-Paul natola wrote: >>> >>>> >>>> >>>>> >>>>> >>>>> Ping is fine >>>>> >>>>> >>>>> >>>>> UDL test fails >>>>> >>>>> Test connection failed because of an error in initializing provider >>>>> >>>>> [DBNETLIB][ConnectionOpen (PreLoginHandshake()).]General network error. >>>> Check your network documentation. >>>>> >>>> I went to the sql server and allowed remote connections using named >> pipes >>>> and TCP/IP >>>> >>>> >>>> >>>> the UDL test was successful, HOWEVER , the app still hangs >>>> >>>> _________________________________________________________________ >>>> The New Busy is not the too busy. Combine all your e-mail accounts with >>>> Hotmail. >>>> >>>> >> http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4 >>>> _______________________________________________ >>>> 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 >>> >> _________________________________________________________________ >> Hotmail is redefining busy with tools for the New Busy. Get more from your >> inbox. >> >> http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2 >> _______________________________________________ >> 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 > _________________________________________________________________ The New Busy is not the old busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3 From fhtapia at gmail.com Fri Jun 18 14:26:47 2010 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 18 Jun 2010 12:26:47 -0700 Subject: [dba-SQLServer] SQL express based app UPDATE In-Reply-To: References: Message-ID: hmmm... that is definitely weird.. what is the OS on the terminal server and is it full patched? -Francisco http://sqlthis.blogspot.com | Tsql and More... http://bit.ly/sqlthis On Fri, Jun 18, 2010 at 10:03 AM, Jean-Paul natola wrote: > > well , i ahve tried doing it through a VNC session, which if im not > mistaken, is teh same as sitting at the console. > > I will ahve to try it on monday > > > > > > > > > > > > > > > > > > > > > > > > Jean-Paul Natola > > > > > > > > > ---------------------------------------- > > From: fhtapia at gmail.com > > Date: Fri, 18 Jun 2010 09:58:47 -0700 > > To: dba-sqlserver at databaseadvisors.com > > Subject: Re: [dba-SQLServer] SQL express based app UPDATE > > > > how about uninstalling the client then re-installing it from the console? > > > > -Francisco > > http://sqlthis.blogspot.com | Tsql and More... > > http://bit.ly/sqlthis > > > > > > On Fri, Jun 18, 2010 at 9:34 AM, Jean-Paul natola wrote: > > > >> > >> there is on other thing , i have discovered, if i go to add/remove and > >> select repair installation it works, BUT only for that session, once I > log > >> off and log back on it hangs. > >> > >> And i can reproduce 100% of the times, regardles what user account , but > >> its kind of hard to tell your boss, "just go to add/remove programs , > click > >> repair and it will work" > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> Jean-Paul Natola > >> > >> > >> > >> > >> > >> > >> > >> > >> ---------------------------------------- > >>> From: fhtapia at gmail.com > >>> Date: Fri, 18 Jun 2010 09:29:14 -0700 > >>> To: dba-sqlserver at databaseadvisors.com > >>> Subject: Re: [dba-SQLServer] SQL express based app UPDATE > >>> > >>> if the UDL test is working then you must have something on your > terminal > >>> server setup to block connections from the client application, check > your > >>> a/v software and perhaps allow this client app to run unrestricted. > >>> > >>> > >>> > >>> -Francisco > >>> http://sqlthis.blogspot.com | Tsql and More... > >>> http://bit.ly/sqlthis > >>> > >>> > >>> On Thu, Jun 17, 2010 at 2:36 PM, Jean-Paul natola wrote: > >>> > >>>> > >>>> > >>>>> > >>>>> > >>>>> Ping is fine > >>>>> > >>>>> > >>>>> > >>>>> UDL test fails > >>>>> > >>>>> Test connection failed because of an error in initializing provider > >>>>> > >>>>> [DBNETLIB][ConnectionOpen (PreLoginHandshake()).]General network > error. > >>>> Check your network documentation. > >>>>> > >>>> I went to the sql server and allowed remote connections using named > >> pipes > >>>> and TCP/IP > >>>> > >>>> > >>>> > >>>> the UDL test was successful, HOWEVER , the app still hangs > >>>> > >>>> _________________________________________________________________ > >>>> The New Busy is not the too busy. Combine all your e-mail accounts > with > >>>> Hotmail. > >>>> > >>>> > >> > http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4 > >>>> _______________________________________________ > >>>> 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 > >>> > >> _________________________________________________________________ > >> Hotmail is redefining busy with tools for the New Busy. Get more from > your > >> inbox. > >> > >> > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2 > >> _______________________________________________ > >> 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 > > > _________________________________________________________________ > The New Busy is not the old busy. Search, chat and e-mail from your inbox. > > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3 > _______________________________________________ > 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 Fri Jun 18 15:30:01 2010 From: jnatola at hotmail.com (Jean-Paul natola) Date: Fri, 18 Jun 2010 16:30:01 -0400 Subject: [dba-SQLServer] SQL express based app UPDATE In-Reply-To: References: , , , , , , , , Message-ID: windows 2003 r2 enterprise edition, full patched the app in question is SAGE MIP fund accounting I did run procmon and found found hundreds of name nojt found in the capture, and I DID notice an a buffer overflow entry Jean-Paul Natola ---------------------------------------- > From: fhtapia at gmail.com > Date: Fri, 18 Jun 2010 12:26:47 -0700 > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] SQL express based app UPDATE > > hmmm... that is definitely weird.. what is the OS on the terminal server and > is it full patched? > > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > http://bit.ly/sqlthis > > > On Fri, Jun 18, 2010 at 10:03 AM, Jean-Paul natola wrote: > >> >> well , i ahve tried doing it through a VNC session, which if im not >> mistaken, is teh same as sitting at the console. >> >> I will ahve to try it on monday >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Jean-Paul Natola >> >> >> >> >> >> >> >> >> ---------------------------------------- >>> From: fhtapia at gmail.com >>> Date: Fri, 18 Jun 2010 09:58:47 -0700 >>> To: dba-sqlserver at databaseadvisors.com >>> Subject: Re: [dba-SQLServer] SQL express based app UPDATE >>> >>> how about uninstalling the client then re-installing it from the console? >>> >>> -Francisco >>> http://sqlthis.blogspot.com | Tsql and More... >>> http://bit.ly/sqlthis >>> >>> >>> On Fri, Jun 18, 2010 at 9:34 AM, Jean-Paul natola wrote: >>> >>>> >>>> there is on other thing , i have discovered, if i go to add/remove and >>>> select repair installation it works, BUT only for that session, once I >> log >>>> off and log back on it hangs. >>>> >>>> And i can reproduce 100% of the times, regardles what user account , but >>>> its kind of hard to tell your boss, "just go to add/remove programs , >> click >>>> repair and it will work" >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Jean-Paul Natola >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> ---------------------------------------- >>>>> From: fhtapia at gmail.com >>>>> Date: Fri, 18 Jun 2010 09:29:14 -0700 >>>>> To: dba-sqlserver at databaseadvisors.com >>>>> Subject: Re: [dba-SQLServer] SQL express based app UPDATE >>>>> >>>>> if the UDL test is working then you must have something on your >> terminal >>>>> server setup to block connections from the client application, check >> your >>>>> a/v software and perhaps allow this client app to run unrestricted. >>>>> >>>>> >>>>> >>>>> -Francisco >>>>> http://sqlthis.blogspot.com | Tsql and More... >>>>> http://bit.ly/sqlthis >>>>> >>>>> >>>>> On Thu, Jun 17, 2010 at 2:36 PM, Jean-Paul natola wrote: >>>>> >>>>>> >>>>>> >>>>>>> >>>>>>> >>>>>>> Ping is fine >>>>>>> >>>>>>> >>>>>>> >>>>>>> UDL test fails >>>>>>> >>>>>>> Test connection failed because of an error in initializing provider >>>>>>> >>>>>>> [DBNETLIB][ConnectionOpen (PreLoginHandshake()).]General network >> error. >>>>>> Check your network documentation. >>>>>>> >>>>>> I went to the sql server and allowed remote connections using named >>>> pipes >>>>>> and TCP/IP >>>>>> >>>>>> >>>>>> >>>>>> the UDL test was successful, HOWEVER , the app still hangs >>>>>> >>>>>> _________________________________________________________________ >>>>>> The New Busy is not the too busy. Combine all your e-mail accounts >> with >>>>>> Hotmail. >>>>>> >>>>>> >>>> >> http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4 >>>>>> _______________________________________________ >>>>>> 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 >>>>> >>>> _________________________________________________________________ >>>> Hotmail is redefining busy with tools for the New Busy. Get more from >> your >>>> inbox. >>>> >>>> >> http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2 >>>> _______________________________________________ >>>> 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 >>> >> _________________________________________________________________ >> The New Busy is not the old busy. Search, chat and e-mail from your inbox. >> >> http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3 >> _______________________________________________ >> 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 > _________________________________________________________________ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2 From jwcolby at colbyconsulting.com Sat Jun 19 11:18:19 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 19 Jun 2010 12:18:19 -0400 Subject: [dba-SQLServer] Needs analysis Message-ID: <4C1CEDCB.7060800@colbyconsulting.com> I am about to upgrade my SQL server. Currently I run a quad core with 16 gigs ram, using data on raid6 arrays with a dedicated raid co-processor. I have an opportunity to build a server that better meets my needs but I need to discover what those needs are. As I have posted previously I process fairly substantial lists where (for example) I will join a table with 20 million names to a table with 65 million names on a sha hash field and select by a half dozen field criteria. Stuff like that. My databases are, generally speaking, read-only. This is not transaction stuff, but rather "data mining" kind of stuff. These queries can take a long time to run, tens of minutes or more. What I would like to find out is what is the bottleneck. If I increased my memory to 32 gigs would that be enough? Would 64 gigs be better or not be any better than 32 gigs? How much memory do these queries want? If I increased my cores to 8 or 16 would that be enough? How many threads would these queries use? If I moved some of the database onto SSDs would that help more than additional memory? How much time / resource is spent loading the data off of disks. I have absolutely no idea how to discover this kind of information. I am going to have X dollars to use to build a server, and of course X is never enough, so I need to decide whether to spend more on cores, memory or disks and in what combination. As an example I have enough to buy either 24 cores and 32 gigs of memory, or 16 cores and 64 gigs of ram, or 16 cores and 32 gigs of ram and a bunch of SSDs. I am pretty sure that regardless of what I do I will get a substantial performance leap, however maximizing that performance leap is still a good thing. Any help appreciated. BTW, I am NOT a DBA so if you give advice like "look at the logs", please give specific directions on how to do that. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Jun 19 21:34:58 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 19 Jun 2010 22:34:58 -0400 Subject: [dba-SQLServer] Data compression Message-ID: <4C1D7E52.3020603@colbyconsulting.com> I tested building a table with page compression. It is is a duplicate of an existing table that I have never used compression with. It has four indexes, which I also created with compression. The space usage is as follows: Row Count: 67,564,677 With Compression: Index space: 10,082.422 MB Data Space: 7,010.180 MB Without Compression: Index space: 18,431.859 MB Data Space: 13,785.570 MB That is significant. The common wisdom is that compressed data takes less disk I/O at the expense of more CPU usage. Likewise less memory is used because the data is kept in memory compressed. This is one of my central tables. When used, this table is always joined on another table (or view into a table), sometimes on a PKID, sometimes on a SHA hash field. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon Jun 21 07:12:27 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 21 Jun 2010 08:12:27 -0400 Subject: [dba-SQLServer] Is it faster to... Message-ID: <4C1F572B.2050808@colbyconsulting.com> My "database from hell" has values in columns of 'T' and space, 'T' where the value is "true" and space where the value is false. Would it be useful to replace the spaces with nulls. Would it be an actual space savings? Smaller indexes? Faster compares? -- John W. Colby www.ColbyConsulting.com From marklbreen at gmail.com Mon Jun 21 07:30:39 2010 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 21 Jun 2010 13:30:39 +0100 Subject: [dba-SQLServer] Is it faster to... In-Reply-To: <4C1F572B.2050808@colbyconsulting.com> References: <4C1F572B.2050808@colbyconsulting.com> Message-ID: Hello John, Two things come to mind, a) my initial temptation is to switch this column to a Bit datatype. That must be the smallest. b) I know that indexes on Binary Values do not help, and I suppose that indexes on char fields where in effect they are binary, (T or Space), probably do not help also. There is no range to index. So does that suggest you can switch to Bit, and gain a reduction in storage, but regardless, your indexes will not help? Does it even imply that you would be better dropping the index on that column? Seeing as you are the only one in these parts with this kind of firing power, you measure it and you tell us little guys what results you get :) Mark On 21 June 2010 13:12, jwcolby wrote: > My "database from hell" has values in columns of 'T' and space, 'T' where > the value is "true" and > space where the value is false. > > Would it be useful to replace the spaces with nulls. Would it be an actual > space savings? Smaller > indexes? Faster compares? > -- > 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 jwcolby at colbyconsulting.com Mon Jun 21 08:35:13 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 21 Jun 2010 09:35:13 -0400 Subject: [dba-SQLServer] Is it faster to... In-Reply-To: References: <4C1F572B.2050808@colbyconsulting.com> Message-ID: <4C1F6A91.8070100@colbyconsulting.com> > Seeing as you are the only one in these parts with this kind of firing power, you measure it and you tell us little guys what results you get :) ROTFL. >and I suppose that indexes on char fields where in effect they are binary, (T or Space), probably do not help also. There is no range to index. As I understand it, if the records selected are a small proportion of the total then the index is used. So if the total 'T's are in the 5-10% range of the total records (true in many cases), then the index is used. After that the question becomes, is there overhead in storing a null value that is greater than storing a space, both in the table and in any indexes for the given field. I am not sure how indexes work but my guess would be that spaces would be stored in the index whereas nulls would not. Thus the indexes themselves would probably be smaller. In the table that might not be the case since there might be an overhead for storing null values. So much to learn, so little time. John W. Colby www.ColbyConsulting.com Mark Breen wrote: > Hello John, > > Two things come to mind, > > a) my initial temptation is to switch this column to a Bit datatype. That > must be the smallest. > > b) I know that indexes on Binary Values do not help, and I suppose that > indexes on char fields where in effect they are binary, (T or Space), > probably do not help also. There is no range to index. > > So does that suggest you can switch to Bit, and gain a reduction in storage, > but regardless, your indexes will not help? Does it even imply that you > would be better dropping the index on that column? > > Seeing as you are the only one in these parts with this kind of firing > power, you measure it and you tell us little guys what results you get :) > > Mark > > > > > > > > On 21 June 2010 13:12, jwcolby wrote: > >> My "database from hell" has values in columns of 'T' and space, 'T' where >> the value is "true" and >> space where the value is false. >> >> Would it be useful to replace the spaces with nulls. Would it be an actual >> space savings? Smaller >> indexes? Faster compares? >> -- >> 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 >> >> > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From michael at ddisolutions.com.au Tue Jun 22 02:56:05 2010 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 22 Jun 2010 17:56:05 +1000 Subject: [dba-SQLServer] tempdb for JC Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D016B5BCD@ddi-01.DDI.local> Hi John, Came across a discussion on tempdb that may be useful for your upgrade. I've never consider multiple files for tempdb, never needed to.... Cheers Michael 'Create as many files as needed to maximize disk bandwidth. Using multiple files reduces tempdb storage contention and yields significantly better scalability. However, do not create too many files because this can reduce performance and increase management overhead. As a general guideline, create one data file for each CPU on the server (accounting for any affinity mask settings) and then adjust the number of files up or down as necessary. Note that a dual-core CPU is considered to be two CPUs.' http://technet.microsoft.com/en-us/library/ms175527.aspx From jwcolby at colbyconsulting.com Tue Jun 22 08:18:41 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 22 Jun 2010 09:18:41 -0400 Subject: [dba-SQLServer] tempdb for JC In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D016B5BCD@ddi-01.DDI.local> References: <59A61174B1F5B54B97FD4ADDE71E7D016B5BCD@ddi-01.DDI.local> Message-ID: <4C20B831.3080402@colbyconsulting.com> Interesting! John W. Colby www.ColbyConsulting.com Michael Maddison wrote: > Hi John, > > > > Came across a discussion on tempdb that may be useful for your upgrade. > I've never consider multiple files for tempdb, never needed to.... > > > > Cheers > > > > Michael > > > > 'Create as many files as needed to maximize disk bandwidth. Using > multiple files reduces tempdb storage contention and yields > significantly better scalability. However, do not create too many files > because this can reduce performance and increase management overhead. As > a general guideline, create one data file for each CPU on the server > (accounting for any affinity mask > settings) > and then adjust the number of files up or down as necessary. Note that a > dual-core CPU is considered to be two CPUs.' > > > > http://technet.microsoft.com/en-us/library/ms175527.aspx > > > > > > _______________________________________________ > 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 Tue Jun 22 08:48:14 2010 From: jnatola at hotmail.com (Jean-Paul natola) Date: Tue, 22 Jun 2010 09:48:14 -0400 Subject: [dba-SQLServer] Sql Agent terminating Message-ID: Everyday at 3 am, for the last week or so the sql agent stops i see theis in the error log: 2010-06-22 00:30:13.17 Backup Database backed up. Database: FCITZ, creation date(time): 2009/06/03(15:49:48), pages dumped: 51851, first LSN: 346:4193:46, last LSN: 346:4212:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'F:\USERS\DATA\IT\Databases\GP_bkp\FCITZ_db_201006220030.BAK'}). This is an informational message only. No user action is required. 2010-06-22 03:00:35.87 spid60 Configuration option 'show advanced options' changed from 0 to 1. Run the RECONFIGURE statement to install. 2010-06-22 03:00:35.87 spid60 Configuration option 'Agent XPs' changed from 1 to 0. Run the RECONFIGURE statement to install. 2010-06-22 03:00:35.87 spid60 Configuration option 'show advanced options' changed from 1 to 0. Run the RECONFIGURE statement to install. 2010-06-22 03:00:38.01 spid20s Service Broker manager has shut down. 2010-06-22 03:00:38.88 spid5s SQL Server is terminating in response to a 'stop' request from Service Control Manager. This is an informational message only. No user action is required. 2010-06-22 03:00:38.88 spid5s SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required. Jean-Paul Natola _________________________________________________________________ The New Busy is not the old busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3 From jwcolby at colbyconsulting.com Wed Jun 23 07:45:27 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 23 Jun 2010 08:45:27 -0400 Subject: [dba-SQLServer] Indexes on single value fields Message-ID: <4C2201E7.8060602@colbyconsulting.com> Mark Breen, I think it was you that mentioned that an index on a field that only contained a single value ('Y' in my case) would not be used. I can report that it definitely is used. I have been slowly converting my fields with either a 'Y' or a ' ' (space), replacing the ' ' with null. I tried to do a count / group by to discover how many values I had in one of my fields and without the index it had not finished after about 8 minutes. With an index it took five seconds. In fact it took less time to build the index than it took to count without the index, which is pretty strange if you ask me. I use these "Y / nothing" fields as criteria in where clauses for the orders that the client sends me. I always generate cover indexes on the order selection fields before running the order because it so dramatically reduces the time to select the resulting order records. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Jun 23 08:33:54 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 23 Jun 2010 09:33:54 -0400 Subject: [dba-SQLServer] DoEvents equivalent Message-ID: <4C220D42.3030702@colbyconsulting.com> Is there a DoEvents equivalent in SQL Server? I perform a set of update queries (dynamic SQL) in a cursor, printing a status for each loop of the cursor. The stuff prints but only when the entire thing finishes. I would like to print the results as each update occurs. -- John W. Colby www.ColbyConsulting.com From marklbreen at gmail.com Thu Jun 24 06:53:58 2010 From: marklbreen at gmail.com (Mark Breen) Date: Thu, 24 Jun 2010 12:53:58 +0100 Subject: [dba-SQLServer] Indexes on single value fields In-Reply-To: <4C2201E7.8060602@colbyconsulting.com> References: <4C2201E7.8060602@colbyconsulting.com> Message-ID: Hello John, Glad that your times have reduced to five seconds, I bet you jumped with joy at that. I had previously understood that indexes on fields with binary values were not beneficial. But I have to also query my brain to ask was that "Indexes with an even spread of binary values eg 50 yes and 50 no. Anyway, I suppose in the end, we all try it one way and then try it another and pick the one thats best. I am still curious about your cast as to whether Y and Null is better than 1 and 0 as a bit field. It should be as fast, otherwise whats the point of bit. Thanks Mark On 23 June 2010 13:45, jwcolby wrote: > Mark Breen, > > I think it was you that mentioned that an index on a field that only > contained a single value ('Y' > in my case) would not be used. I can report that it definitely is used. I > have been slowly > converting my fields with either a 'Y' or a ' ' (space), replacing the ' ' > with null. I tried to do > a count / group by to discover how many values I had in one of my fields > and without the index it > had not finished after about 8 minutes. With an index it took five > seconds. > > In fact it took less time to build the index than it took to count without > the index, which is > pretty strange if you ask me. > > I use these "Y / nothing" fields as criteria in where clauses for the > orders that the client sends > me. I always generate cover indexes on the order selection fields before > running the order because > it so dramatically reduces the time to select the resulting order records. > > -- > 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 jwcolby at colbyconsulting.com Fri Jun 25 12:32:38 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 25 Jun 2010 13:32:38 -0400 Subject: [dba-SQLServer] SQL Server 2008 - database ownership issues Message-ID: <4C24E836.4020405@colbyconsulting.com> I am writing code that uses the SMO object to do things like attach and detach, backup and restore databases from C#. Basically in my business I end up with a ton of order and count databases and detach them once I am finished processing that count or order. I now want to attach these and back them up, with compression, then delete the original database file which is typically much much larger. The concept works, however I am running into ownership issues on the restore and the attach side of things. Oddly the code can detach and backup databases without owning them, but it appears that the code cannot restore or attach them without owning them (the database). I suppose this makes sense from a security perspective, but it is causing me headaches in writing the code since my programmer is doing this stuff under his own username. The exceptions from SMO / SQL Server give generic "Access denied" error messages when Paul tries to run the code but it works when I try to run the code - the databases were created by my user. We determined that is an ownership issue because if Paul creates a test database, he can perform all of the operations on that database, but not on the ones that I created. I can go in and perform those operations on the ones I created, though I did not attempt to do so on the objects he created. So this (ownership) is my take on what is going on. It may be something else entirely, I am certainly no SQL Server guru, but it appears that this is the cause. Has anyone ever seen this and know how to allow another user to do an attach or restore? I am using windows authentication for everything SQL Server related ATM. -- John W. Colby www.ColbyConsulting.com From bheid at sc.rr.com Fri Jun 25 18:12:22 2010 From: bheid at sc.rr.com (Bobby Heid) Date: Fri, 25 Jun 2010 19:12:22 -0400 Subject: [dba-SQLServer] DoEvents equivalent In-Reply-To: <4C220D42.3030702@colbyconsulting.com> References: <4C220D42.3030702@colbyconsulting.com> Message-ID: <000c01cb14bb$de44c5c0$9ace5140$@rr.com> John, Does putting "Go" in between each set of queries give you what you want? Bobby -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, June 23, 2010 9:34 AM To: Sqlserver-Dba; Access Developers discussion and problem solving Subject: [dba-SQLServer] DoEvents equivalent Is there a DoEvents equivalent in SQL Server? I perform a set of update queries (dynamic SQL) in a cursor, printing a status for each loop of the cursor. The stuff prints but only when the entire thing finishes. I would like to print the results as each update occurs. -- 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 jwcolby at colbyconsulting.com Fri Jun 25 19:04:40 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 25 Jun 2010 20:04:40 -0400 Subject: [dba-SQLServer] DoEvents equivalent In-Reply-To: <000c01cb14bb$de44c5c0$9ace5140$@rr.com> References: <4C220D42.3030702@colbyconsulting.com> <000c01cb14bb$de44c5c0$9ace5140$@rr.com> Message-ID: <4C254418.5040802@colbyconsulting.com> LOL. I don't know. This is inside of a stored procedure. John W. Colby www.ColbyConsulting.com Bobby Heid wrote: > John, > > Does putting "Go" in between each set of queries give you what you want? > > Bobby > > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, June 23, 2010 9:34 AM > To: Sqlserver-Dba; Access Developers discussion and problem solving > Subject: [dba-SQLServer] DoEvents equivalent > > Is there a DoEvents equivalent in SQL Server? > > I perform a set of update queries (dynamic SQL) in a cursor, printing a > status for each loop of the > cursor. The stuff prints but only when the entire thing finishes. I would > like to print the > results as each update occurs. >