From erbachs at gmail.com Mon May 1 11:45:05 2006 From: erbachs at gmail.com (Steve Erbach) Date: Mon, 1 May 2006 11:45:05 -0500 Subject: [dba-SQLServer] VB.net reference books - experiences + SQL Server List In-Reply-To: <001e01c65e8a$6452bec0$6601a8c0@office> References: <001e01c65e8a$6452bec0$6601a8c0@office> Message-ID: <39cb22f30605010945g497cfb4cqfc0feff104b04ae6@mail.gmail.com> Kath, Just saw this thread today... As far as web sites, I'd suggest a visit to http://www.sqlservercentral.com . Free registration to get access to everything, a sprightly daily e-mail newsletter, e-books for cheap, and lots and lots of articles on SQL Server. As far as books go, you might want to look into Safari Bookshelf On-line ( http://www.safaribooksonline.com/ ). For $15 a month you get up to 10 books on your "bookshelf". You must keep a book for at least 30 days, at which time you may remove it from your shelf and replace it with another...or you can hang onto a book forever, taking up a "slot" on your bookshelf. About three dozen publishers have their books in Safari format, which is searchable across ALL books in the Safari library. Some publishers are missing from the "stable" of publishers available, but there are plenty. The two .NET Framework books Shamil mentioned are available on Safari, while the ASP.NET Tips, Tutorials and the Mastering Visual Basic 2005 are not. I can recommend Scott Mitchell as an author (the book recommended by Eric Barro is by Mitchell). Mitchell's web site is the famous 4 Guys from Rolla: http://www.4guysfromrolla.com . Regards, Steve Erbach http://TheTownCrank.blogspot.com On 4/12/06, Kath Pelletti wrote: > (Cross posted to SQl Server and AccessD normal list) > > I have been learning SQL Server 2005 and vb.net this year......I have found Mike Gunderloy's book "Mastering SQL Server 2005" an absolute god send. I would highly recommend this one to anyone going through this learning curve.... > > But the book I bought for learning vb.net is not so good - "Visual Basic 2005 - Programmer's reference' by Rod Stephens. It's not too bad - very much like reading the MS help screens - but I am looking for a book which will step me through it - a la Mike's style. Any recommendations? > > (I know O'Reilly's are good but I am told by my colleague here that that it is more of a reference book.) > > (While I am posting - it's very quiet on our SQL list for now - is there another list anyone has been using which they would recommend? > > ______________________________________ > Kath Pelletti From kp at sdsonline.net Mon May 1 18:51:50 2006 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 2 May 2006 09:51:50 +1000 Subject: [dba-SQLServer] VB.net reference books - experiences + SQLServer List References: <001e01c65e8a$6452bec0$6601a8c0@office> <39cb22f30605010945g497cfb4cqfc0feff104b04ae6@mail.gmail.com> Message-ID: <002c01c66d7a$381202e0$6601a8c0@office> Thanks Steve. I had found SQLServerCentral.com and am getting the daily newsletter. Have you used the Safari site much? Looks interesting. Kath ----- Original Message ----- From: Steve Erbach To: dba-sqlserver at databaseadvisors.com Cc: Access D Normal List Sent: Tuesday, May 02, 2006 2:45 AM Subject: Re: [dba-SQLServer] VB.net reference books - experiences + SQLServer List Kath, Just saw this thread today... As far as web sites, I'd suggest a visit to http://www.sqlservercentral.com . Free registration to get access to everything, a sprightly daily e-mail newsletter, e-books for cheap, and lots and lots of articles on SQL Server. As far as books go, you might want to look into Safari Bookshelf On-line ( http://www.safaribooksonline.com/ ). For $15 a month you get up to 10 books on your "bookshelf". You must keep a book for at least 30 days, at which time you may remove it from your shelf and replace it with another...or you can hang onto a book forever, taking up a "slot" on your bookshelf. About three dozen publishers have their books in Safari format, which is searchable across ALL books in the Safari library. Some publishers are missing from the "stable" of publishers available, but there are plenty. The two .NET Framework books Shamil mentioned are available on Safari, while the ASP.NET Tips, Tutorials and the Mastering Visual Basic 2005 are not. I can recommend Scott Mitchell as an author (the book recommended by Eric Barro is by Mitchell). Mitchell's web site is the famous 4 Guys from Rolla: http://www.4guysfromrolla.com . Regards, Steve Erbach http://TheTownCrank.blogspot.com On 4/12/06, Kath Pelletti wrote: > (Cross posted to SQl Server and AccessD normal list) > > I have been learning SQL Server 2005 and vb.net this year......I have found Mike Gunderloy's book "Mastering SQL Server 2005" an absolute god send. I would highly recommend this one to anyone going through this learning curve.... > > But the book I bought for learning vb.net is not so good - "Visual Basic 2005 - Programmer's reference' by Rod Stephens. It's not too bad - very much like reading the MS help screens - but I am looking for a book which will step me through it - a la Mike's style. Any recommendations? > > (I know O'Reilly's are good but I am told by my colleague here that that it is more of a reference book.) > > (While I am posting - it's very quiet on our SQL list for now - is there another list anyone has been using which they would recommend? > > ______________________________________ > Kath Pelletti _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From harkinsss at bellsouth.net Mon May 1 18:58:14 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 1 May 2006 19:58:14 -0400 Subject: [dba-SQLServer] VB.net reference books - experiences +SQLServer List In-Reply-To: <002c01c66d7a$381202e0$6601a8c0@office> Message-ID: <001301c66d7b$1c7766f0$afb3d6d1@SUSANONE> > I have been learning SQL Server 2005 and vb.net this year......I have found Mike Gunderloy's book "Mastering SQL Server 2005" an absolute god send. I would highly recommend this one to anyone going through this learning curve.... > > But the book I bought for learning vb.net is not so good - "Visual Basic 2005 - Programmer's reference' by Rod Stephens. It's not too bad - very much like reading the MS help screens - but I am looking for a book which will step me through it - a la Mike's style. Any recommendations? =========The Mastering series probably has a vb.net book -- the format is the same throughout the series, so you would probably find a Mastering title helpful. Susan H. From Paul.Hartland at orridge.co.uk Tue May 2 05:31:48 2006 From: Paul.Hartland at orridge.co.uk (Paul Hartland) Date: Tue, 2 May 2006 11:31:48 +0100 Subject: [dba-SQLServer] SQL Server - Transactional Replication - Syntax Error or Access Violation Message-ID: <14A7AB003EFD444BBB193A23128DA20E01042671@AL-PRI.Aldridge.local> To all, I have had Transactional replication running without a problem now for at least the last couple of months, however I have came in this morning to find it has stopped working with the failure message being Syntax Error or Access Violation. If a double click the error I get a box up saying the Publisher name, Agent, Publication & Subscription which are ok. Then a last command which says : {CALL sp_MSdel_tblPre-JobWages (N'A', N'WD', N'Checker', 6.2399998e+000)} Transaction sequence number and command ID of last execution batch are 0x000372D500000E79000F00000000 and 1. Error Message: Syntax error or access violation. Error Details: Syntax error or access violation (Source: AL-MAN (ODBC); Error number: 37000) Anyone any ideas on what could be happening ? I notice the error occurs with something to do with tblPre-JobWages, but this table hasn't been changed in anyway for over 7-9 months now (before I even started the Transactional Replication).... Any help on this would be greatly appreciated. PAUL HARTLAND Database Designer/Programmer paul.hartland at orridge.co.uk DDI - 01922 472031 Mobile - 07730 523179 _______________________________________________ * This message is confidential. * This email, its content and any files transmitted with it are intended solely for the addressee and may be legally privileged and/or confidential. * Access by any other party is unauthorised without the express written permission of the sender. * If you have received this email in error you may not copy or use the contents, attachments or information in any way and any review, use, dissemination, forwarding, disclosure, alteration, printing of this information is strictly prohibited. Please destroy it and notify the sender via return e-mail. * This email has been prepared using information believed by Paul Hartland to be reliable and accurate, but the company makes no warranty as to accuracy or completeness. In particular the author does not accept responsibility for changes made to this email after it was sent. * Any opinions expressed in this document are those of the author and do not necessarily reflect the opinions of the company or its affiliates. The Orridge web site can be found at: http://www.orridge.co.uk From erbachs at gmail.com Tue May 2 10:03:04 2006 From: erbachs at gmail.com (Steve Erbach) Date: Tue, 2 May 2006 10:03:04 -0500 Subject: [dba-SQLServer] VB.net reference books - experiences + SQLServer List In-Reply-To: <002c01c66d7a$381202e0$6601a8c0@office> References: <001e01c65e8a$6452bec0$6601a8c0@office> <39cb22f30605010945g497cfb4cqfc0feff104b04ae6@mail.gmail.com> <002c01c66d7a$381202e0$6601a8c0@office> Message-ID: <39cb22f30605020803n4343df58xbe19080b1cee8b6f@mail.gmail.com> Kath, Yes, I have used Safari extensively. I've been a subscriber for quite some time. I find that, even though it isn't as convenient to read a book on-line, the code samples that are available right there and the pertinent links to other pages and sites are very handy features. If you're an MSDN subscriber, there's a 30-day free trial of Safari. Steve Erbach Scientific Marketing Neenah, WI http://TheTownCrank.blogspot.com On 5/1/06, Kath Pelletti wrote: > Thanks Steve. I had found SQLServerCentral.com and am getting the daily newsletter. Have you used the Safari site much? Looks interesting. > > Kath > ----- Original Message ----- > From: Steve Erbach > To: dba-sqlserver at databaseadvisors.com > Cc: Access D Normal List > Sent: Tuesday, May 02, 2006 2:45 AM > Subject: Re: [dba-SQLServer] VB.net reference books - experiences + SQLServer List > > > Kath, > > Just saw this thread today... > > As far as web sites, I'd suggest a visit to > http://www.sqlservercentral.com . Free registration to get access to > everything, a sprightly daily e-mail newsletter, e-books for cheap, > and lots and lots of articles on SQL Server. > From fhtapia at gmail.com Wed May 3 12:33:43 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 3 May 2006 10:33:43 -0700 Subject: [dba-SQLServer] sp_OAMethod Timeouts? Message-ID: I'm making a webservice call using sp_OAMethod. I've recently been getting some timeouts because the service may take a little bit longer than expected. I searched in BOL and did not find a method for increasing my timeout wait status? anybody have this info handy? -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From harkinsss at bellsouth.net Fri May 5 16:34:38 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Fri, 5 May 2006 17:34:38 -0400 Subject: [dba-SQLServer] DELETE and LEFT JOIN Message-ID: <002001c6708b$b70a52f0$e2b3d6d1@SUSANONE> I understand that DELETE won't delete records from the nullable side of a LEFT JOIN. However, what I'm finding is that I can't use DELETE with any LEFT JOIN -- can someone clarify this for me? Susan H. From harkinsss at bellsouth.net Sun May 7 08:50:51 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sun, 7 May 2006 09:50:51 -0400 Subject: [dba-SQLServer] another nudge on that DELETE, OUTER JOIN quirk Message-ID: <002701c671dd$417a6810$9bb3d6d1@SUSANONE> I've been experimenting a bit with the DELETE on an OUTER JOIN, and so far, I've not been able to run a single DELETE on any query that contains an OUTER JOIN -- I understand the null ability business, but I think what all that technique mumbo jumbo really means is, you can't use DELETE with an OUTER JOIN -- anyone know for sure about this? Susan H. From martyconnelly at shaw.ca Sun May 7 14:36:01 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 07 May 2006 12:36:01 -0700 Subject: [dba-SQLServer] another nudge on that DELETE, OUTER JOIN quirk In-Reply-To: <002701c671dd$417a6810$9bb3d6d1@SUSANONE> References: <002701c671dd$417a6810$9bb3d6d1@SUSANONE> Message-ID: <445E4C21.1080200@shaw.ca> Are you specifying which table to delete from DELETE DISTINCTROW Original_Table.* FROM Original_Table LEFT JOIN ... or DELETE Original_Table.* FROM Original_Table LEFT JOIN ... Susan Harkins wrote: >I've been experimenting a bit with the DELETE on an OUTER JOIN, and so far, >I've not been able to run a single DELETE on any query that contains an >OUTER JOIN -- I understand the null ability business, but I think what all >that technique mumbo jumbo really means is, you can't use DELETE with an >OUTER JOIN -- anyone know for sure about this? > >Susan H. > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > > > > > -- Marty Connelly Victoria, B.C. Canada From harkinsss at bellsouth.net Sun May 7 14:48:35 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sun, 7 May 2006 15:48:35 -0400 Subject: [dba-SQLServer] another nudge on that DELETE, OUTER JOIN quirk In-Reply-To: <445E4C21.1080200@shaw.ca> Message-ID: <003501c6720f$3b585b40$9bb3d6d1@SUSANONE> No: DELETE FROM one LEFT JOIN many ON one.column = many.column -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, May 07, 2006 3:36 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] another nudge on that DELETE, OUTER JOIN quirk Are you specifying which table to delete from DELETE DISTINCTROW Original_Table.* FROM Original_Table LEFT JOIN ... or DELETE Original_Table.* FROM Original_Table LEFT JOIN ... Susan Harkins wrote: >I've been experimenting a bit with the DELETE on an OUTER JOIN, and so >far, I've not been able to run a single DELETE on any query that >contains an OUTER JOIN -- I understand the null ability business, but I >think what all that technique mumbo jumbo really means is, you can't >use DELETE with an OUTER JOIN -- anyone know for sure about this? > >Susan H. > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > > > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ 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 Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/333 - Release Date: 5/5/2006 From harkinsss at bellsouth.net Sun May 7 14:54:08 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sun, 7 May 2006 15:54:08 -0400 Subject: [dba-SQLServer] another nudge on that DELETE, OUTER JOIN quirk In-Reply-To: <445E4C21.1080200@shaw.ca> Message-ID: <003601c67210$019fa240$9bb3d6d1@SUSANONE> I tried yours -- the only difference seems to be that you specified the non-nullable table. Using the following statement, I still got an error: DELETE Customers.* FROM Customers LEFT JOIN Orders ON Customers.CustID = Orders.CustID I'm using Express -- prehaps the two versions aren't compatiable on this issue? Susan H. Are you specifying which table to delete from DELETE DISTINCTROW Original_Table.* FROM Original_Table LEFT JOIN ... or DELETE Original_Table.* FROM Original_Table LEFT JOIN ... From Susan.Klos at fldoe.org Mon May 8 14:25:18 2006 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 8 May 2006 15:25:18 -0400 Subject: [dba-SQLServer] dba-SQLServer Digest, Vol 39, Issue 6 Message-ID: Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 Please take a few minutes to provide feedback on the quality of service you received. The Department of Education values your feedback as a customer. Commissioner John L. Winn is committed to continuously assessing and improving the level and quality of services provided to you by Department staff. Simply use the link below. Thank you in advance for completing the survey. http://data.fldoe.org/cs/default.cfm?staff=Susan.Klos at fldoe.org|15:25:21%20Mon%2008%20May%202006 -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of dba-sqlserver-request at databaseadvisors.com Sent: Monday, May 08, 2006 1:00 PM To: dba-sqlserver at databaseadvisors.com Subject: dba-SQLServer Digest, Vol 39, Issue 6 Send dba-SQLServer mailing list submissions to dba-sqlserver at databaseadvisors.com To subscribe or unsubscribe via the World Wide Web, visit http://databaseadvisors.com/mailman/listinfo/dba-sqlserver or, via email, send a message with subject or body 'help' to dba-sqlserver-request at databaseadvisors.com You can reach the person managing the list at dba-sqlserver-owner at databaseadvisors.com When replying, please edit your Subject line so it is more specific than "Re: Contents of dba-SQLServer digest..." Today's Topics: 1. Re: another nudge on that DELETE, OUTER JOIN quirk (MartyConnelly) 2. Re: another nudge on that DELETE, OUTER JOIN quirk (Susan Harkins) 3. Re: another nudge on that DELETE, OUTER JOIN quirk (Susan Harkins) ---------------------------------------------------------------------- Message: 1 Date: Sun, 07 May 2006 12:36:01 -0700 From: MartyConnelly Subject: Re: [dba-SQLServer] another nudge on that DELETE, OUTER JOIN quirk To: dba-sqlserver at databaseadvisors.com Message-ID: <445E4C21.1080200 at shaw.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Are you specifying which table to delete from DELETE DISTINCTROW Original_Table.* FROM Original_Table LEFT JOIN ... or DELETE Original_Table.* FROM Original_Table LEFT JOIN ... Susan Harkins wrote: >I've been experimenting a bit with the DELETE on an OUTER JOIN, and so far, >I've not been able to run a single DELETE on any query that contains an >OUTER JOIN -- I understand the null ability business, but I think what all >that technique mumbo jumbo really means is, you can't use DELETE with an >OUTER JOIN -- anyone know for sure about this? > >Susan H. > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > > > > > -- Marty Connelly Victoria, B.C. Canada ------------------------------ Message: 2 Date: Sun, 7 May 2006 15:48:35 -0400 From: "Susan Harkins" Subject: Re: [dba-SQLServer] another nudge on that DELETE, OUTER JOIN quirk To: Message-ID: <003501c6720f$3b585b40$9bb3d6d1 at SUSANONE> Content-Type: text/plain; charset="us-ascii" No: DELETE FROM one LEFT JOIN many ON one.column = many.column -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, May 07, 2006 3:36 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] another nudge on that DELETE, OUTER JOIN quirk Are you specifying which table to delete from DELETE DISTINCTROW Original_Table.* FROM Original_Table LEFT JOIN ... or DELETE Original_Table.* FROM Original_Table LEFT JOIN ... Susan Harkins wrote: >I've been experimenting a bit with the DELETE on an OUTER JOIN, and so >far, I've not been able to run a single DELETE on any query that >contains an OUTER JOIN -- I understand the null ability business, but I >think what all that technique mumbo jumbo really means is, you can't >use DELETE with an OUTER JOIN -- anyone know for sure about this? > >Susan H. > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > > > > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ 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 Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/333 - Release Date: 5/5/2006 ------------------------------ Message: 3 Date: Sun, 7 May 2006 15:54:08 -0400 From: "Susan Harkins" Subject: Re: [dba-SQLServer] another nudge on that DELETE, OUTER JOIN quirk To: Message-ID: <003601c67210$019fa240$9bb3d6d1 at SUSANONE> Content-Type: text/plain; charset="us-ascii" I tried yours -- the only difference seems to be that you specified the non-nullable table. Using the following statement, I still got an error: DELETE Customers.* FROM Customers LEFT JOIN Orders ON Customers.CustID = Orders.CustID I'm using Express -- prehaps the two versions aren't compatiable on this issue? Susan H. Are you specifying which table to delete from DELETE DISTINCTROW Original_Table.* FROM Original_Table LEFT JOIN ... or DELETE Original_Table.* FROM Original_Table LEFT JOIN ... ------------------------------ _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver End of dba-SQLServer Digest, Vol 39, Issue 6 ******************************************** From martyconnelly at shaw.ca Mon May 8 15:06:45 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 08 May 2006 13:06:45 -0700 Subject: [dba-SQLServer] another nudge on that DELETE, OUTER JOIN quirk In-Reply-To: <003601c67210$019fa240$9bb3d6d1@SUSANONE> References: <003601c67210$019fa240$9bb3d6d1@SUSANONE> Message-ID: <445FA4D5.20402@shaw.ca> Try a Select if that works then it is a problem with an non updateable query. I know Joe Celko addresses a lot of these outerjoin problems between different database SQL Syntax in SQL for Smarties. Susan Harkins wrote: >I tried yours -- the only difference seems to be that you specified the >non-nullable table. Using the following statement, I still got an error: > >DELETE Customers.* >FROM Customers LEFT JOIN Orders >ON Customers.CustID = Orders.CustID > >I'm using Express -- prehaps the two versions aren't compatiable on this >issue? > >Susan H. > > > Are you specifying which table to delete from > >DELETE DISTINCTROW Original_Table.* FROM Original_Table LEFT JOIN ... >or >DELETE Original_Table.* FROM Original_Table LEFT JOIN ... > > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > > > > > -- Marty Connelly Victoria, B.C. Canada From harkinsss at bellsouth.net Mon May 8 15:23:44 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 8 May 2006 16:23:44 -0400 Subject: [dba-SQLServer] another nudge on that DELETE, OUTER JOIN quirk In-Reply-To: <445FA4D5.20402@shaw.ca> Message-ID: <000a01c672dd$4e85ac80$bab3d6d1@SUSANONE> Yeah, the SELECT works on them all -- just not DELETE. I have other solutions, and I understand the nullability business -- just what little I've found makes it sound like the DELETE won't work on the many table -- the nullable table, and that doesn't appear to be the case -- it won't work on either side of the join as far as I can tell. Susan H. Try a Select if that works then it is a problem with an non updateable query. I know Joe Celko addresses a lot of these outerjoin problems between different database SQL Syntax in SQL for Smarties. From fhtapia at gmail.com Mon May 8 19:20:06 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 8 May 2006 17:20:06 -0700 Subject: [dba-SQLServer] sp_OAMethod Timeouts? In-Reply-To: References: Message-ID: If the sp_OAMethod is used in a sproc, is there a way to extend the timeout for this sproc ? On 5/3/06, Francisco Tapia wrote: > I'm making a webservice call using sp_OAMethod. I've recently been > getting some timeouts because the service may take a little bit longer > than expected. I searched in BOL and did not find a method for > increasing my timeout wait status? anybody have this info handy? > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From michael at ddisolutions.com.au Wed May 10 00:07:25 2006 From: michael at ddisolutions.com.au (Michael Maddison) Date: Wed, 10 May 2006 15:07:25 +1000 Subject: [dba-SQLServer] DELETE and LEFT JOIN Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D0116A5C2@ddi-01.DDI.local> Susan, Doing some maint and came across this which I wrote some time ago. DELETE t_tfm_CLEARFELL FROM t_tfm_CLEARFELL AS t1, #t AS t2 WHERE t1.Job_Number = t2.Job_Number AND t1.Region = t2.Region AND t1.IsCompartment = t2.IsCompartment AND t1.Age = t2.Age AND t1.Compartment = t2.Compartment There used to be a way to force outer joins in the where part. IIRC Maybe that will work, can't test just now. cheers Michael M -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 6 May 2006 7:35 AM To: SQLList Subject: [dba-SQLServer] DELETE and LEFT JOIN I understand that DELETE won't delete records from the nullable side of a LEFT JOIN. However, what I'm finding is that I can't use DELETE with any LEFT JOIN -- can someone clarify this for me? Susan H. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From harkinsss at bellsouth.net Wed May 10 07:25:44 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 10 May 2006 08:25:44 -0400 Subject: [dba-SQLServer] DELETE and LEFT JOIN In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D0116A5C2@ddi-01.DDI.local> Message-ID: <001601c6742c$edf99e20$8fb3d6d1@SUSANONE> This is one of the solutions I came up with -- but thanks for the confirmation. Yesterday, I learned that when you use DELETE with any JOIN you MUST use the second FROM clause? Anyone heard of this? Susan H. Susan, Doing some maint and came across this which I wrote some time ago. DELETE t_tfm_CLEARFELL FROM t_tfm_CLEARFELL AS t1, #t AS t2 WHERE t1.Job_Number = t2.Job_Number AND t1.Region = t2.Region AND t1.IsCompartment = t2.IsCompartment AND t1.Age = t2.Age AND t1.Compartment = t2.Compartment There used to be a way to force outer joins in the where part. IIRC Maybe that will work, can't test just now. cheers Michael M -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, 6 May 2006 7:35 AM To: SQLList Subject: [dba-SQLServer] DELETE and LEFT JOIN I understand that DELETE won't delete records from the nullable side of a LEFT JOIN. However, what I'm finding is that I can't use DELETE with any LEFT JOIN -- can someone clarify this for me? Susan H. _______________________________________________ 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/334 - Release Date: 5/8/2006 From stuart at lexacorp.com.pg Wed May 10 16:45:10 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 11 May 2006 07:45:10 +1000 Subject: [dba-SQLServer] DELETE and LEFT JOIN In-Reply-To: <001601c6742c$edf99e20$8fb3d6d1@SUSANONE> References: <59A61174B1F5B54B97FD4ADDE71E7D0116A5C2@ddi-01.DDI.local> Message-ID: <4462EB86.23370.712C494@stuart.lexacorp.com.pg> On 10 May 2006 at 8:25, Susan Harkins wrote: > This is one of the solutions I came up with -- but thanks for the > confirmation. > > Yesterday, I learned that when you use DELETE with any JOIN you MUST use the > second FROM clause? Anyone heard of this? > True. That is precisely what TSQL Help says under DELETE when you read it carefully: Firstly, you need to part way down the page where a "table_source" is defined as one of the following: table_name", "view_name", "rowset_function", "derived_table" or "joined_table" Also note the restriction on view_name: "The view referenced by view_name must be updatable and reference exactly one base table in the FROM clause of the view." Finally look at the part that says: FROM Specifies an additional FROM clause. This Transact-SQL extension to DELETE allows you to specify data from and delete corresponding rows from the table in the first FROM clause. Now look at the actual specification of a DELETE command: In the first clause, optionally preceded by the word "FROM" - you can have a "table_name", "view_name" or "rowset_function_limited". There is no mention here of "table_source" or any specification of the last two types of "table_sources", so they are not permitted. In the *additional* FROM clause - you can have a "table_source" so this is the *only* place you can have "derived_table" or "join_table" -- Stuart From harkinsss at bellsouth.net Wed May 10 19:56:41 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 10 May 2006 20:56:41 -0400 Subject: [dba-SQLServer] DELETE and LEFT JOIN In-Reply-To: <4462EB86.23370.712C494@stuart.lexacorp.com.pg> Message-ID: <000501c67495$d0bd3dd0$c4b3d6d1@SUSANONE> I'm a skimmer -- I admit it -- I skim for what I need. I find it very difficult to read something word for word -- It's terrible that the information is there and I've never once actually read it and understood the full intent. :( Thanks Stuart! Susan H. True. That is precisely what TSQL Help says under DELETE when you read it carefully: From artful at rogers.com Tue May 16 06:47:32 2006 From: artful at rogers.com (Arthur Fuller) Date: Tue, 16 May 2006 07:47:32 -0400 (EDT) Subject: [dba-SQLServer] another nudge on that DELETE, OUTER JOIN quirk In-Reply-To: <003601c67210$019fa240$9bb3d6d1@SUSANONE> Message-ID: <20060516114732.91280.qmail@web88209.mail.re2.yahoo.com> I'm not sure about what is technically possible in this case, but if you meant your query explicitly then I'd say you hit a feature, not a problem. Otherwise you'd be orphaning Orders rows. Susan Harkins wrote: I tried yours -- the only difference seems to be that you specified the non-nullable table. Using the following statement, I still got an error: DELETE Customers.* FROM Customers LEFT JOIN Orders ON Customers.CustID = Orders.CustID I'm using Express -- prehaps the two versions aren't compatiable on this issue? Susan H. Are you specifying which table to delete from DELETE DISTINCTROW Original_Table.* FROM Original_Table LEFT JOIN ... or DELETE Original_Table.* FROM Original_Table LEFT JOIN ... _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From harkinsss at bellsouth.net Tue May 16 07:50:15 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Tue, 16 May 2006 08:50:15 -0400 Subject: [dba-SQLServer] another nudge on that DELETE, OUTER JOIN quirk In-Reply-To: <20060516114732.91280.qmail@web88209.mail.re2.yahoo.com> Message-ID: <000101c678e7$5c7f4160$bcb3d6d1@SUSANONE> That's true Arthur, but unless I'm enabling features that limit my ability to create orphans, I should be able to do so if I wish -- although I wouldn't. I couldn't delete records on either side was the problem. The documentation says you couldn't delete records on the nullable table, and I just didn't think that shouldn't right. The explanation was incomplete. Susan H. I'm not sure about what is technically possible in this case, but if you meant your query explicitly then I'd say you hit a feature, not a problem. Otherwise you'd be orphaning Orders rows. Susan Harkins wrote: I tried yours -- the only difference seems to be that you specified the non-nullable table. Using the following statement, I still got an error: DELETE Customers.* FROM Customers LEFT JOIN Orders ON Customers.CustID = Orders.CustID I'm using Express -- prehaps the two versions aren't compatiable on this issue? Susan H. Are you specifying which table to delete from DELETE DISTINCTROW Original_Table.* FROM Original_Table LEFT JOIN ... or DELETE Original_Table.* FROM Original_Table LEFT JOIN ... _______________________________________________ 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.6/339 - Release Date: 5/14/2006 From mwp.reid at qub.ac.uk Tue May 16 07:59:25 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 16 May 2006 13:59:25 +0100 Subject: [dba-SQLServer] Susan: SQL Express References: <000101c678e7$5c7f4160$bcb3d6d1@SUSANONE> Message-ID: Susan Have you any info on XML in Express. Doing some research and figured you migh have done it already. Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 From martyconnelly at shaw.ca Tue May 16 14:59:58 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 16 May 2006 12:59:58 -0700 Subject: [dba-SQLServer] Susan: SQL Express In-Reply-To: References: <000101c678e7$5c7f4160$bcb3d6d1@SUSANONE> Message-ID: <446A2F3E.9070703@shaw.ca> Are you looking for something like this, it is a downloadable addon preview to VB.Net. Language Integrated Query (LINQ) and its data (DLinq) and XML (XLinq) libraries transform relational data and XML documents with SQL 2005. http://www.ftponline.com/vsm/2006_04/magazine/features/rjennings/default.aspx Martin Reid wrote: >Susan > >Have you any info on XML in Express. Doing some research and figured you migh have done it already. > >Martin > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast > >tel: 02890 974477 > > > > >------------------------------------------------------------------------ > >_______________________________________________ >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 Free Edition. >Version: 7.1.392 / Virus Database: 268.5.6/339 - Release Date: 14/05/2006 > > -- Marty Connelly Victoria, B.C. Canada From mwp.reid at qub.ac.uk Tue May 16 15:13:36 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 16 May 2006 21:13:36 +0100 Subject: [dba-SQLServer] Susan: SQL Express References: <000101c678e7$5c7f4160$bcb3d6d1@SUSANONE> <446A2F3E.9070703@shaw.ca> Message-ID: Dind understand much of that but will download and give it a play. Thanks Marty Martin Martin WP Reid Training and Assessment Unit Riddle Hall Belfast tel: 02890 974477 ________________________________ From: dba-sqlserver-bounces at databaseadvisors.com on behalf of MartyConnelly Sent: Tue 16/05/2006 20:59 To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] Susan: SQL Express Are you looking for something like this, it is a downloadable addon preview to VB.Net. Language Integrated Query (LINQ) and its data (DLinq) and XML (XLinq) libraries transform relational data and XML documents with SQL 2005. http://www.ftponline.com/vsm/2006_04/magazine/features/rjennings/default.aspx Martin Reid wrote: >Susan > >Have you any info on XML in Express. Doing some research and figured you migh have done it already. > >Martin > >Martin WP Reid >Training and Assessment Unit >Riddle Hall >Belfast > >tel: 02890 974477 > > > > >------------------------------------------------------------------------ > >_______________________________________________ >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 Free Edition. >Version: 7.1.392 / Virus Database: 268.5.6/339 - Release Date: 14/05/2006 > > -- Marty Connelly Victoria, B.C. Canada _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From rl_stewart at highstream.net Wed May 17 06:30:35 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 17 May 2006 07:30:35 -0400 Subject: [dba-SQLServer] another nudge on that DELETE, OUTER JOIN quirk In-Reply-To: References: Message-ID: <1147865435.446b095b57bc9@webmail.highstream.net> Here is what will work: DELETE FROM dbo.[threestar-rightangle] WHERE (InvntryRcncleID IN (SELECT InvntryRcncleID FROM dbo.tblRaInventoryTransactions)) The statement above delete duplicate recorts out of a temp table before an append of new records. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge Quoting dba-sqlserver-request at databaseadvisors.com: > I'm not sure about what is technically possible in this case, but if you > meant your query explicitly then I'd say you hit a feature, not a problem. > Otherwise you'd be orphaning Orders rows. > > Susan Harkins wrote: I tried yours -- the only > difference seems to be that you specified the > non-nullable table. Using the following statement, I still got an error: > > DELETE Customers.* > FROM Customers LEFT JOIN Orders > ON Customers.CustID = Orders.CustID > > I'm using Express -- prehaps the two versions aren't compatiable on this > issue? > > Susan H. > From harkinsss at bellsouth.net Wed May 17 08:31:17 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 17 May 2006 09:31:17 -0400 Subject: [dba-SQLServer] another nudge on that DELETE, OUTER JOIN quirk In-Reply-To: <1147865435.446b095b57bc9@webmail.highstream.net> Message-ID: <000801c679b6$3b7c04b0$d6b3d6d1@SUSANONE> Thanks Robert -- this is one of the solutions I can up with. Susan H. Here is what will work: DELETE FROM dbo.[threestar-rightangle] WHERE (InvntryRcncleID IN (SELECT InvntryRcncleID FROM dbo.tblRaInventoryTransactions)) The statement above delete duplicate recorts out of a temp table before an append of new records.