From mwp.reid at qub.ac.uk Wed Feb 1 00:57:42 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 1 Feb 2006 06:57:42 -0000 Subject: [dba-SQLServer] For Susan / Martin Message-ID: <011501c626fc$d5a34e72$1b0e758f@ads.qub.ac.uk> Sql remains the same tbe only things we could add is .net. I am working with Access 12 and SharePoint 3 at the moment with a view to a book on that. Martin -----Original Message----- From: "Susan Harkins" Sent: 2/1/06 3:21:02 AM To: "dba-sqlserver at databaseadvisors.com" Subject: Re: [dba-SQLServer] For Susan / Martin No, I think most of the information -- if going from Access to SQL Server 2000 is probably still the same -- Martin? There may be subtle changes between Jet SQL and T-SQL that I don't know about, but I wouldn't expect much. Martin will know better than me -- I haven't done much with 2005 -- been busy with SQL Server Express, but they're still just as similar as they always have been. Susan H. Just wondering whether you have a new version of your access to sql book for Sql Server 2005? _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From Mark.Whittinghill at protective.com Wed Feb 1 10:06:24 2006 From: Mark.Whittinghill at protective.com (Mark.Whittinghill at protective.com) Date: Wed, 1 Feb 2006 10:06:24 -0600 Subject: [dba-SQLServer] DTS Connections and performance In-Reply-To: <00b501c5e4b6$3a1f5580$1a00a8c0@dabsight> Message-ID: In a DTS I have multiple simultaneous data pumps from the same connection. Is there any performance difference in having them all reference the same connection, or in creating a new connection for each pump, with the same connection info. As I set all connection info from an ini in a Dynamic Properties Task, managing a few connections is a lot easier than having 50. Thanks, Mark Whittinghill Sr. Programmer Analyst Protective - Asset Protection Division 636.536.5720 Mark.Whittinghill at protective.com ----------------------------------------- Confidentiality Notice: This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it from your computer. Thank you. From martyconnelly at shaw.ca Wed Feb 1 13:59:34 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 01 Feb 2006 11:59:34 -0800 Subject: [dba-SQLServer] SQL 2005 Server Management Studio References: <001201c6244b$d97294b0$017ba8c0@xpserver> Message-ID: <43E11326.8090907@shaw.ca> Jay Schmelzer shows you how to install and administer the database with the Express Manager, design and implement DataSet-bound forms, and generate reports with SQL Server Reporting Services. Database Dev With SQL Server Express, VB 2005 60 minute video http://www.ftponline.com/channels/net/reports/vslivesf/2006/schmelzer/ Jim Lawrence wrote: >Hi John: > >I am not sure what your problem could be with 2005 Express. Sorry I can not >help you with that. > >For binding a SP recordset to a form check out this link: >http://support.microsoft.com/kb/281998 > >HTH >Jim > > > >-----Original Message----- >From: dba-sqlserver-bounces at databaseadvisors.com >[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of John Colby >Sent: January 28, 2006 7:16 AM >To: dba-sqlserver at databaseadvisors.com >Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio > >Build a SP in 2005 (express for me). It is read-only, regardless of whether >I try and edit the data it inside of SMSE or in a pass-through out in >Access. > >I am trying to bind a form to a SP recordset. > > >John W. Colby >www.ColbyConsulting.com > > >-----Original Message----- >From: dba-sqlserver-bounces at databaseadvisors.com >[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Robert L. >Stewart >Sent: Saturday, January 28, 2006 9:37 AM >To: dba-sqlserver at databaseadvisors.com >Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio > >I am already going that way and have been for over a year. The problem is >that I essentially have wasted the last year because the difference between >VS 2003 and 2005 is so radical. Now I am relearning. > >John, > >What is the SPs read-only problem? Can you explain what you are trying to >do again? > >Robert > >At 12:00 PM 1/27/2006, you wrote: > > >>Date: Fri, 27 Jan 2006 12:19:34 -0500 >>From: "Susan Harkins" >>Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio >>To: >>Message-ID: <002a01c62365$e41183e0$aeb3d6d1 at SUSANONE> >>Content-Type: text/plain; charset="us-ascii" >> >> >>To be honest, once I get over the learning curve I am leaning towards >>abandoning the MDB as a BE. >> >>========John, if I stay in this market, I am seriously considering the >>same thing. >> >>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 > >_______________________________________________ >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 martyconnelly at shaw.ca Thu Feb 2 13:21:48 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 02 Feb 2006 11:21:48 -0800 Subject: [dba-SQLServer] SQL 2005 Server Management Studio References: <000801c6234b$0315af70$aeb3d6d1@SUSANONE> Message-ID: <43E25BCC.9070702@shaw.ca> If you are having trouble removing bits and pieces of an install made via the windows installer, Locate and run the MS Windows Installer CleanUp Utility msicuu2.exe. Some users have said they removed Symantec after faulty install and Visio without a necessary CD. Here is a brief article on it and download URL http://techrepublic.com.com/5100-10877_11-6030075.html?tag=nl.e064 Susan Harkins wrote: >I feel the Express is just 'cripple-ware' and would recommend MySQL for >small low cost jobs. > >===I had to reformat to get Management Studio to work, but now that I have >all the pieces working, including VB Express, I have to tell you -- it is >working great and I love it. The entire package brings a level of >development to the little guy that I've never seen before. They can do a >whole lot and never write a line of code -- VB Express does it all for them. > > >I have to say I disagree unless MySQL has changed a lot. I haven't looked at >it in a long time, so that's possible, but it was terribly difficult to use, >just a few years ago. > >Management Studio makes Express easy to manage. VB Express makes it easy to >develop. > >It's a winner even though I'm still mad at MS for putting us all through so >much installation crap to get here. > >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 accessd at shaw.ca Thu Feb 2 15:00:46 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 02 Feb 2006 13:00:46 -0800 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: <43E25BCC.9070702@shaw.ca> Message-ID: <000f01c6283b$bd043970$017ba8c0@xpserver> Thanks for that information Marty. Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: February 2, 2006 11:22 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio If you are having trouble removing bits and pieces of an install made via the windows installer, Locate and run the MS Windows Installer CleanUp Utility msicuu2.exe. Some users have said they removed Symantec after faulty install and Visio without a necessary CD. Here is a brief article on it and download URL http://techrepublic.com.com/5100-10877_11-6030075.html?tag=nl.e064 Susan Harkins wrote: >I feel the Express is just 'cripple-ware' and would recommend MySQL for >small low cost jobs. > >===I had to reformat to get Management Studio to work, but now that I have >all the pieces working, including VB Express, I have to tell you -- it is >working great and I love it. The entire package brings a level of >development to the little guy that I've never seen before. They can do a >whole lot and never write a line of code -- VB Express does it all for them. > > >I have to say I disagree unless MySQL has changed a lot. I haven't looked at >it in a long time, so that's possible, but it was terribly difficult to use, >just a few years ago. > >Management Studio makes Express easy to manage. VB Express makes it easy to >develop. > >It's a winner even though I'm still mad at MS for putting us all through so >much installation crap to get here. > >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 From harkinsss at bellsouth.net Thu Feb 2 16:12:09 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Thu, 2 Feb 2006 17:12:09 -0500 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: <43E25BCC.9070702@shaw.ca> Message-ID: <000501c62845$b6d20730$a7b3d6d1@SUSANONE> Too late for me Marty -- reformatted and started over. I know Karen was having a similar problem -- is Karen on this list too? Susan H. If you are having trouble removing bits and pieces of an install made via the windows installer, Locate and run the MS Windows Installer CleanUp Utility msicuu2.exe. Some users have said they removed Symantec after faulty install and Visio without a necessary CD. Here is a brief article on it and download URL http://techrepublic.com.com/5100-10877_11-6030075.html?tag=nl.e064 Susan Harkins wrote: >I feel the Express is just 'cripple-ware' and would recommend MySQL for >small low cost jobs. > >===I had to reformat to get Management Studio to work, but now that I >have all the pieces working, including VB Express, I have to tell you >-- it is working great and I love it. The entire package brings a level >of development to the little guy that I've never seen before. They can >do a whole lot and never write a line of code -- VB Express does it all for them. > > >I have to say I disagree unless MySQL has changed a lot. I haven't >looked at it in a long time, so that's possible, but it was terribly >difficult to use, just a few years ago. > >Management Studio makes Express easy to manage. VB Express makes it >easy to develop. > >It's a winner even though I'm still mad at MS for putting us all >through so much installation crap to get here. > >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.375 / Virus Database: 267.14.25/247 - Release Date: 1/31/2006 From accessd at shaw.ca Thu Feb 2 19:05:42 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 02 Feb 2006 17:05:42 -0800 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: <000501c62845$b6d20730$a7b3d6d1@SUSANONE> Message-ID: <001c01c6285d$f4f19360$017ba8c0@xpserver> A little OT Is it just my imagination or does a Windows install slowly depreciate in performance as soon as it starts being used, in a Work-Station capacity? (Servers seem to be, for the most part, immune to this slow death.) Just a question. Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: February 2, 2006 2:12 PM To: dba-sqlserver at databaseadvisors.com Cc: 'Karen Rosenstiel' Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio Too late for me Marty -- reformatted and started over. I know Karen was having a similar problem -- is Karen on this list too? Susan H. If you are having trouble removing bits and pieces of an install made via the windows installer, Locate and run the MS Windows Installer CleanUp Utility msicuu2.exe. Some users have said they removed Symantec after faulty install and Visio without a necessary CD. Here is a brief article on it and download URL http://techrepublic.com.com/5100-10877_11-6030075.html?tag=nl.e064 Susan Harkins wrote: >I feel the Express is just 'cripple-ware' and would recommend MySQL for >small low cost jobs. > >===I had to reformat to get Management Studio to work, but now that I >have all the pieces working, including VB Express, I have to tell you >-- it is working great and I love it. The entire package brings a level >of development to the little guy that I've never seen before. They can >do a whole lot and never write a line of code -- VB Express does it all for them. > > >I have to say I disagree unless MySQL has changed a lot. I haven't >looked at it in a long time, so that's possible, but it was terribly >difficult to use, just a few years ago. > >Management Studio makes Express easy to manage. VB Express makes it >easy to develop. > >It's a winner even though I'm still mad at MS for putting us all >through so much installation crap to get here. > >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.375 / Virus Database: 267.14.25/247 - Release Date: 1/31/2006 _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Sat Feb 4 18:20:04 2006 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sun, 05 Feb 2006 13:20:04 +1300 Subject: [dba-SQLServer] TaskPad view in EM Message-ID: <70F3D727890C784291D8433E9C418F2916BDB8@server.bondsoftware.co.nz> Something really simple - SQL S 2000. In EM I have done a RMC on a database, then View>TaskPad (never tried it before). Now I want to put it back to the view it was. Help! Stephen Bond From andrew.haslett at ilc.gov.au Sun Feb 5 23:42:15 2006 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Mon, 6 Feb 2006 16:12:15 +1030 Subject: [dba-SQLServer] TaskPad view in EM Message-ID: <0A870603A2A816459078203FC07F4CD2BE37A2@adl01s055.ilcorp.gov.au> View -> Large Icons Cheers, A -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: Sunday, 5 February 2006 10:50 AM To: dba-sqlserver at databaseadvisors.com Subject: [dba-SQLServer] TaskPad view in EM Something really simple - SQL S 2000. In EM I have done a RMC on a database, then View>TaskPad (never tried it before). Now I want to put it back to the view it was. Help! Stephen Bond IMPORTANT - PLEASE READ *** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From stephen at bondsoftware.co.nz Mon Feb 6 00:26:20 2006 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Mon, 06 Feb 2006 19:26:20 +1300 Subject: [dba-SQLServer] TaskPad view in EM Message-ID: <70F3D727890C784291D8433E9C418F2916BDBB@server.bondsoftware.co.nz> Ta. I thought it must be something simple. Stephen > -----Original Message----- > From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] > Sent: Monday, 6 February 2006 6:42 p.m. > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] TaskPad view in EM > > > View -> Large Icons > > Cheers, > A > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf > Of Stephen > Bond > Sent: Sunday, 5 February 2006 10:50 AM > To: dba-sqlserver at databaseadvisors.com > Subject: [dba-SQLServer] TaskPad view in EM > > Something really simple - SQL S 2000. In EM I have done a RMC on a > database, then View>TaskPad (never tried it before). Now I > want to put > it back to the view it was. Help! > > Stephen Bond > > > IMPORTANT - PLEASE READ *** This email and any files > transmitted with it are confidential and may contain > information protected by law from disclosure. If you have > received this message in error, please notify the sender > immediately and delete this email from your system. No > warranty is given that this email or files, if attached to > this email, are free from computer viruses or other defects. > They are provided on the basis the user assumes all > responsibility for loss, damage or consequence resulting > directly or indirectly from their use, whether caused by the > negligence of the sender or not. > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From erbachs at gmail.com Mon Feb 6 10:54:50 2006 From: erbachs at gmail.com (Steve Erbach) Date: Mon, 6 Feb 2006 10:54:50 -0600 Subject: [dba-SQLServer] Arthur's article in Redgate Journal Message-ID: <39cb22f30602060854s62fe4e72v8a36d442b3cf135@mail.gmail.com> Hey, Arthur! I saw your Redgate "Canned SQL" article referenced in SQL Server Central this morning. Keep up the good work! -- Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security Blog: http://TheTownCrank.blogspot.com From cfoust at infostatsystems.com Mon Feb 6 13:10:01 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 6 Feb 2006 11:10:01 -0800 Subject: [dba-SQLServer] SQL 2005 Server Management Studio Message-ID: But good database design is harder to learn than VB.Net, John! Charlotte -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, January 27, 2006 9:15 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio Uhhh yep. Perhaps to a smaller extent though since VB.Net itself is a bitch to learn, whereas Access is easy to learn. John W. Colby www.ColbyConsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, January 27, 2006 11:26 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio Lovely! So now that development is so easy, we can expect to see horrible database design in VBExpress and not just in Access. :o{ Charlotte Foust -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, January 27, 2006 5:56 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio I feel the Express is just 'cripple-ware' and would recommend MySQL for small low cost jobs. ===I had to reformat to get Management Studio to work, but now that I have all the pieces working, including VB Express, I have to tell you -- it is working great and I love it. The entire package brings a level of development to the little guy that I've never seen before. They can do a whole lot and never write a line of code -- VB Express does it all for them. I have to say I disagree unless MySQL has changed a lot. I haven't looked at it in a long time, so that's possible, but it was terribly difficult to use, just a few years ago. Management Studio makes Express easy to manage. VB Express makes it easy to develop. It's a winner even though I'm still mad at MS for putting us all through so much installation crap to get here. 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 _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Feb 6 13:14:28 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 6 Feb 2006 11:14:28 -0800 Subject: [dba-SQLServer] SQL 2005 Server Management Studio Message-ID: Well, color me skeptical, but any time a vendor reassures me that some capability will continue in the next version, I start having serious concerns about the longer term viability of the product. Otherwise, they would have just said that development capability would continue. They've also stated that Jet won't be updated; and they're trying to move everyone to SQL Express. There's an old saying about the handwriting on the wall .... Charlotte Foust -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, January 27, 2006 11:45 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio Charlotte - MS has said that development capability will continue with Access 12. Why to you say we'll have to abandon the .mdb anyhow? -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, January 27, 2006 10:27 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio By Office 12, you're pretty much going to have to abandon the mdb anyhow, John. Might as well start early! Charlotte Foust _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Feb 6 13:16:47 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 6 Feb 2006 11:16:47 -0800 Subject: [dba-SQLServer] dba-SQLServer Digest, Vol 35, Issue 29 Message-ID: Ooooohh, are you trying to start an argument, Robert?? Charlotte Foust -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Monday, January 30, 2006 12:26 PM To: dba-sqlserver at databaseadvisors.com Cc: jwcolby at colbyconsulting.com Subject: Re: [dba-SQLServer] dba-SQLServer Digest, Vol 35, Issue 29 John, Now I see. The trick is that you cannot bind the form to the SP. You are going to have to do it as an unbound form. Then use additional SPs to do the updates and deletes. Robert At 10:09 AM 1/28/2006, you wrote: >Date: Sat, 28 Jan 2006 10:16:23 -0500 >From: "John Colby" >Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio >To: >Message-ID: <002601c6241d$cd9ce1a0$657aa8c0 at ColbyM6805> >Content-Type: text/plain; charset="us-ascii" > >Build a SP in 2005 (express for me). It is read-only, regardless of >whether I try and edit the data it inside of SMSE or in a pass-through >out in Access. > >I am trying to bind a form to a SP recordset. > > >John W. Colby _______________________________________________ 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 Feb 6 14:20:34 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 6 Feb 2006 15:20:34 -0500 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: Message-ID: <003601c62b5a$c9d22000$dbb3d6d1@SUSANONE> Charlotte, the good news is that SQL Server Express and VB Express are great together. :) I honestly don't think I'd use Access for a small project again -- unless forced to. Susan H. Well, color me skeptical, but any time a vendor reassures me that some capability will continue in the next version, I start having serious concerns about the longer term viability of the product. Otherwise, they would have just said that development capability would continue. They've also stated that Jet won't be updated; and they're trying to move everyone to SQL Express. There's an old saying about the handwriting on the wall .... From rl_stewart at highstream.net Tue Feb 7 13:16:12 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 07 Feb 2006 13:16:12 -0600 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: References: Message-ID: <6.2.3.4.2.20060207131527.0318ac50@pop3.highstream.net> Charlotte, When did that stop anyone from "trying" to develop a Database in Access? :-) Robert At 12:00 PM 2/7/2006, you wrote: >Date: Mon, 6 Feb 2006 11:10:01 -0800 >From: "Charlotte Foust" >Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio >To: >Message-ID: > >Content-Type: text/plain; charset="us-ascii" > >But good database design is harder to learn than VB.Net, John! > >Charlotte From rl_stewart at highstream.net Tue Feb 7 13:17:47 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 07 Feb 2006 13:17:47 -0600 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: References: Message-ID: <6.2.3.4.2.20060207131703.0314d740@pop3.highstream.net> Only if you disagree. :-) At 12:00 PM 2/7/2006, you wrote: >Date: Mon, 6 Feb 2006 11:16:47 -0800 >From: "Charlotte Foust" >Subject: Re: [dba-SQLServer] dba-SQLServer Digest, Vol 35, Issue 29 >To: >Message-ID: > >Content-Type: text/plain; charset="us-ascii" > >Ooooohh, are you trying to start an argument, Robert?? > >Charlotte Foust > > >-----Original Message----- >From: dba-sqlserver-bounces at databaseadvisors.com >[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Robert >L. Stewart >Sent: Monday, January 30, 2006 12:26 PM >To: dba-sqlserver at databaseadvisors.com >Cc: jwcolby at colbyconsulting.com >Subject: Re: [dba-SQLServer] dba-SQLServer Digest, Vol 35, Issue 29 > > >John, > >Now I see. The trick is that you cannot bind the form to the >SP. You are going to have to do it as an unbound form. Then use >additional SPs to do the updates and deletes. > >Robert From rl_stewart at highstream.net Tue Feb 7 13:19:08 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 07 Feb 2006 13:19:08 -0600 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: References: Message-ID: <6.2.3.4.2.20060207131807.03149878@pop3.highstream.net> And, SQL Express linked to Access works great also. I stopped using Access as a database 4 years ago. It does make a great GUI. At 12:00 PM 2/7/2006, you wrote: >Date: Mon, 6 Feb 2006 15:20:34 -0500 >From: "Susan Harkins" >Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio >To: >Message-ID: <003601c62b5a$c9d22000$dbb3d6d1 at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > >Charlotte, the good news is that SQL Server Express and VB Express are great >together. :) I honestly don't think I'd use Access for a small project again >-- unless forced to. > >Susan H. > >Well, color me skeptical, but any time a vendor reassures me that some >capability will continue in the next version, I start having serious >concerns about the longer term viability of the product. Otherwise, they >would have just said that development capability would continue. >They've also stated that Jet won't be updated; and they're trying to move >everyone to SQL Express. There's an old saying about the handwriting on the >wall .... > > > From harkinsss at bellsouth.net Tue Feb 7 14:30:41 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Tue, 7 Feb 2006 15:30:41 -0500 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: <6.2.3.4.2.20060207131807.03149878@pop3.highstream.net> Message-ID: <001801c62c25$5dbedf40$a7b3d6d1@SUSANONE> I haven't tried this -- I didn't even know you could. Have I been asleep? Susan H. And, SQL Express linked to Access works great also. I stopped using Access as a database 4 years ago. It does make a great GUI. From cfoust at infostatsystems.com Wed Feb 8 10:09:13 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Feb 2006 08:09:13 -0800 Subject: [dba-SQLServer] SQL 2005 Server Management Studio Message-ID: Oh, I agree, but there are "bounders" in this list who will resist to the death!! ;o> Charlotte Foust -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, February 07, 2006 11:18 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio Only if you disagree. :-) At 12:00 PM 2/7/2006, you wrote: >Date: Mon, 6 Feb 2006 11:16:47 -0800 >From: "Charlotte Foust" >Subject: Re: [dba-SQLServer] dba-SQLServer Digest, Vol 35, Issue 29 >To: >Message-ID: > >Content-Type: text/plain; charset="us-ascii" > >Ooooohh, are you trying to start an argument, Robert?? > >Charlotte Foust > > >-----Original Message----- >From: dba-sqlserver-bounces at databaseadvisors.com >[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Robert >L. Stewart >Sent: Monday, January 30, 2006 12:26 PM >To: dba-sqlserver at databaseadvisors.com >Cc: jwcolby at colbyconsulting.com >Subject: Re: [dba-SQLServer] dba-SQLServer Digest, Vol 35, Issue 29 > > >John, > >Now I see. The trick is that you cannot bind the form to the SP. You >are going to have to do it as an unbound form. Then use additional SPs >to do the updates and deletes. > >Robert _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Feb 8 10:10:08 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Feb 2006 08:10:08 -0800 Subject: [dba-SQLServer] SQL 2005 Server Management Studio Message-ID: Nothing stops them from trying, believe me! It just makes them trying. ;-} Charlotte Foust -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Tuesday, February 07, 2006 11:16 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio Charlotte, When did that stop anyone from "trying" to develop a Database in Access? :-) Robert At 12:00 PM 2/7/2006, you wrote: >Date: Mon, 6 Feb 2006 11:10:01 -0800 >From: "Charlotte Foust" >Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio >To: >Message-ID: > >Content-Type: text/plain; charset="us-ascii" > >But good database design is harder to learn than VB.Net, John! > >Charlotte _______________________________________________ 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 Feb 8 12:13:53 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 08 Feb 2006 12:13:53 -0600 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: References: Message-ID: <6.2.3.4.2.20060208121300.032fd1c0@pop3.highstream.net> I am working on one now prior to upgrading the back-end to a full version of SQL Server 2005. It is working very well. At 12:00 PM 2/8/2006, you wrote: >Date: Tue, 7 Feb 2006 15:30:41 -0500 >From: "Susan Harkins" >Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio >To: >Message-ID: <001801c62c25$5dbedf40$a7b3d6d1 at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > >I haven't tried this -- I didn't even know you could. Have I been asleep? > >Susan H. > >And, SQL Express linked to Access works great also. >I stopped using Access as a database 4 years ago. >It does make a great GUI. From rl_stewart at highstream.net Wed Feb 8 12:15:15 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 08 Feb 2006 12:15:15 -0600 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: References: Message-ID: <6.2.3.4.2.20060208121430.03301b38@pop3.highstream.net> But think of all the work real Access programmers have had over the years "fixing" what a "want-to-be" did. At 12:00 PM 2/8/2006, you wrote: >Date: Wed, 8 Feb 2006 08:10:08 -0800 >From: "Charlotte Foust" >Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio >To: >Message-ID: > >Content-Type: text/plain; charset="us-ascii" > >Nothing stops them from trying, believe me! It just makes them trying. >;-} > >Charlotte Foust From fhtapia at gmail.com Wed Feb 8 12:27:42 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 8 Feb 2006 10:27:42 -0800 Subject: [dba-SQLServer] Quest Sql Spotlight Message-ID: We had a demo on the Sql Spotlight product last night and it left me with some questions. First, the product runs on my sql server, but if my server where to bomb out... it couldn't alert me that it had died. "IF" the system is running tho and only sql server died it seems that the Spotlight on Windows would alert me (or so I hope). Altho it had a very startrek look to it, I was not as impressed as it's really just a container for some "EM" screens, and the task manager. Log history is nicer tho, but just another shell for what's available. plus they wouldn't tell me the pricing until after I test drive the product... I have a development server where we are actively putting new products on, while we test applications so it might be useful there but the calibration mode will be of little use there since demand changes every few weeks. Additionally there is no interface to overview all your servers, you have to do it one at a time. That makes things tough. I've asked before if anyone else uses these types of tools, but am hoping of the spotlight users out there, how many of you are "truly" satisfied w/ this product? -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From cfoust at infostatsystems.com Wed Feb 8 13:39:45 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Feb 2006 11:39:45 -0800 Subject: [dba-SQLServer] SQL 2005 Server Management Studio Message-ID: That's exactly what I AM thinking of! I shudder to remember how much of that I've done in the past! Charlotte Foust -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Wednesday, February 08, 2006 10:15 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio But think of all the work real Access programmers have had over the years "fixing" what a "want-to-be" did. At 12:00 PM 2/8/2006, you wrote: >Date: Wed, 8 Feb 2006 08:10:08 -0800 >From: "Charlotte Foust" >Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio >To: >Message-ID: > >Content-Type: text/plain; charset="us-ascii" > >Nothing stops them from trying, believe me! It just makes them trying. >;-} > >Charlotte Foust _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From prosoft6 at hotmail.com Wed Feb 8 14:06:44 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 08 Feb 2006 15:06:44 -0500 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: <6.2.3.4.2.20060208121300.032fd1c0@pop3.highstream.net> Message-ID: I downloaded and installed sql express, and am lost as to how to create a database. Is there a link that will help me? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From harkinsss at bellsouth.net Wed Feb 8 14:43:30 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 8 Feb 2006 15:43:30 -0500 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: Message-ID: <002f01c62cf0$53009c80$dfb3d6d1@SUSANONE> Julie, did you also download Management Studio? Susan H. I downloaded and installed sql express, and am lost as to how to create a database. Is there a link that will help me? From prosoft6 at hotmail.com Wed Feb 8 15:10:55 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 08 Feb 2006 16:10:55 -0500 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: <002f01c62cf0$53009c80$dfb3d6d1@SUSANONE> Message-ID: No I haven't. Will that allow me to interact with the sql engine? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From harkinsss at bellsouth.net Wed Feb 8 15:37:27 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 8 Feb 2006 16:37:27 -0500 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: Message-ID: <003001c62cf7$dc5e2720$dfb3d6d1@SUSANONE> Microsoft SQL Server 2005 Management Studio Express is the tool you'll use to interact with SQL Server Express. http://www.microsoft.com/downloads/details.aspx?familyid=82AFBD59-57A4-455E- A2D6-1D4C98D40F6E&displaylang=en I have to warn you -- installation can be a real pia. If this is your first Express download, you might get lucky. :) Susan H. No I haven't. Will that allow me to interact with the sql engine? From martyconnelly at shaw.ca Wed Feb 8 21:09:09 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 08 Feb 2006 19:09:09 -0800 Subject: [dba-SQLServer] SQL 2005 Server Management Studio References: <001801c62c25$5dbedf40$a7b3d6d1@SUSANONE> Message-ID: <43EAB255.8020406@shaw.ca> Just when you thought it safe to snooze , part of VB 9.0 has been released in Beta or Community Technology Preview. You are probably using VB 8.0 Net with SQL Express Available here http://msdn.microsoft.com/vbasic/future/ Blog http://blogs.msdn.com/somasegar/archive/2006/01/23/516545.aspx VB 9.0 brings in XLINQ (Language Integrated Query) a type of integrated SQL query for XML and SQL Server supposed to replace T-SQL. Well maybe;) VB9 covers three main areas: Simplifying querying data by integrating query operations into VB and unifying the querying of object, relational and XML data; simplifying working with dynamic data, by accessing dynamic members easily and imposing structure on dynamic objects; and simplifying working with XML, by producing XML documents quickly. looks like this Dim R As { Total As Integer, Density As Double } = _ Select New { .Total = Count(Country), _ .Density = Avg(Country.Population/Country.Area) } _ From Country In Countries _ Where Country.Population < 1000000 Susan Harkins wrote: >I haven't tried this -- I didn't even know you could. Have I been asleep? > >Susan H. > >And, SQL Express linked to Access works great also. >I stopped using Access as a database 4 years ago. >It does make a great GUI. > > > > -- Marty Connelly Victoria, B.C. Canada From harkinsss at bellsouth.net Thu Feb 9 01:27:13 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Thu, 9 Feb 2006 02:27:13 -0500 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: <43EAB255.8020406@shaw.ca> Message-ID: <000a01c62d4a$3fefd570$98b3d6d1@SUSANONE> VB 9.0 brings in XLINQ (Language Integrated Query) a type of integrated SQL query for XML and SQL Server supposed to replace T-SQL. Well maybe;) ============That's it -- someone hand me a pitchfork, I'm headed for Washington. :( Susan H. From prosoft6 at hotmail.com Thu Feb 9 07:31:56 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 09 Feb 2006 08:31:56 -0500 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: <003001c62cf7$dc5e2720$dfb3d6d1@SUSANONE> Message-ID: Thank you. I really was confused about how to go about it. The 2000 version seemed so much simpler. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From cfoust at infostatsystems.com Thu Feb 9 11:43:14 2006 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Feb 2006 09:43:14 -0800 Subject: [dba-SQLServer] SQL 2005 Server Management Studio Message-ID: LOL I'll go along and hold your coat!! Charlotte -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, February 08, 2006 11:27 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio VB 9.0 brings in XLINQ (Language Integrated Query) a type of integrated SQL query for XML and SQL Server supposed to replace T-SQL. Well maybe;) ============That's it -- someone hand me a pitchfork, I'm headed for Washington. :( Susan H. _______________________________________________ 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 Thu Feb 9 12:51:39 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 09 Feb 2006 12:51:39 -0600 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: References: Message-ID: <6.2.3.4.2.20060209125022.033c6388@pop3.highstream.net> Just wait until you try the new DTS (SSIS). You have to use Visual Studio to design them and there are effectively 4 layers. They are making it work more like Informatica. At 12:00 PM 2/9/2006, you wrote: >Date: Thu, 09 Feb 2006 08:31:56 -0500 >From: "Julie Reardon-Taylor" >Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio >To: dba-sqlserver at databaseadvisors.com >Message-ID: >Content-Type: text/plain; format=flowed > >Thank you. I really was confused about how to go about it. The 2000 >version seemed so much simpler. > > > >Julie Reardon-Taylor >PRO-SOFT OF NY, INC. >44 Public Square Suite #5 >Watertown, NY 13601 >Phone/Fax: (315) 785-0319 >www.pro-soft.net >NYS IT Services Contract CMT026A >NYS Certified Woman-Owned Business From artful at rogers.com Thu Feb 9 19:49:09 2006 From: artful at rogers.com (Arthur Fuller) Date: Thu, 9 Feb 2006 20:49:09 -0500 Subject: [dba-SQLServer] My Relative Absence Here In-Reply-To: <6.2.3.4.2.20060209125022.033c6388@pop3.highstream.net> Message-ID: <011601c62de4$2fdaf530$8e01a8c0@rock> I just peeked and there are numerous unread messages from this group in my inbox. I do try to pay attention to this list, but I just got a new gig and subsequently got tossed into a situation where there are serious deadlines impending, serious enough that I have been given permission to work Saturday and Sunday too. The database is what is known as large rather than rich: a rich database has many hundreds of tables containing relatively few rows; a large database has many millions of rows in relatively few tables. This one is medium-rich (200+ tables) and fairly large (some tables contain 50 million rows). To further complicate matters, "the database" is actually comprised of about a dozen databases, each residing on its own server, so all joins typically contain a reference to the server as well as the table(s) of interest. I am charged with double-checking the Erwin PDM model against the Data Modeller's LDM and comments on the last printout. 779 comments and one week to do it. When I got the gig, I received a file containing 279 issues, and I expressed confidence that I could do it in a week, though overtime might be required. Several days later, I was informed that I had been sent an old version of the Issues file; the current version contains 779 issues. I replied, "I can tell you with 100% confidence that I will not meet the deadline. 779 issues / 40 hours = 19.475 issues resolved per hour; each issue resolved in 3.15 minutes, on average. Many issues (i.e. are the indexes on this table enough, or redundant, or incorrectly designed?) will require a meeting, which will consume a minimum of 10 minutes, if we are lucky and there are no politics. Some will require an hour or two to settle. So my confidence in my inability to meet the one-week deadline is 100%. You have two chances: a fat one and a slim one." They said, "Monday?" I said, "Maybe. No guarantees, but I will work overtime and do my best to make it happen. Think Tuesday or maybe Wednesday and maybe even next Friday. There are consequences to failing to meet the deadline: not for me personally, but for the whole team. So I am trying my best. I have to read the critique, then modify the Erwin physical model to suit, then inform the DD (Database Design) guys that column X has become NOT NULL, etc., or that index Y has been removed due to redundancy, or that it's time for another meeting with the DM (Data Modellers) and this time let's not come to blows. All this, and I have to commute and dress business-casual, too. If it wasn't for the filthy lucre, I'd rather be doing something else. That isn't true! I love this kind of thing! Thrown off the pier and expected to swim immediately. It's a thrill. I am on a team of very smart people, each of whom has an expertise in a SQL area that pales my own knowledge of that area. The data architect guy is brilliant and has written a book about SQL that proves it (Google Dejan Sunderic for a list of his books). The DTS guy is brilliant. The sprocs guy is brilliant. The manager guy is brilliant. The Data Modeller guy is brilliant, and to make it more interesting, he and the Data Architect have frequent arguments. I'm neck deep in intelligence. As poker players say, "Look around the table and if you don't see the fool, you're it." I look around the table and conclude that I am the dumb guy. This week alone I learned about 10 really cool things, some about SQL Server itself, some about Erwin, some about pure database design. I just hope that I am able to demonstrate enough intelligence to keep up with these boys. They KNOW their stuff. And I hope to come close enough to the arbitrarily imposed deadline to retain the gig and not be fired for incompetence. The opposite of the poker player's perspective is, "What a pleasure it is to be surrounded by brilliant players." --------------------- So that, in short, is why I haven't been paying my usual attention to this list. I have a TON of work to do in a very short time, and it requires a lot more concentration than I have been accustomed to shelling out of late:) Most important is to complete the task at hand. By that time, I may have 100 emails to visit on this thread alone. All I wanted to say, I guess, is that I still consider myself a member of this list, and I will catch up next week, maybe even as soon as Monday. Arthur From KP at sdsonline.net Thu Feb 9 20:17:28 2006 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 10 Feb 2006 13:17:28 +1100 Subject: [dba-SQLServer] SQL Server 2005 book Message-ID: <000e01c62de8$2509ce20$6501a8c0@user> Is Mike Gunderloy still on this list? I am getting a bit frustrated finding any decent resources to help me learn SQL Server 2005. I know Mike has a new book coming out "Mastering Microsoft SQL Server 2005" but I can't get it here (Australia) until July. I would love to find an early copy - it's just too hard to use the SQL 2000 books when so much terminology has changed and it's all new. Meanwhile I am using the new Books Online feature but I am one of those people who like to have a book. Or does anyone have any other books they would recommend? Kath From darrend at nimble.com.au Thu Feb 9 20:35:05 2006 From: darrend at nimble.com.au (Darren DICK) Date: Fri, 10 Feb 2006 13:35:05 +1100 Subject: [dba-SQLServer] My Relative Absence Here In-Reply-To: <011601c62de4$2fdaf530$8e01a8c0@rock> Message-ID: <20060210023507.LIEL16720.omta01sl.mx.bigpond.com@DENZILLAP> Hi Arthur Exciting and Scary at the same time Do well Arthur - Do well Darren ------------------------------ -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, 10 February 2006 12:49 PM To: dba-sqlserver at databaseadvisors.com Subject: [dba-SQLServer] My Relative Absence Here I just peeked and there are numerous unread messages from this group in my inbox. I do try to pay attention to this list, but I just got a new gig and subsequently got tossed into a situation where there are serious deadlines impending, serious enough that I have been given permission to work Saturday and Sunday too. The database is what is known as large rather than rich: a rich database has many hundreds of tables containing relatively few rows; a large database has many millions of rows in relatively few tables. This one is medium-rich (200+ tables) and fairly large (some tables contain 50 million rows). To further complicate matters, "the database" is actually comprised of about a dozen databases, each residing on its own server, so all joins typically contain a reference to the server as well as the table(s) of interest. I am charged with double-checking the Erwin PDM model against the Data Modeller's LDM and comments on the last printout. 779 comments and one week to do it. When I got the gig, I received a file containing 279 issues, and I expressed confidence that I could do it in a week, though overtime might be required. Several days later, I was informed that I had been sent an old version of the Issues file; the current version contains 779 issues. I replied, "I can tell you with 100% confidence that I will not meet the deadline. 779 issues / 40 hours = 19.475 issues resolved per hour; each issue resolved in 3.15 minutes, on average. Many issues (i.e. are the indexes on this table enough, or redundant, or incorrectly designed?) will require a meeting, which will consume a minimum of 10 minutes, if we are lucky and there are no politics. Some will require an hour or two to settle. So my confidence in my inability to meet the one-week deadline is 100%. You have two chances: a fat one and a slim one." They said, "Monday?" I said, "Maybe. No guarantees, but I will work overtime and do my best to make it happen. Think Tuesday or maybe Wednesday and maybe even next Friday. There are consequences to failing to meet the deadline: not for me personally, but for the whole team. So I am trying my best. I have to read the critique, then modify the Erwin physical model to suit, then inform the DD (Database Design) guys that column X has become NOT NULL, etc., or that index Y has been removed due to redundancy, or that it's time for another meeting with the DM (Data Modellers) and this time let's not come to blows. All this, and I have to commute and dress business-casual, too. If it wasn't for the filthy lucre, I'd rather be doing something else. That isn't true! I love this kind of thing! Thrown off the pier and expected to swim immediately. It's a thrill. I am on a team of very smart people, each of whom has an expertise in a SQL area that pales my own knowledge of that area. The data architect guy is brilliant and has written a book about SQL that proves it (Google Dejan Sunderic for a list of his books). The DTS guy is brilliant. The sprocs guy is brilliant. The manager guy is brilliant. The Data Modeller guy is brilliant, and to make it more interesting, he and the Data Architect have frequent arguments. I'm neck deep in intelligence. As poker players say, "Look around the table and if you don't see the fool, you're it." I look around the table and conclude that I am the dumb guy. This week alone I learned about 10 really cool things, some about SQL Server itself, some about Erwin, some about pure database design. I just hope that I am able to demonstrate enough intelligence to keep up with these boys. They KNOW their stuff. And I hope to come close enough to the arbitrarily imposed deadline to retain the gig and not be fired for incompetence. The opposite of the poker player's perspective is, "What a pleasure it is to be surrounded by brilliant players." --------------------- So that, in short, is why I haven't been paying my usual attention to this list. I have a TON of work to do in a very short time, and it requires a lot more concentration than I have been accustomed to shelling out of late:) Most important is to complete the task at hand. By that time, I may have 100 emails to visit on this thread alone. All I wanted to say, I guess, is that I still consider myself a member of this list, and I will catch up next week, maybe even as soon as Monday. Arthur _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From artful at rogers.com Thu Feb 9 20:51:41 2006 From: artful at rogers.com (Arthur Fuller) Date: Thu, 9 Feb 2006 21:51:41 -0500 Subject: [dba-SQLServer] XLINQ: A Solution for No Problem, or a Doonboggle? In-Reply-To: <43EAB255.8020406@shaw.ca> Message-ID: <011b01c62dec$eba022b0$8e01a8c0@rock> AFAIK this is a layer to pacify the VB.NET developers who cannot handle T-SQL. IT is NOT NOT NOT intended to replace T-SQL! It is for those oddball situations where you must declare a recordset and then do some bizarre and kinky things within it. Do NOT NOT NOT attempt to replace your current working sprocs/udfs/views with .NET code. That was not MS's intention and they say so. The addition of .NET language(s) to SQL is intended for bizarre situations, NOT standard situations. The overhead-hit is significant, as you could demonstrate to yourself with any number of easily written tests. I have attended a number of seminars on this topic, and the standard opinion is "Don't go there unless you need to." Maybe if all your tables contain fewer than 50K rows, you could go there without noticing a performance penalty. But realize that you are building scalability OUT of your database in going there. The XLINQ language, IMO, is for people VB.NET developers who can't handle T-SQL. Admittedly, it brings some new tricks to the party. And that is exactly how you should view it, IMO. Above all DO NOT think about replacing T-SQL that works with XLINQ! Regard XLINQ as a tool to do only those things that are particularly a hassle in T-SQL. Do not take this as a statement that T-SQL is the finest language ever invented. It most certainly is not. But it will do what you need to do very often, and the difference in performance between solution A written in T-SQL and solution B written in XLINQ is dramatic. At this point, the best you can say about XLINQ is that it works. You pay a serious price for using it, however. I view it as a marketing ploy that attempts to reduce relating to SQL Server to a non-problem. It may appeal to university students and other newbies to SQL, but it will not work in the trenches of serious development. The performance hit is excruciating, unless perhaps you have MAJOR hardware. You can even compare the performance on such a tiny db as AdventureWorks - which we must all agree is a tiny database. Even there the difference is obvious: you don't need tools to measure seconds -- just open your eyes and watch. Arthur From artful at rogers.com Thu Feb 9 20:52:37 2006 From: artful at rogers.com (Arthur Fuller) Date: Thu, 9 Feb 2006 21:52:37 -0500 Subject: [dba-SQLServer] My Relative Absence Here In-Reply-To: <20060210023507.LIEL16720.omta01sl.mx.bigpond.com@DENZILLAP> Message-ID: <011c01c62ded$0dc485c0$8e01a8c0@rock> Thanks for the encouragement, Darren. I am trying! A. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: February 9, 2006 9:35 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] My Relative Absence Here Hi Arthur Exciting and Scary at the same time Do well Arthur - Do well Darren From accessd at shaw.ca Fri Feb 10 02:55:58 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 10 Feb 2006 00:55:58 -0800 Subject: [dba-SQLServer] My Relative Absence Here In-Reply-To: <011601c62de4$2fdaf530$8e01a8c0@rock> Message-ID: <001e01c62e1f$cfb1aeb0$017ba8c0@xpserver> Arthur, I have every confidence in you. Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: February 9, 2006 5:49 PM To: dba-sqlserver at databaseadvisors.com Subject: [dba-SQLServer] My Relative Absence Here I just peeked and there are numerous unread messages from this group in my inbox. I do try to pay attention to this list, but I just got a new gig and subsequently got tossed into a situation where there are serious deadlines impending, serious enough that I have been given permission to work Saturday and Sunday too. The database is what is known as large rather than rich: a rich database has many hundreds of tables containing relatively few rows; a large database has many millions of rows in relatively few tables. This one is medium-rich (200+ tables) and fairly large (some tables contain 50 million rows). To further complicate matters, "the database" is actually comprised of about a dozen databases, each residing on its own server, so all joins typically contain a reference to the server as well as the table(s) of interest. I am charged with double-checking the Erwin PDM model against the Data Modeller's LDM and comments on the last printout. 779 comments and one week to do it. When I got the gig, I received a file containing 279 issues, and I expressed confidence that I could do it in a week, though overtime might be required. Several days later, I was informed that I had been sent an old version of the Issues file; the current version contains 779 issues. I replied, "I can tell you with 100% confidence that I will not meet the deadline. 779 issues / 40 hours = 19.475 issues resolved per hour; each issue resolved in 3.15 minutes, on average. Many issues (i.e. are the indexes on this table enough, or redundant, or incorrectly designed?) will require a meeting, which will consume a minimum of 10 minutes, if we are lucky and there are no politics. Some will require an hour or two to settle. So my confidence in my inability to meet the one-week deadline is 100%. You have two chances: a fat one and a slim one." They said, "Monday?" I said, "Maybe. No guarantees, but I will work overtime and do my best to make it happen. Think Tuesday or maybe Wednesday and maybe even next Friday. There are consequences to failing to meet the deadline: not for me personally, but for the whole team. So I am trying my best. I have to read the critique, then modify the Erwin physical model to suit, then inform the DD (Database Design) guys that column X has become NOT NULL, etc., or that index Y has been removed due to redundancy, or that it's time for another meeting with the DM (Data Modellers) and this time let's not come to blows. All this, and I have to commute and dress business-casual, too. If it wasn't for the filthy lucre, I'd rather be doing something else. That isn't true! I love this kind of thing! Thrown off the pier and expected to swim immediately. It's a thrill. I am on a team of very smart people, each of whom has an expertise in a SQL area that pales my own knowledge of that area. The data architect guy is brilliant and has written a book about SQL that proves it (Google Dejan Sunderic for a list of his books). The DTS guy is brilliant. The sprocs guy is brilliant. The manager guy is brilliant. The Data Modeller guy is brilliant, and to make it more interesting, he and the Data Architect have frequent arguments. I'm neck deep in intelligence. As poker players say, "Look around the table and if you don't see the fool, you're it." I look around the table and conclude that I am the dumb guy. This week alone I learned about 10 really cool things, some about SQL Server itself, some about Erwin, some about pure database design. I just hope that I am able to demonstrate enough intelligence to keep up with these boys. They KNOW their stuff. And I hope to come close enough to the arbitrarily imposed deadline to retain the gig and not be fired for incompetence. The opposite of the poker player's perspective is, "What a pleasure it is to be surrounded by brilliant players." --------------------- So that, in short, is why I haven't been paying my usual attention to this list. I have a TON of work to do in a very short time, and it requires a lot more concentration than I have been accustomed to shelling out of late:) Most important is to complete the task at hand. By that time, I may have 100 emails to visit on this thread alone. All I wanted to say, I guess, is that I still consider myself a member of this list, and I will catch up next week, maybe even as soon as Monday. Arthur _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From prosoft6 at hotmail.com Fri Feb 10 07:34:10 2006 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri, 10 Feb 2006 08:34:10 -0500 Subject: [dba-SQLServer] XLINQ: A Solution for No Problem, or a Doonboggle? In-Reply-To: <011b01c62dec$eba022b0$8e01a8c0@rock> Message-ID: What an honor to have such a master on this list! Serously, Arthur, you rock! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From Mark.Whittinghill at protective.com Fri Feb 10 09:24:43 2006 From: Mark.Whittinghill at protective.com (Mark.Whittinghill at protective.com) Date: Fri, 10 Feb 2006 09:24:43 -0600 Subject: [dba-SQLServer] Shrinking log file Message-ID: Is there any way to decrease the size allocated for a log file? I know how to shrink it, but I can't decrease the allocated size. Thanks, Mark Whittinghill Sr. Programmer Analyst Protective - Asset Protection Division 636.536.5720 Mark.Whittinghill at protective.com ----------------------------------------- Confidentiality Notice: This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it from your computer. Thank you. From harkinsss at bellsouth.net Fri Feb 10 10:17:38 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Fri, 10 Feb 2006 11:17:38 -0500 Subject: [dba-SQLServer] XLINQ: A Solution for No Problem, or a Doonboggle? In-Reply-To: <011b01c62dec$eba022b0$8e01a8c0@rock> Message-ID: <000f01c62e5d$8e6ca980$ccb3d6d1@SUSANONE> Thanks Arthur. :) Susan H. AFAIK this is a layer to pacify the VB.NET developers who cannot handle T-SQL. IT is NOT NOT NOT intended to replace T-SQL! It is for those oddball situations where you must declare a recordset and then do some bizarre and kinky things within it. Do NOT From ebarro at verizon.net Fri Feb 10 13:15:12 2006 From: ebarro at verizon.net (Eric Barro) Date: Fri, 10 Feb 2006 11:15:12 -0800 Subject: [dba-SQLServer] Shrinking log file In-Reply-To: Message-ID: <0IUH00E6XK5AXMT8@vms048.mailsrvcs.net> Mark, You can do that using EM. Go into the properties and look for the log file and specify a log file size. You will need to schedule a job that will shrink the log file periodically because once you set a limit it will complain when it reaches that limit and all your SQL operations will come to a standstill. Basically the drill is... 1. Set your tlog filesize to something you are comfortable with. 2. Create a backup job that backs up the tlog. 3. Create a shrink job that shrinks the tlog right after it is backed up. This will ensure that your tlog is optimized. Eric -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Mark.Whittinghill at protective.com Sent: Friday, February 10, 2006 7:25 AM To: dba-sqlserver at databaseadvisors.com Subject: [dba-SQLServer] Shrinking log file Is there any way to decrease the size allocated for a log file? I know how to shrink it, but I can't decrease the allocated size. Thanks, Mark Whittinghill Sr. Programmer Analyst Protective - Asset Protection Division 636.536.5720 Mark.Whittinghill at protective.com ----------------------------------------- Confidentiality Notice: This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it from your computer. Thank you. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From Mark.Whittinghill at protective.com Fri Feb 10 13:40:07 2006 From: Mark.Whittinghill at protective.com (Mark.Whittinghill at protective.com) Date: Fri, 10 Feb 2006 13:40:07 -0600 Subject: [dba-SQLServer] Shrinking log file In-Reply-To: <0IUH00E6XK5AXMT8@vms048.mailsrvcs.net> Message-ID: Thanks, but is there a way to decrease the allocated size of an existing log? For example, say my log has 200MB allocated. Perhaps I can shrink it to 20MB, but it still has 200 allocated. I am so far unable to decrease the size allocated. Mark Whittinghill Sr. Programmer Analyst Protective - Asset Protection Division 636.536.5720 Mark.Whittinghill at protective.com "Eric Barro" Sent by: dba-sqlserver-bounces at databaseadvisors.com 02/10/2006 01:15 PM Please respond to dba-sqlserver at databaseadvisors.com To cc Subject Re: [dba-SQLServer] Shrinking log file Mark, You can do that using EM. Go into the properties and look for the log file and specify a log file size. You will need to schedule a job that will shrink the log file periodically because once you set a limit it will complain when it reaches that limit and all your SQL operations will come to a standstill. Basically the drill is... 1. Set your tlog filesize to something you are comfortable with. 2. Create a backup job that backs up the tlog. 3. Create a shrink job that shrinks the tlog right after it is backed up. This will ensure that your tlog is optimized. Eric ----------------------------------------- Confidentiality Notice: This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it from your computer. Thank you. From ebarro at verizon.net Fri Feb 10 15:59:50 2006 From: ebarro at verizon.net (Eric Barro) Date: Fri, 10 Feb 2006 13:59:50 -0800 Subject: [dba-SQLServer] Shrinking log file In-Reply-To: Message-ID: <0IUH00GFPRROB9B8@vms040.mailsrvcs.net> Yes you can do that as well. Go into EM and then right click the database and then select Shrink Database. When the dialog comes up click Files and select the transaction log file and keep repeating the shrink operation until it no longer shrinks. If this is the first time you will probably need to backup the tlog file. Create a backup device and back up the tlog file first and then go the shrink operation. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Mark.Whittinghill at protective.com Sent: Friday, February 10, 2006 11:40 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] Shrinking log file Thanks, but is there a way to decrease the allocated size of an existing log? For example, say my log has 200MB allocated. Perhaps I can shrink it to 20MB, but it still has 200 allocated. I am so far unable to decrease the size allocated. Mark Whittinghill Sr. Programmer Analyst Protective - Asset Protection Division 636.536.5720 Mark.Whittinghill at protective.com "Eric Barro" Sent by: dba-sqlserver-bounces at databaseadvisors.com 02/10/2006 01:15 PM Please respond to dba-sqlserver at databaseadvisors.com To cc Subject Re: [dba-SQLServer] Shrinking log file Mark, You can do that using EM. Go into the properties and look for the log file and specify a log file size. You will need to schedule a job that will shrink the log file periodically because once you set a limit it will complain when it reaches that limit and all your SQL operations will come to a standstill. Basically the drill is... 1. Set your tlog filesize to something you are comfortable with. 2. Create a backup job that backs up the tlog. 3. Create a shrink job that shrinks the tlog right after it is backed up. This will ensure that your tlog is optimized. Eric ----------------------------------------- Confidentiality Notice: This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it from your computer. Thank you. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From fhtapia at gmail.com Sat Feb 11 04:00:35 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 11 Feb 2006 02:00:35 -0800 Subject: [dba-SQLServer] DTS Connections and performance In-Reply-To: References: <00b501c5e4b6$3a1f5580$1a00a8c0@dabsight> Message-ID: With DTS IME if i have more than a single connection I can get data pumped over xNumber Of Connections, that is, if I have several tables I may create 2 or 3 connections... this makes it so I have data traveling accross x3 instead of each at a time... Depending on what you are doing in the datapump, you can increase the performance ie, throughput on how much data gets processed. -- Francisco On 2/1/06, Mark.Whittinghill at protective.com < Mark.Whittinghill at protective.com> wrote: > > In a DTS I have multiple simultaneous data pumps from the same connection. > Is there any performance difference in having them all reference the same > connection, or in creating a new connection for each pump, with the same > connection info. As I set all connection info from an ini in a Dynamic > Properties Task, managing a few connections is a lot easier than having > 50. > > Thanks, > > Mark Whittinghill > > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From harkinsss at bellsouth.net Sat Feb 11 08:54:45 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sat, 11 Feb 2006 09:54:45 -0500 Subject: [dba-SQLServer] About Mike's SQL Server book Message-ID: <002201c62f1b$19969800$b5b3d6d1@SUSANONE> Someone was trying to get a copy of Mike's latest SQL Server book -- "Mastering SQL Server 2005" -- by Sybex (Wiley). It is out as far as I know. Have you checked Amazon? If this is a foreign shipment problem, I doubt Mike can do anything to help you out with that. If you can't get the book through Amazon, you might convince someone in the US to purchase one on your behalf and then ship it to you -- will cost you a small fortune, but might be worth it to you. Mike and I have one on Express -- "Mastering SQL Server 2005 Express" -- It will be out in March. I hope this is the right list. Susan H. From dwaters at usinternet.com Sat Feb 11 09:47:03 2006 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 11 Feb 2006 09:47:03 -0600 Subject: [dba-SQLServer] About Mike's SQL Server book In-Reply-To: <23220251.1139669813100.JavaMail.root@sniper16> Message-ID: <000001c62f22$67f34eb0$0200a8c0@danwaters> "Mastering SQL Server 2005" is on Amazon. It was published 1/31/06, and ships in 1 to 3 weeks. They must not have copies on the shelf yet. Price is good at $37.79. The Express book is not listed on Amazon, but is listed on Sybex. In fact, if you search for 'SQL Server 2005' on the Sybex site, these books are #1 and #2 on the list! Dan -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, February 11, 2006 8:55 AM To: SQLList Subject: [dba-SQLServer] About Mike's SQL Server book Someone was trying to get a copy of Mike's latest SQL Server book -- "Mastering SQL Server 2005" -- by Sybex (Wiley). It is out as far as I know. Have you checked Amazon? If this is a foreign shipment problem, I doubt Mike can do anything to help you out with that. If you can't get the book through Amazon, you might convince someone in the US to purchase one on your behalf and then ship it to you -- will cost you a small fortune, but might be worth it to you. Mike and I have one on Express -- "Mastering SQL Server 2005 Express" -- It will be out in March. I hope this is the right list. Susan H. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From KP at sdsonline.net Sat Feb 11 20:59:23 2006 From: KP at sdsonline.net (Kath Pelletti) Date: Sun, 12 Feb 2006 13:59:23 +1100 Subject: [dba-SQLServer] About Mike's SQL Server book References: <002201c62f1b$19969800$b5b3d6d1@SUSANONE> Message-ID: <001d01c62f80$549220e0$6501a8c0@user> Hi Susan - it was me looking for it. After checking all the major technical bookshops here with no luck - I will order from Amazon. I wanted it sooner but I guess I will have to wait the 2 weeks. sigh BTW - I have read a lot of your other book "From Access to SQL Server" and it was interesting to see how much I learnt on basic SQL syntax. There are always so many gaps when you teach yourself and I learnt quite a lot. I remember someone on the list once saying (was it Drew?) that it's only when you stop copying and pasting and start writing your statements from scratch that you get the hang of it. Anyway - well done on the book. rgds Kath ----- Original Message ----- From: Susan Harkins To: SQLList Sent: Sunday, February 12, 2006 1:54 AM Subject: [dba-SQLServer] About Mike's SQL Server book Someone was trying to get a copy of Mike's latest SQL Server book -- "Mastering SQL Server 2005" -- by Sybex (Wiley). It is out as far as I know. Have you checked Amazon? If this is a foreign shipment problem, I doubt Mike can do anything to help you out with that. If you can't get the book through Amazon, you might convince someone in the US to purchase one on your behalf and then ship it to you -- will cost you a small fortune, but might be worth it to you. Mike and I have one on Express -- "Mastering SQL Server 2005 Express" -- It will be out in March. I hope this is the right list. 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 Sun Feb 12 08:49:38 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sun, 12 Feb 2006 09:49:38 -0500 Subject: [dba-SQLServer] About Mike's SQL Server book In-Reply-To: <001d01c62f80$549220e0$6501a8c0@user> Message-ID: <003301c62fe3$9482f590$d0b3d6d1@SUSANONE> Thanks Kath -- glad to be of help. I'm not sure I agree with Drew though -- I still copy -- that's why I write my own books! ;) However, knowing how they works is great when it doesn't work. :) I think that's the biggest problem -- most folks are smart enough to find the pieces they need, but when they don't work, they don't know how to fix the error. I'd say that 80% of the time, it's just syntax. Susan H. Hi Susan - it was me looking for it. After checking all the major technical bookshops here with no luck - I will order from Amazon. I wanted it sooner but I guess I will have to wait the 2 weeks. sigh BTW - I have read a lot of your other book "From Access to SQL Server" and it was interesting to see how much I learnt on basic SQL syntax. There are always so many gaps when you teach yourself and I learnt quite a lot. I remember someone on the list once saying (was it Drew?) that it's only when you stop copying and pasting and start writing your statements from scratch that you get the hang of it. Anyway - well done on the book. rgds Kath ----- Original Message ----- From: Susan Harkins To: SQLList Sent: Sunday, February 12, 2006 1:54 AM Subject: [dba-SQLServer] About Mike's SQL Server book Someone was trying to get a copy of Mike's latest SQL Server book -- "Mastering SQL Server 2005" -- by Sybex (Wiley). It is out as far as I know. Have you checked Amazon? If this is a foreign shipment problem, I doubt Mike can do anything to help you out with that. If you can't get the book through Amazon, you might convince someone in the US to purchase one on your behalf and then ship it to you -- will cost you a small fortune, but might be worth it to you. Mike and I have one on Express -- "Mastering SQL Server 2005 Express" -- It will be out in March. I hope this is the right list. 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 -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.14.25/247 - Release Date: 1/31/2006 From Mark.Whittinghill at protective.com Mon Feb 13 09:24:00 2006 From: Mark.Whittinghill at protective.com (Mark.Whittinghill at protective.com) Date: Mon, 13 Feb 2006 09:24:00 -0600 Subject: [dba-SQLServer] Shrinking log file In-Reply-To: <0IUH00GFPRROB9B8@vms040.mailsrvcs.net> Message-ID: OK, thanks, we'll try that. Mark Whittinghill Sr. Programmer Analyst Protective - Asset Protection Division 636.536.5720 Mark.Whittinghill at protective.com "Eric Barro" Sent by: dba-sqlserver-bounces at databaseadvisors.com 02/10/2006 03:59 PM Please respond to dba-sqlserver at databaseadvisors.com To cc Subject Re: [dba-SQLServer] Shrinking log file Yes you can do that as well. Go into EM and then right click the database and then select Shrink Database. When the dialog comes up click Files and select the transaction log file and keep repeating the shrink operation until it no longer shrinks. If this is the first time you will probably need to backup the tlog file. Create a backup device and back up the tlog file first and then go the shrink operation. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Mark.Whittinghill at protective.com Sent: Friday, February 10, 2006 11:40 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] Shrinking log file Thanks, but is there a way to decrease the allocated size of an existing log? For example, say my log has 200MB allocated. Perhaps I can shrink it to 20MB, but it still has 200 allocated. I am so far unable to decrease the size allocated. Mark Whittinghill Sr. Programmer Analyst Protective - Asset Protection Division 636.536.5720 Mark.Whittinghill at protective.com "Eric Barro" Sent by: dba-sqlserver-bounces at databaseadvisors.com 02/10/2006 01:15 PM Please respond to dba-sqlserver at databaseadvisors.com To cc Subject Re: [dba-SQLServer] Shrinking log file Mark, You can do that using EM. Go into the properties and look for the log file and specify a log file size. You will need to schedule a job that will shrink the log file periodically because once you set a limit it will complain when it reaches that limit and all your SQL operations will come to a standstill. Basically the drill is... 1. Set your tlog filesize to something you are comfortable with. 2. Create a backup job that backs up the tlog. 3. Create a shrink job that shrinks the tlog right after it is backed up. This will ensure that your tlog is optimized. Eric ----------------------------------------- Confidentiality Notice: This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it from your computer. Thank you. _______________________________________________ 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 rl_stewart at highstream.net Mon Feb 13 14:39:32 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Mon, 13 Feb 2006 15:39:32 -0500 Subject: [dba-SQLServer] About Mike's SQL Server book In-Reply-To: References: Message-ID: <1139863172.43f0ee84ee8a6@webmail.highstream.net> According to Bookpool.com, it is not due to be published until 3/2006. That is why Amazon has a 1 - 3 week delay for shipping. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge > Date: Sun, 12 Feb 2006 09:49:38 -0500 > From: "Susan Harkins" > Subject: Re: [dba-SQLServer] About Mike's SQL Server book > To: > Message-ID: <003301c62fe3$9482f590$d0b3d6d1 at SUSANONE> > Content-Type: text/plain; charset="US-ASCII" > > Thanks Kath -- glad to be of help. > > I'm not sure I agree with Drew though -- I still copy -- that's why I write > my own books! ;) However, knowing how they works is great when it doesn't > work. :) I think that's the biggest problem -- most folks are smart enough > to find the pieces they need, but when they don't work, they don't know how > to fix the error. I'd say that 80% of the time, it's just syntax. > > Susan H. > > Hi Susan - it was me looking for it. > > After checking all the major technical bookshops here with no luck - I will > order from Amazon. I wanted it sooner but I guess I will have to wait the 2 > weeks. sigh > > BTW - I have read a lot of your other book "From Access to SQL Server" and > it was interesting to see how much I learnt on basic SQL syntax. There are > always so many gaps when you teach yourself and I learnt quite a lot. > > I remember someone on the list once saying (was it Drew?) that it's only > when you stop copying and pasting and start writing your statements from > scratch that you get the hang of it. > > Anyway - well done on the book. > > rgds > Kath From KP at sdsonline.net Mon Feb 13 16:31:54 2006 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 14 Feb 2006 09:31:54 +1100 Subject: [dba-SQLServer] About Mike's SQL Server book References: <1139863172.43f0ee84ee8a6@webmail.highstream.net> Message-ID: <002a01c630ed$4bc03d30$6501a8c0@user> Robert - I think that may be just that there are 2 difft. editions - the one on full SQL server has been published in the States already (just not here on shelves in Australia yet). But there is another one on the SQL Express edition which is for later publication (the one Susan is writing with Mike Gunderloy) Right Susan? Kath ----- Original Message ----- From: Robert L. Stewart To: dba-sqlserver at databaseadvisors.com Sent: Tuesday, February 14, 2006 7:39 AM Subject: Re: [dba-SQLServer] About Mike's SQL Server book According to Bookpool.com, it is not due to be published until 3/2006. That is why Amazon has a 1 - 3 week delay for shipping. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge > Date: Sun, 12 Feb 2006 09:49:38 -0500 > From: "Susan Harkins" > Subject: Re: [dba-SQLServer] About Mike's SQL Server book > To: > Message-ID: <003301c62fe3$9482f590$d0b3d6d1 at SUSANONE> > Content-Type: text/plain; charset="US-ASCII" > > Thanks Kath -- glad to be of help. > > I'm not sure I agree with Drew though -- I still copy -- that's why I write > my own books! ;) However, knowing how they works is great when it doesn't > work. :) I think that's the biggest problem -- most folks are smart enough > to find the pieces they need, but when they don't work, they don't know how > to fix the error. I'd say that 80% of the time, it's just syntax. > > Susan H. > > Hi Susan - it was me looking for it. > > After checking all the major technical bookshops here with no luck - I will > order from Amazon. I wanted it sooner but I guess I will have to wait the 2 > weeks. sigh > > BTW - I have read a lot of your other book "From Access to SQL Server" and > it was interesting to see how much I learnt on basic SQL syntax. There are > always so many gaps when you teach yourself and I learnt quite a lot. > > I remember someone on the list once saying (was it Drew?) that it's only > when you stop copying and pasting and start writing your statements from > scratch that you get the hang of it. > > Anyway - well done on the book. > > rgds > Kath _______________________________________________ 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 Feb 13 17:12:26 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 13 Feb 2006 18:12:26 -0500 Subject: [dba-SQLServer] About Mike's SQL Server book In-Reply-To: <002a01c630ed$4bc03d30$6501a8c0@user> Message-ID: <000a01c630f2$f74b8ba0$a6b3d6d1@SUSANONE> Right Kath -- the SQL Server 2005 book is already out. The Express book will be out in March (if I live through the author reviews!) :) -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, February 13, 2006 5:32 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] About Mike's SQL Server book Robert - I think that may be just that there are 2 difft. editions - the one on full SQL server has been published in the States already (just not here on shelves in Australia yet). But there is another one on the SQL Express edition which is for later publication (the one Susan is writing with Mike Gunderloy) Right Susan? Kath ----- Original Message ----- From: Robert L. Stewart To: dba-sqlserver at databaseadvisors.com Sent: Tuesday, February 14, 2006 7:39 AM Subject: Re: [dba-SQLServer] About Mike's SQL Server book According to Bookpool.com, it is not due to be published until 3/2006. That is why Amazon has a 1 - 3 week delay for shipping. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge > Date: Sun, 12 Feb 2006 09:49:38 -0500 > From: "Susan Harkins" > Subject: Re: [dba-SQLServer] About Mike's SQL Server book > To: > Message-ID: <003301c62fe3$9482f590$d0b3d6d1 at SUSANONE> > Content-Type: text/plain; charset="US-ASCII" > > Thanks Kath -- glad to be of help. > > I'm not sure I agree with Drew though -- I still copy -- that's why I write > my own books! ;) However, knowing how they works is great when it doesn't > work. :) I think that's the biggest problem -- most folks are smart enough > to find the pieces they need, but when they don't work, they don't know how > to fix the error. I'd say that 80% of the time, it's just syntax. > > Susan H. > > Hi Susan - it was me looking for it. > > After checking all the major technical bookshops here with no luck - I will > order from Amazon. I wanted it sooner but I guess I will have to wait the 2 > weeks. sigh > > BTW - I have read a lot of your other book "From Access to SQL Server" and > it was interesting to see how much I learnt on basic SQL syntax. There are > always so many gaps when you teach yourself and I learnt quite a lot. > > I remember someone on the list once saying (was it Drew?) that it's only > when you stop copying and pasting and start writing your statements from > scratch that you get the hang of it. > > Anyway - well done on the book. > > rgds > Kath _______________________________________________ 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 -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.14.25/247 - Release Date: 1/31/2006 From accessd at shaw.ca Thu Feb 16 17:04:24 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 16 Feb 2006 15:04:24 -0800 Subject: [dba-SQLServer] DTS In-Reply-To: <0IUH00GFPRROB9B8@vms040.mailsrvcs.net> Message-ID: <00be01c6334d$56e67500$017ba8c0@xpserver> Hi All: I have just upgraded a client's SQL 2000 DB to SQL 2005 and a number of objects have been changed, modified or 'wandered'. One issue that is a major problem is the original (2000) had a number of DTS executable files that were used to import some raw data through various function and SP calls. The DTS files have disappeared or when it is manually attempted to re-create the process again the results seem to disappear(?) There must be so obvious reason for this but at this late hour it is not obvious. Any help or comments would be greatly appreciated... (I am going for a coffee.) Jim From martyconnelly at shaw.ca Thu Feb 16 22:14:56 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Feb 2006 20:14:56 -0800 Subject: [dba-SQLServer] DTS References: <00be01c6334d$56e67500$017ba8c0@xpserver> Message-ID: <43F54DC0.2050903@shaw.ca> You can run DTS (SS2000) from SS2005. Under 2005 Mgt Studio is a folder called Legacy under Management folder. SSIS Integration Services is the new name for the DTS Jim Lawrence wrote: >Hi All: > >I have just upgraded a client's SQL 2000 DB to SQL 2005 and a number of >objects have been changed, modified or 'wandered'. One issue that is a major >problem is the original (2000) had a number of DTS executable files that >were used to import some raw data through various function and SP calls. > >The DTS files have disappeared or when it is manually attempted to re-create >the process again the results seem to disappear(?) > >There must be so obvious reason for this but at this late hour it is not >obvious. > >Any help or comments would be greatly appreciated... (I am going for a >coffee.) > >Jim > >_______________________________________________ >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 accessd at shaw.ca Thu Feb 16 23:13:13 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 16 Feb 2006 21:13:13 -0800 Subject: [dba-SQLServer] DTS In-Reply-To: <43F54DC0.2050903@shaw.ca> Message-ID: <000a01c63380$da43ba60$017ba8c0@xpserver> Hi Marty: Thanks for the heads up on that. I had found the new SSIS Integration Services but had not yet discovered the section legacy folder. (In my opinion MS SQL has gone a little over the top with features and functionality... it is starting to look like Enterprise Oracle and not the type little powerful SQL 2000.) Jim Now I have a heck of a problem removing some old versions of SQL Express from a client's server. (Wished the beta stuff had been installed in a Virtual PC.) I have just re-run VS-uninstall-betas after everything was carefully removed through the Control Panel. (twice??) -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: February 16, 2006 8:15 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] DTS You can run DTS (SS2000) from SS2005. Under 2005 Mgt Studio is a folder called Legacy under Management folder. SSIS Integration Services is the new name for the DTS Jim Lawrence wrote: >Hi All: > >I have just upgraded a client's SQL 2000 DB to SQL 2005 and a number of >objects have been changed, modified or 'wandered'. One issue that is a major >problem is the original (2000) had a number of DTS executable files that >were used to import some raw data through various function and SP calls. > >The DTS files have disappeared or when it is manually attempted to re-create >the process again the results seem to disappear(?) > >There must be so obvious reason for this but at this late hour it is not >obvious. > >Any help or comments would be greatly appreciated... (I am going for a >coffee.) > >Jim > >_______________________________________________ >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 From martyconnelly at shaw.ca Thu Feb 16 23:22:41 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Feb 2006 21:22:41 -0800 Subject: [dba-SQLServer] DTS References: <000a01c63380$da43ba60$017ba8c0@xpserver> Message-ID: <43F55DA1.4020406@shaw.ca> If you are having trouble removing bits and pieces of an install made via the windows installer, Locate and run the MS Windows Installer CleanUp Utility msicuu2.exe. Some users have said they removed Symantec after faulty install and Visio without a necessary CD. Here is a brief article on it and download URL http://techrepublic.com.com/5100-10877_11-6030075.html?tag=nl.e064 or have a look through MSDN SQL Express Blog http://blogs.msdn.com/sqlexpress/archive/2004/07/04/172956.aspx Jim Lawrence wrote: >Hi Marty: > >Thanks for the heads up on that. I had found the new SSIS Integration >Services but had not yet discovered the section legacy folder. (In my >opinion MS SQL has gone a little over the top with features and >functionality... it is starting to look like Enterprise Oracle and not the >type little powerful SQL 2000.) > >Jim > >Now I have a heck of a problem removing some old versions of SQL Express >from a client's server. (Wished the beta stuff had been installed in a >Virtual PC.) I have just re-run VS-uninstall-betas after everything was >carefully removed through the Control Panel. (twice??) > >-----Original Message----- >From: dba-sqlserver-bounces at databaseadvisors.com >[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of >MartyConnelly >Sent: February 16, 2006 8:15 PM >To: dba-sqlserver at databaseadvisors.com >Subject: Re: [dba-SQLServer] DTS > > You can run DTS (SS2000) from SS2005. >Under 2005 Mgt Studio is a folder called Legacy under Management folder. > SSIS Integration Services is the new name for the DTS > >Jim Lawrence wrote: > > > >>Hi All: >> >>I have just upgraded a client's SQL 2000 DB to SQL 2005 and a number of >>objects have been changed, modified or 'wandered'. One issue that is a >> >> >major > > >>problem is the original (2000) had a number of DTS executable files that >>were used to import some raw data through various function and SP calls. >> >>The DTS files have disappeared or when it is manually attempted to >> >> >re-create > > >>the process again the results seem to disappear(?) >> >>There must be so obvious reason for this but at this late hour it is not >>obvious. >> >>Any help or comments would be greatly appreciated... (I am going for a >>coffee.) >> >>Jim >> >>_______________________________________________ >>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 accessd at shaw.ca Sat Feb 18 10:28:52 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 18 Feb 2006 08:28:52 -0800 Subject: [dba-SQLServer] DTS In-Reply-To: <43F55DA1.4020406@shaw.ca> Message-ID: <000801c634a8$67c45cf0$017ba8c0@xpserver> Hi Marty: Well that utility sure did the trick. There were no references for the Express SQL, in the 'Add/Remove' file section, any directories and no obvious references in the registry but the utility pulled up at least 6 items/references. Thanks for the heads up. The installation went a lot further this time (an hour and a half later, approximately) but it finally hung up saying: Failed to install and configure assemblies C:\Program Files\Microsoft SQL Server\90\DTS\Tasks\Microsoft.SqlServer.MSMQTask.dll in the COM+ catalog. Error: -2146233087 Error message: Unknown error 0x80131501 Error description: Failed to generate type library 'C:\Program Files\Microsoft SQL Server\90\DTS\Tasks\Microsoft.SqlServer.MSMQTask.tlb' for 'Microsoft.SqlServer.MSMQTask, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'. It is fortunate that I have the rest of the weekend to get installation completed so now it is back to the web for answers. I am nearly at the point of formatting this server and starting again... a task of last resort; set aside for Sunday evening. Again, thank you for your help as the process would not have got this far. Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: February 16, 2006 9:23 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] DTS If you are having trouble removing bits and pieces of an install made via the windows installer, Locate and run the MS Windows Installer CleanUp Utility msicuu2.exe. Some users have said they removed Symantec after faulty install and Visio without a necessary CD. Here is a brief article on it and download URL http://techrepublic.com.com/5100-10877_11-6030075.html?tag=nl.e064 or have a look through MSDN SQL Express Blog http://blogs.msdn.com/sqlexpress/archive/2004/07/04/172956.aspx Jim Lawrence wrote: >Hi Marty: > >Thanks for the heads up on that. I had found the new SSIS Integration >Services but had not yet discovered the section legacy folder. (In my >opinion MS SQL has gone a little over the top with features and >functionality... it is starting to look like Enterprise Oracle and not the >type little powerful SQL 2000.) > >Jim > >Now I have a heck of a problem removing some old versions of SQL Express >from a client's server. (Wished the beta stuff had been installed in a >Virtual PC.) I have just re-run VS-uninstall-betas after everything was >carefully removed through the Control Panel. (twice??) > >-----Original Message----- >From: dba-sqlserver-bounces at databaseadvisors.com >[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of >MartyConnelly >Sent: February 16, 2006 8:15 PM >To: dba-sqlserver at databaseadvisors.com >Subject: Re: [dba-SQLServer] DTS > > You can run DTS (SS2000) from SS2005. >Under 2005 Mgt Studio is a folder called Legacy under Management folder. > SSIS Integration Services is the new name for the DTS > >Jim Lawrence wrote: > > > >>Hi All: >> >>I have just upgraded a client's SQL 2000 DB to SQL 2005 and a number of >>objects have been changed, modified or 'wandered'. One issue that is a >> >> >major > > >>problem is the original (2000) had a number of DTS executable files that >>were used to import some raw data through various function and SP calls. >> >>The DTS files have disappeared or when it is manually attempted to >> >> >re-create > > >>the process again the results seem to disappear(?) >> >>There must be so obvious reason for this but at this late hour it is not >>obvious. >> >>Any help or comments would be greatly appreciated... (I am going for a >>coffee.) >> >>Jim >> >>_______________________________________________ >>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 From martyconnelly at shaw.ca Sat Feb 18 12:55:34 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 18 Feb 2006 10:55:34 -0800 Subject: [dba-SQLServer] DTS References: <000801c634a8$67c45cf0$017ba8c0@xpserver> Message-ID: <43F76DA6.2060205@shaw.ca> Are you doing an upgrade or a side by side install of SQL 2000 and 2005? side by side is supposed to require named instances or installs what ever that is? Microsoft SQL Server 2005 Upgrade Advisor http://www.microsoft.com/downloads/details.aspx?familyid=6107C27A-662C-4319-AFE7-B52D1568C30A&displaylang=en Do you have most recent version Microsoft .NET Framework 2.0 installed The most stable version of SQL 2005 might be the Developer Edition rather than Standard or Enterprise. At least it is the only version that will install on WinXP Home aside from SQL Express. Jim Lawrence wrote: >Hi Marty: > >Well that utility sure did the trick. There were no references for the >Express SQL, in the 'Add/Remove' file section, any directories and no >obvious references in the registry but the utility pulled up at least 6 >items/references. > >Thanks for the heads up. > >The installation went a lot further this time (an hour and a half later, >approximately) but it finally hung up saying: > > >Failed to install and configure assemblies C:\Program Files\Microsoft SQL >Server\90\DTS\Tasks\Microsoft.SqlServer.MSMQTask.dll in the COM+ catalog. >Error: -2146233087 >Error message: Unknown error 0x80131501 >Error description: Failed to generate type library 'C:\Program >Files\Microsoft SQL Server\90\DTS\Tasks\Microsoft.SqlServer.MSMQTask.tlb' >for 'Microsoft.SqlServer.MSMQTask, Version=9.0.242.0, Culture=neutral, >PublicKeyToken=89845dcd8080cc91'. > > >It is fortunate that I have the rest of the weekend to get installation >completed so now it is back to the web for answers. I am nearly at the point >of formatting this server and starting again... a task of last resort; set >aside for Sunday evening. > >Again, thank you for your help as the process would not have got this far. > >Jim > >-----Original Message----- >From: dba-sqlserver-bounces at databaseadvisors.com >[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of >MartyConnelly >Sent: February 16, 2006 9:23 PM >To: dba-sqlserver at databaseadvisors.com >Subject: Re: [dba-SQLServer] DTS > >If you are having trouble removing bits and pieces of an install made >via the windows installer, >Locate and run the MS Windows Installer CleanUp Utility msicuu2.exe. >Some users have said they removed Symantec after faulty install and >Visio without a necessary CD. >Here is a brief article on it and download URL >http://techrepublic.com.com/5100-10877_11-6030075.html?tag=nl.e064 > >or have a look through MSDN SQL Express Blog >http://blogs.msdn.com/sqlexpress/archive/2004/07/04/172956.aspx > >Jim Lawrence wrote: > > > >>Hi Marty: >> >>Thanks for the heads up on that. I had found the new SSIS Integration >>Services but had not yet discovered the section legacy folder. (In my >>opinion MS SQL has gone a little over the top with features and >>functionality... it is starting to look like Enterprise Oracle and not the >>type little powerful SQL 2000.) >> >>Jim >> >>Now I have a heck of a problem removing some old versions of SQL Express >> >> >>from a client's server. (Wished the beta stuff had been installed in a > > >>Virtual PC.) I have just re-run VS-uninstall-betas after everything was >>carefully removed through the Control Panel. (twice??) >> >>-----Original Message----- >>From: dba-sqlserver-bounces at databaseadvisors.com >>[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of >>MartyConnelly >>Sent: February 16, 2006 8:15 PM >>To: dba-sqlserver at databaseadvisors.com >>Subject: Re: [dba-SQLServer] DTS >> >>You can run DTS (SS2000) from SS2005. >>Under 2005 Mgt Studio is a folder called Legacy under Management folder. >>SSIS Integration Services is the new name for the DTS >> >>Jim Lawrence wrote: >> >> >> >> >> >>>Hi All: >>> >>>I have just upgraded a client's SQL 2000 DB to SQL 2005 and a number of >>>objects have been changed, modified or 'wandered'. One issue that is a >>> >>> >>> >>> >>major >> >> >> >> >>>problem is the original (2000) had a number of DTS executable files that >>>were used to import some raw data through various function and SP calls. >>> >>>The DTS files have disappeared or when it is manually attempted to >>> >>> >>> >>> >>re-create >> >> >> >> >>>the process again the results seem to disappear(?) >>> >>>There must be so obvious reason for this but at this late hour it is not >>>obvious. >>> >>>Any help or comments would be greatly appreciated... (I am going for a >>>coffee.) >>> >>>Jim >>> >>>_______________________________________________ >>>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 accessd at shaw.ca Sat Feb 18 18:06:16 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 18 Feb 2006 16:06:16 -0800 Subject: [dba-SQLServer] DTS In-Reply-To: <43F76DA6.2060205@shaw.ca> Message-ID: <000901c634e8$4df47040$017ba8c0@xpserver> Hi Marty: Thanks for the info on named instances but I had already reviewed that and felt it would be better to only have one version on line. There is supposed to be the latest version of .Net Framework 2.0 on the SQL Server 2005 installation DVD. The pre-install went through the process of installing all foundation code and .Net framework installed without incident. I am trying to install this MS SQL Standard edition onto a Windows standard server 2003 SP1, so there should be no incompatible issues. I have also attempted to re-register a couple of related .Net plug-in assemblies and a library on the chance that their setting may not have taken properly: regasm extensibility.dll regasm vslangproj.dll regtlb vslangproj.tlb ...the above was successful but the overall prognosis was not. Here is something that other individuals have attempted when a very similar error had occurred: http://forums.microsoft.com/MSDN/ShowPost.aspx?PageIndex=1&SiteID=1&PostID=1 36467 ...and... http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=134853&SiteID=1 ...that does not work in this situation. Even though stated otherwise there appears to be no solid resolution other than a gloomy OS re-install. These types of problems have been following along where ever an Express version has preceded an upgrade. I have learned my lesson and will only recommend the use of Express versions within their own virtual PC or request an OS install package solution. It is sad but I believe MS has rushed these products to market and have basically out-smarted themselves. Thanks so much for your help. I can not help but feel that I have missed some obvious fix so if you have any revelations or insights I will be happy to entertain them. Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: February 18, 2006 10:56 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] DTS Are you doing an upgrade or a side by side install of SQL 2000 and 2005? side by side is supposed to require named instances or installs what ever that is? Microsoft SQL Server 2005 Upgrade Advisor http://www.microsoft.com/downloads/details.aspx?familyid=6107C27A-662C-4319- AFE7-B52D1568C30A&displaylang=en Do you have most recent version Microsoft .NET Framework 2.0 installed The most stable version of SQL 2005 might be the Developer Edition rather than Standard or Enterprise. At least it is the only version that will install on WinXP Home aside from SQL Express. Jim Lawrence wrote: >Hi Marty: > >Well that utility sure did the trick. There were no references for the >Express SQL, in the 'Add/Remove' file section, any directories and no >obvious references in the registry but the utility pulled up at least 6 >items/references. > >Thanks for the heads up. > >The installation went a lot further this time (an hour and a half later, >approximately) but it finally hung up saying: > > >Failed to install and configure assemblies C:\Program Files\Microsoft SQL >Server\90\DTS\Tasks\Microsoft.SqlServer.MSMQTask.dll in the COM+ catalog. >Error: -2146233087 >Error message: Unknown error 0x80131501 >Error description: Failed to generate type library 'C:\Program >Files\Microsoft SQL Server\90\DTS\Tasks\Microsoft.SqlServer.MSMQTask.tlb' >for 'Microsoft.SqlServer.MSMQTask, Version=9.0.242.0, Culture=neutral, >PublicKeyToken=89845dcd8080cc91'. > > >It is fortunate that I have the rest of the weekend to get installation >completed so now it is back to the web for answers. I am nearly at the point >of formatting this server and starting again... a task of last resort; set >aside for Sunday evening. > >Again, thank you for your help as the process would not have got this far. > >Jim > >-----Original Message----- >From: dba-sqlserver-bounces at databaseadvisors.com >[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of >MartyConnelly >Sent: February 16, 2006 9:23 PM >To: dba-sqlserver at databaseadvisors.com >Subject: Re: [dba-SQLServer] DTS > >If you are having trouble removing bits and pieces of an install made >via the windows installer, >Locate and run the MS Windows Installer CleanUp Utility msicuu2.exe. >Some users have said they removed Symantec after faulty install and >Visio without a necessary CD. >Here is a brief article on it and download URL >http://techrepublic.com.com/5100-10877_11-6030075.html?tag=nl.e064 > >or have a look through MSDN SQL Express Blog >http://blogs.msdn.com/sqlexpress/archive/2004/07/04/172956.aspx > >Jim Lawrence wrote: > > > >>Hi Marty: >> >>Thanks for the heads up on that. I had found the new SSIS Integration >>Services but had not yet discovered the section legacy folder. (In my >>opinion MS SQL has gone a little over the top with features and >>functionality... it is starting to look like Enterprise Oracle and not the >>type little powerful SQL 2000.) >> >>Jim >> >>Now I have a heck of a problem removing some old versions of SQL Express >> >> >>from a client's server. (Wished the beta stuff had been installed in a > > >>Virtual PC.) I have just re-run VS-uninstall-betas after everything was >>carefully removed through the Control Panel. (twice??) >> >>-----Original Message----- >>From: dba-sqlserver-bounces at databaseadvisors.com >>[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of >>MartyConnelly >>Sent: February 16, 2006 8:15 PM >>To: dba-sqlserver at databaseadvisors.com >>Subject: Re: [dba-SQLServer] DTS >> >>You can run DTS (SS2000) from SS2005. >>Under 2005 Mgt Studio is a folder called Legacy under Management folder. >>SSIS Integration Services is the new name for the DTS >> >>Jim Lawrence wrote: >> >> >> >> >> >>>Hi All: >>> >>>I have just upgraded a client's SQL 2000 DB to SQL 2005 and a number of >>>objects have been changed, modified or 'wandered'. One issue that is a >>> >>> >>> >>> >>major >> >> >> >> >>>problem is the original (2000) had a number of DTS executable files that >>>were used to import some raw data through various function and SP calls. >>> >>>The DTS files have disappeared or when it is manually attempted to >>> >>> >>> >>> >>re-create >> >> >> >> >>>the process again the results seem to disappear(?) >>> >>>There must be so obvious reason for this but at this late hour it is not >>>obvious. >>> >>>Any help or comments would be greatly appreciated... (I am going for a >>>coffee.) >>> >>>Jim >>> >>>_______________________________________________ >>>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 From martyconnelly at shaw.ca Sat Feb 18 19:38:56 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 18 Feb 2006 17:38:56 -0800 Subject: [dba-SQLServer] DTS References: <000901c634e8$4df47040$017ba8c0@xpserver> Message-ID: <43F7CC30.6090700@shaw.ca> Installing SQL Server 2005 from BOL http://msdn2.microsoft.com/en-us/library/ms143516.aspx You couuld try initially installing only the basic components like the database engine. Then add the other bits. You could try to install the Microsoft SQL Server 2005 Enterprise Evaluation Edition 180 day rather than the standard one But it is a 1 gig download, gag... http://www.microsoft.com/downloads/details.aspx?familyid=6931fa7f-c094-49a2-a050-2d07993566ec&displaylang=en Sounds like you may have to get the win server 2003 SP1 CD. These problems generally crop up with a previous Beta installation and occured between Beta 1 and 2 of SQL Express. reguiring a rigamorole uninstall. Jim Lawrence wrote: >Hi Marty: > >Thanks for the info on named instances but I had already reviewed that and >felt it would be better to only have one version on line. > >There is supposed to be the latest version of .Net Framework 2.0 on the SQL >Server 2005 installation DVD. The pre-install went through the process of >installing all foundation code and .Net framework installed without >incident. > >I am trying to install this MS SQL Standard edition onto a Windows standard >server 2003 SP1, so there should be no incompatible issues. > >I have also attempted to re-register a couple of related .Net plug-in >assemblies and a library on the chance that their setting may not have taken >properly: > >regasm extensibility.dll >regasm vslangproj.dll >regtlb vslangproj.tlb > >...the above was successful but the overall prognosis was not. > >Here is something that other individuals have attempted when a very similar >error had occurred: > >http://forums.microsoft.com/MSDN/ShowPost.aspx?PageIndex=1&SiteID=1&PostID=1 >36467 > >...and... > >http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=134853&SiteID=1 > >...that does not work in this situation. > >Even though stated otherwise there appears to be no solid resolution other >than a gloomy OS re-install. > >These types of problems have been following along where ever an Express >version has preceded an upgrade. I have learned my lesson and will only >recommend the use of Express versions within their own virtual PC or request >an OS install package solution. It is sad but I believe MS has rushed these >products to market and have basically out-smarted themselves. > >Thanks so much for your help. I can not help but feel that I have missed >some obvious fix so if you have any revelations or insights I will be happy >to entertain them. > >Jim > > >-----Original Message----- >From: dba-sqlserver-bounces at databaseadvisors.com >[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of >MartyConnelly >Sent: February 18, 2006 10:56 AM >To: dba-sqlserver at databaseadvisors.com >Subject: Re: [dba-SQLServer] DTS > >Are you doing an upgrade or a side by side install of SQL 2000 and 2005? >side by side is supposed to require named instances or installs >what ever that is? > >Microsoft SQL Server 2005 Upgrade Advisor >http://www.microsoft.com/downloads/details.aspx?familyid=6107C27A-662C-4319- >AFE7-B52D1568C30A&displaylang=en >Do you have most recent version Microsoft .NET Framework 2.0 installed > >The most stable version of SQL 2005 might be the Developer Edition >rather than Standard or Enterprise. >At least it is the only version that will install on WinXP Home aside >from SQL Express. > >Jim Lawrence wrote: > > > >>Hi Marty: >> >>Well that utility sure did the trick. There were no references for the >>Express SQL, in the 'Add/Remove' file section, any directories and no >>obvious references in the registry but the utility pulled up at least 6 >>items/references. >> >>Thanks for the heads up. >> >>The installation went a lot further this time (an hour and a half later, >>approximately) but it finally hung up saying: >> >> >>Failed to install and configure assemblies C:\Program Files\Microsoft SQL >>Server\90\DTS\Tasks\Microsoft.SqlServer.MSMQTask.dll in the COM+ catalog. >>Error: -2146233087 >>Error message: Unknown error 0x80131501 >>Error description: Failed to generate type library 'C:\Program >>Files\Microsoft SQL Server\90\DTS\Tasks\Microsoft.SqlServer.MSMQTask.tlb' >>for 'Microsoft.SqlServer.MSMQTask, Version=9.0.242.0, Culture=neutral, >>PublicKeyToken=89845dcd8080cc91'. >> >> >>It is fortunate that I have the rest of the weekend to get installation >>completed so now it is back to the web for answers. I am nearly at the >> >> >point > > >>of formatting this server and starting again... a task of last resort; set >>aside for Sunday evening. >> >>Again, thank you for your help as the process would not have got this far. >> >>Jim >> >>-----Original Message----- >>From: dba-sqlserver-bounces at databaseadvisors.com >>[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of >>MartyConnelly >>Sent: February 16, 2006 9:23 PM >>To: dba-sqlserver at databaseadvisors.com >>Subject: Re: [dba-SQLServer] DTS >> >>If you are having trouble removing bits and pieces of an install made >>via the windows installer, >>Locate and run the MS Windows Installer CleanUp Utility msicuu2.exe. >>Some users have said they removed Symantec after faulty install and >>Visio without a necessary CD. >>Here is a brief article on it and download URL >>http://techrepublic.com.com/5100-10877_11-6030075.html?tag=nl.e064 >> >>or have a look through MSDN SQL Express Blog >>http://blogs.msdn.com/sqlexpress/archive/2004/07/04/172956.aspx >> >>Jim Lawrence wrote: >> >> >> >> >> >>>Hi Marty: >>> >>>Thanks for the heads up on that. I had found the new SSIS Integration >>>Services but had not yet discovered the section legacy folder. (In my >>>opinion MS SQL has gone a little over the top with features and >>>functionality... it is starting to look like Enterprise Oracle and not the >>>type little powerful SQL 2000.) >>> >>>Jim >>> >>>Now I have a heck of a problem removing some old versions of SQL Express >>> >>> >>> >>> >>>from a client's server. (Wished the beta stuff had been installed in a >> >> >> >> >>>Virtual PC.) I have just re-run VS-uninstall-betas after everything was >>>carefully removed through the Control Panel. (twice??) >>> >>>-----Original Message----- >>>From: dba-sqlserver-bounces at databaseadvisors.com >>>[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of >>>MartyConnelly >>>Sent: February 16, 2006 8:15 PM >>>To: dba-sqlserver at databaseadvisors.com >>>Subject: Re: [dba-SQLServer] DTS >>> >>>You can run DTS (SS2000) from SS2005. >>>Under 2005 Mgt Studio is a folder called Legacy under Management folder. >>>SSIS Integration Services is the new name for the DTS >>> >>>Jim Lawrence wrote: >>> >>> >>> >>> >>> >>> >>> >>>>Hi All: >>>> >>>>I have just upgraded a client's SQL 2000 DB to SQL 2005 and a number of >>>>objects have been changed, modified or 'wandered'. One issue that is a >>>> >>>> >>>> >>>> >>>> >>>> >>>major >>> >>> >>> >>> >>> >>> >>>>problem is the original (2000) had a number of DTS executable files that >>>>were used to import some raw data through various function and SP calls. >>>> >>>>The DTS files have disappeared or when it is manually attempted to >>>> >>>> >>>> >>>> >>>> >>>> >>>re-create >>> >>> >>> >>> >>> >>> >>>>the process again the results seem to disappear(?) >>>> >>>>There must be so obvious reason for this but at this late hour it is not >>>>obvious. >>>> >>>>Any help or comments would be greatly appreciated... (I am going for a >>>>coffee.) >>>> >>>>Jim >>>> >>>>_______________________________________________ >>>>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 Feb 19 15:51:17 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sun, 19 Feb 2006 16:51:17 -0500 Subject: [dba-SQLServer] code not working Message-ID: <000001c6359e$a5431660$c0b3d6d1@SUSANONE> Would someone please run this in Express and see if you get the same error I do? The Tech Editor says it works for him, but I'm getting an error that there's no DepartmentID column in the Employee table. I checked, and it isn't there. I don't know whether the TE's goofy or I'm just doing something wrong. Thanks! Susan H. DECLARE @departmentid int, @name nvarchar(50) DECLARE @nemployees int DECLARE department_cursor CURSOR LOCAL SCROLL STATIC FOR SELECT DepartmentID, Name FROM HumanResources.Department OPEN department_cursor PRINT 'Results for ' + CAST(@@CURSOR_ROWS AS varchar) + ' departments' Print '-------------' FETCH NEXT FROM department_cursor INTO @departmentid, @name SELECT @nemployees = ( SELECT COUNT(*) FROM HumanResources.Employee WHERE DepartmentID = @departmentid) PRINT @name + ' has ' + CAST(@nemployees AS varchar) + ' employees' WHILE @@FETCH_STATUS = 0 BEGIN FETCH NEXT FROM department_cursor INTO @departmentid, @name SELECT @nemployees = ( SELECT COUNT(*) FROM HumanResources.Employee WHERE DepartmentID = @departmentid) PRINT @name + ' has ' + CAST(@nemployees AS varchar) + ' employees' END CLOSE department_cursor DEALLOCATE department_cursor From word_diva at hotmail.com Sun Feb 19 17:10:06 2006 From: word_diva at hotmail.com (Nancy Lytle) Date: Sun, 19 Feb 2006 18:10:06 -0500 Subject: [dba-SQLServer] code not working In-Reply-To: <000001c6359e$a5431660$c0b3d6d1@SUSANONE> Message-ID: I ran it in SQL2005 (not express) and got the same error: Msg 207, Level 16, State 1, Line 32 Invalid column name 'DepartmentID'. Msg 207, Level 16, State 1, Line 50 Invalid column name 'DepartmentID' Nancy -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, February 19, 2006 4:51 PM To: SQLList Subject: [dba-SQLServer] code not working Would someone please run this in Express and see if you get the same error I do? The Tech Editor says it works for him, but I'm getting an error that there's no DepartmentID column in the Employee table. I checked, and it isn't there. I don't know whether the TE's goofy or I'm just doing something wrong. Thanks! Susan H. DECLARE @departmentid int, @name nvarchar(50) DECLARE @nemployees int DECLARE department_cursor CURSOR LOCAL SCROLL STATIC FOR SELECT DepartmentID, Name FROM HumanResources.Department OPEN department_cursor PRINT 'Results for ' + CAST(@@CURSOR_ROWS AS varchar) + ' departments' Print '-------------' FETCH NEXT FROM department_cursor INTO @departmentid, @name SELECT @nemployees = ( SELECT COUNT(*) FROM HumanResources.Employee WHERE DepartmentID = @departmentid) PRINT @name + ' has ' + CAST(@nemployees AS varchar) + ' employees' WHILE @@FETCH_STATUS = 0 BEGIN FETCH NEXT FROM department_cursor INTO @departmentid, @name SELECT @nemployees = ( SELECT COUNT(*) FROM HumanResources.Employee WHERE DepartmentID = @departmentid) PRINT @name + ' has ' + CAST(@nemployees AS varchar) + ' employees' END CLOSE department_cursor DEALLOCATE department_cursor _______________________________________________ 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 outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.10/263 - Release Date: 2/16/2006 From accessd at shaw.ca Sun Feb 19 19:42:32 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 19 Feb 2006 17:42:32 -0800 Subject: [dba-SQLServer] code not working In-Reply-To: <000001c6359e$a5431660$c0b3d6d1@SUSANONE> Message-ID: <000e01c635be$eafbb2a0$017ba8c0@xpserver> Susan, just off the top; are the setting set to case sensitive? Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: February 19, 2006 1:51 PM To: SQLList Subject: [dba-SQLServer] code not working Would someone please run this in Express and see if you get the same error I do? The Tech Editor says it works for him, but I'm getting an error that there's no DepartmentID column in the Employee table. I checked, and it isn't there. I don't know whether the TE's goofy or I'm just doing something wrong. Thanks! Susan H. DECLARE @departmentid int, @name nvarchar(50) DECLARE @nemployees int DECLARE department_cursor CURSOR LOCAL SCROLL STATIC FOR SELECT DepartmentID, Name FROM HumanResources.Department OPEN department_cursor PRINT 'Results for ' + CAST(@@CURSOR_ROWS AS varchar) + ' departments' Print '-------------' FETCH NEXT FROM department_cursor INTO @departmentid, @name SELECT @nemployees = ( SELECT COUNT(*) FROM HumanResources.Employee WHERE DepartmentID = @departmentid) PRINT @name + ' has ' + CAST(@nemployees AS varchar) + ' employees' WHILE @@FETCH_STATUS = 0 BEGIN FETCH NEXT FROM department_cursor INTO @departmentid, @name SELECT @nemployees = ( SELECT COUNT(*) FROM HumanResources.Employee WHERE DepartmentID = @departmentid) PRINT @name + ' has ' + CAST(@nemployees AS varchar) + ' employees' END CLOSE department_cursor DEALLOCATE department_cursor _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From artful at rogers.com Sun Feb 19 21:55:54 2006 From: artful at rogers.com (Arthur Fuller) Date: Sun, 19 Feb 2006 22:55:54 -0500 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: <000901c62381$74bca030$e1b3d6d1@SUSANONE> Message-ID: <001101c635d1$8d1af930$8e01a8c0@rock> Susan, I agree if you have only one machine -- never risk your bread-and-butter -- but my approach is to have several boxes, only one of which is critical. The others I can toast at will with no loss of code or data. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: January 27, 2006 3:37 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio The only real advice there is Jim -- don't install betas. :) As for MS, SS Express, and VB Express, the kinks finally seem to be worked out. Susan H. From artful at rogers.com Sun Feb 19 22:08:56 2006 From: artful at rogers.com (Arthur Fuller) Date: Sun, 19 Feb 2006 23:08:56 -0500 Subject: [dba-SQLServer] SQL 2005 Server Management Studio In-Reply-To: <002601c6241d$cd9ce1a0$657aa8c0@ColbyM6805> Message-ID: <001801c635d3$5eac7590$8e01a8c0@rock> In my experience, this is best achieved with either a view or a table UDF that returns a recordset. This works very nicely in a master-detail form as well, since Access automatically sets up the params to pass to the child. Master DataSource: CustomersByCompanyName_qs (query select) Child DataSource: OrdersByCustomerID_qs (query select) Each of these is a view: SELECT * FROM Customers ORDER BY CompanyName SELECT * FROM Orders ORDER BY CustomerID, OrderID DESC (The last part of the second view I like because it places the most recent orders -- the ones of most interest -- at the top of the list.) I played around for some time with sprocs and stubbed my toes on the same difficulties you are having. Then I discovered that views do the work beautifully, and that Access automatically sets up the params for you when dealing with a master-detail form. I further refined this strategy to deal with situations such as an Orders form in continuous mode that by default shows the orders of the past 30 days, but also has buttons for "Last 60", "Last 90", "Last 120" and "All". My first crack at this used separate views, and all my OnClick code did was swap a new view name into the DataSource attribute. Later I refined this approach, making the DataSource a UDF that accepted a parameter, and changing the parameter (NumberOfDays) to suit. I have had decidedly limited success with calling sprocs from Access forms, and expecting insert-update-delete capabilities. With views and UDFs, this is a cinch. So I tended to go with what worked. HTH, Arthur -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: January 28, 2006 10:16 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio Build a SP in 2005 (express for me). It is read-only, regardless of whether I try and edit the data it inside of SMSE or in a pass-through out in Access. I am trying to bind a form to a SP recordset. John W. Colby www.ColbyConsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Saturday, January 28, 2006 9:37 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio I am already going that way and have been for over a year. The problem is that I essentially have wasted the last year because the difference between VS 2003 and 2005 is so radical. Now I am relearning. John, What is the SPs read-only problem? Can you explain what you are trying to do again? Robert At 12:00 PM 1/27/2006, you wrote: >Date: Fri, 27 Jan 2006 12:19:34 -0500 >From: "Susan Harkins" >Subject: Re: [dba-SQLServer] SQL 2005 Server Management Studio >To: >Message-ID: <002a01c62365$e41183e0$aeb3d6d1 at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > > >To be honest, once I get over the learning curve I am leaning towards >abandoning the MDB as a BE. > >========John, if I stay in this market, I am seriously considering the >same thing. > >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 From harkinsss at bellsouth.net Mon Feb 20 07:48:06 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 20 Feb 2006 08:48:06 -0500 Subject: [dba-SQLServer] code not working In-Reply-To: <000e01c635be$eafbb2a0$017ba8c0@xpserver> Message-ID: <000401c63624$508f02b0$ddb3d6d1@SUSANONE> Jim, I think so -- is there a setting for that, because I've looked, but not found anything. But, the Employee table still won't have a DepartmentID column. Susan H. Susan, just off the top; are the setting set to case sensitive? From harkinsss at bellsouth.net Mon Feb 20 07:48:07 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 20 Feb 2006 08:48:07 -0500 Subject: [dba-SQLServer] code not working In-Reply-To: Message-ID: <000a01c63624$568028c0$ddb3d6d1@SUSANONE> Thanks Nancy -- I appreciate that. Susan H. I ran it in SQL2005 (not express) and got the same error: Msg 207, Level 16, State 1, Line 32 Invalid column name 'DepartmentID'. Msg 207, Level 16, State 1, Line 50 Invalid column name 'DepartmentID' Would someone please run this in Express and see if you get the same error I do? The Tech Editor says it works for him, but I'm getting an error that there's no DepartmentID column in the Employee table. I checked, and it isn't there. I don't know whether the TE's goofy or I'm just doing something wrong. From Rich_Lavsa at pghcorning.com Mon Feb 20 13:08:19 2006 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Mon, 20 Feb 2006 14:08:19 -0500 Subject: [dba-SQLServer] Determine if a database is no longer in use? Message-ID: <2A261FF9D5EBCA46940C11688CE872EE044D8092@goexchange2.pghcorning.com> Hello all, We have SQL Server 2000 sp3a running just to please some small off the shelf solutions we purchased, and to develop some small in house applications. WE also let this SQL install open to all Administrators as they should use this to log data if their application allows it to be logged to a SQL Server database, such as Insight Manager. Which is where my problem begins. For instance there are 2 databases set up on the server for Insight Manager. I know who installed them, however they do not remember if they pointed the latest install to the SQL server. So without confusing him and making him figure out what he had done, or if the installations on the server are valid or not I'd rather answer my own questions. What I want to do is delete them if they are not being used for anything. Then once I clean this up, I want to lock the SQL server down so that only I can create databases there, and if they need one built they need to ask me first as I am responsible for this server. Is there an easy way to determine if a database is no longer in use? Rich From darrend at nimble.com.au Mon Feb 20 15:08:19 2006 From: darrend at nimble.com.au (Darren DICK) Date: Tue, 21 Feb 2006 08:08:19 +1100 Subject: [dba-SQLServer] Determine if a database is no longer in use? In-Reply-To: <2A261FF9D5EBCA46940C11688CE872EE044D8092@goexchange2.pghcorning.com> Message-ID: <20060220210825.XIPS10380.omta04sl.mx.bigpond.com@DENZILLAP> Try adding or editing some data that is easy to verify - something in an obvious table Then compare the results of the 'old' table and the 'new' HTH Darren ------------------------------ T: 0424 696 433 -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Lavsa, Rich Sent: Tuesday, 21 February 2006 6:08 AM To: dba-sqlserver at databaseadvisors.com Subject: [dba-SQLServer] Determine if a database is no longer in use? Hello all, We have SQL Server 2000 sp3a running just to please some small off the shelf solutions we purchased, and to develop some small in house applications. WE also let this SQL install open to all Administrators as they should use this to log data if their application allows it to be logged to a SQL Server database, such as Insight Manager. Which is where my problem begins. For instance there are 2 databases set up on the server for Insight Manager. I know who installed them, however they do not remember if they pointed the latest install to the SQL server. So without confusing him and making him figure out what he had done, or if the installations on the server are valid or not I'd rather answer my own questions. What I want to do is delete them if they are not being used for anything. Then once I clean this up, I want to lock the SQL server down so that only I can create databases there, and if they need one built they need to ask me first as I am responsible for this server. Is there an easy way to determine if a database is no longer in use? Rich _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From darrend at nimble.com.au Mon Feb 20 22:14:11 2006 From: darrend at nimble.com.au (Darren DICK) Date: Tue, 21 Feb 2006 15:14:11 +1100 Subject: [dba-SQLServer] RepServices: Binding a table to a StoredProc Message-ID: <20060221041438.PGTM18661.omta02sl.mx.bigpond.com@DENZILLAP> Hi All I have a table on an RS report When the table is bound to a simple Select statement EG select * from Customers I can then further bind each control on the report to a field in the recordset. EG I select the relevant text box - then from the property sheet I select from the list of available fields in the 'Value' combo box on the property sheet EG txtCustomer value in the property sheet = Fields!CustomerName.Value Cool But when I change the recordset for the table to a Stored Proc I see no available fields when I select a Text box and try to bind it to a value in the propertyy sheet Infact rather than a list of available fields, all I can see is Don't know where to go from here - any suggestions appreciated Many thanks Darren From fhtapia at gmail.com Mon Feb 20 22:21:11 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 20 Feb 2006 20:21:11 -0800 Subject: [dba-SQLServer] RepServices: Binding a table to a StoredProc In-Reply-To: <20060221041438.PGTM18661.omta02sl.mx.bigpond.com@DENZILLAP> References: <20060221041438.PGTM18661.omta02sl.mx.bigpond.com@DENZILLAP> Message-ID: is this RS 2000 or 2005? in your sproc is it a select from a table or temp? or cursor?... i've had the best luck on sprocs declaring a variable dummy table up front to get the fields I need... ie, declare @dummy Table (Field1 int, field2 varchar(8), ...) On 2/20/06, Darren DICK wrote: > > Hi All > I have a table on an RS report > > When the table is bound to a simple Select statement EG select * from > Customers > I can then further bind each control on the report to a field in the > recordset. > > EG I select the relevant text box - then from the property sheet I select > from the list of available fields > in the 'Value' combo box on the property sheet > > EG txtCustomer value in the property sheet = Fields!CustomerName.Value > Cool > > But when I change the recordset for the table to a Stored Proc > I see no available fields when I select a Text box and try to bind it to a > value in the propertyy sheet > Infact rather than a list of available fields, all I can see is > > > Don't know where to go from here - any suggestions appreciated > > Many thanks > > Darren > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From darrend at nimble.com.au Mon Feb 20 22:33:14 2006 From: darrend at nimble.com.au (Darren DICK) Date: Tue, 21 Feb 2006 15:33:14 +1100 Subject: [dba-SQLServer] RepServices: Binding a table to a StoredProc In-Reply-To: Message-ID: <20060221043334.XJXG1358.omta03sl.mx.bigpond.com@DENZILLAP> Hi Francisco Microsoft SQL Server Report Designer Version 8.00.1038.00 - Dunno if that is RS 2000 or RS 2005 The SPROC returns various SQL statements depending on what is passed to it So I think it is a select from aTable - Dunno what a Cursor is - apart from a mouse cursor Thanks Darren ------------------------------ T: 0424 696 433 -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, 21 February 2006 3:21 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] RepServices: Binding a table to a StoredProc is this RS 2000 or 2005? in your sproc is it a select from a table or temp? or cursor?... i've had the best luck on sprocs declaring a variable dummy table up front to get the fields I need... ie, declare @dummy Table (Field1 int, field2 varchar(8), ...) On 2/20/06, Darren DICK wrote: > > Hi All > I have a table on an RS report > > When the table is bound to a simple Select statement EG select * from > Customers I can then further bind each control on the report to a > field in the recordset. > > EG I select the relevant text box - then from the property sheet I > select from the list of available fields in the 'Value' combo box on > the property sheet > > EG txtCustomer value in the property sheet = Fields!CustomerName.Value > Cool > > But when I change the recordset for the table to a Stored Proc I see > no available fields when I select a Text box and try to bind it to a > value in the propertyy sheet Infact rather than a list of available > fields, all I can see is > > Don't know where to go from here - any suggestions appreciated > > Many thanks > > Darren > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From andrew.haslett at ilc.gov.au Wed Feb 22 00:58:11 2006 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Wed, 22 Feb 2006 17:28:11 +1030 Subject: [dba-SQLServer] Determine if a database is no longer in use? Message-ID: <0A870603A2A816459078203FC07F4CD2BE389F@adl01s055.ilcorp.gov.au> In EM: Management -> Security -> Process Info (sort by database) OR Take the database offline (All tasks -> take off-line) and see if the application falls over. A -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Lavsa, Rich Sent: Tuesday, 21 February 2006 5:38 AM To: dba-sqlserver at databaseadvisors.com Subject: [dba-SQLServer] Determine if a database is no longer in use? Hello all, We have SQL Server 2000 sp3a running just to please some small off the shelf solutions we purchased, and to develop some small in house applications. WE also let this SQL install open to all Administrators as they should use this to log data if their application allows it to be logged to a SQL Server database, such as Insight Manager. Which is where my problem begins. For instance there are 2 databases set up on the server for Insight Manager. I know who installed them, however they do not remember if they pointed the latest install to the SQL server. So without confusing him and making him figure out what he had done, or if the installations on the server are valid or not I'd rather answer my own questions. What I want to do is delete them if they are not being used for anything. Then once I clean this up, I want to lock the SQL server down so that only I can create databases there, and if they need one built they need to ask me first as I am responsible for this server. Is there an easy way to determine if a database is no longer in use? Rich _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com IMPORTANT - PLEASE READ *** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From listmaster at databaseadvisors.com Fri Feb 24 04:48:04 2006 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Fri, 24 Feb 2006 05:48:04 -0500 Subject: [dba-SQLServer] Administrivia - Service Outage Announcement Message-ID: The company that hosts our mailing list will be performing some emergency server maintenance that will affect our server. This maintenance is scheduled for tomorrow Feb 24, 2006 between 10:00 AM and 5:00 PM Central Time (GMT -0600). Goto http://www.timezoneconverter.com/cgi-bin/tzc.tzc to figure out what time that is is your area. Use CST6CDT as the From Time Zone and then select your time zone in the To Time Zone. The impact to our service will be minimal. You may notice a short downtime, about 15 minutes at most. The physical server will be rebooted at that time and your service will resume normally. Thanks for your understanding. We apologize for the inconvenience. -- Bryan Carbonnell - listmaster at databaseadvisors.com Learning is a treasure that will follow its owner everywhere. From artful at rogers.com Fri Feb 24 18:56:17 2006 From: artful at rogers.com (Arthur Fuller) Date: Fri, 24 Feb 2006 19:56:17 -0500 Subject: [dba-SQLServer] Please Visit In-Reply-To: <6.2.3.4.2.20060130135538.03048618@pop3.highstream.net> Message-ID: <055701c639a6$492c9250$8e01a8c0@rock> Self-Serving Note: my latest SQL thing is available at http://www.simple-talk.com/2006/02/17/intelligent-database-design-using-hash -keys/ The more visits, the better I look, so please visit, and please comment. Besides the self-serving aspect of this column, I think that this idea might prove useful to more than one of you. But truth be told, they measure their ROI on number-of-hits, so the more the better, from my point of view :) TIA, Arthur From harkinsss at bellsouth.net Sat Feb 25 15:56:44 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sat, 25 Feb 2006 16:56:44 -0500 Subject: [dba-SQLServer] ASP.NET Message-ID: <000601c63a56$6cadb640$d3b3d6d1@SUSANONE> Anyone using SQL SErver with ASP.NET? Specifically, I'm looking for someone who knows the ins and outs of managing session state for ASP.NET applications. Susan H. From mwp.reid at qub.ac.uk Sun Feb 26 03:31:39 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 26 Feb 2006 09:31:39 -0000 Subject: [dba-SQLServer] ASP.NET Message-ID: <044501c63ab7$80496699$1b0e758f@ads.qub.ac.uk> If its a quick edit u need gimme a shout -----Original Message----- From: "Susan Harkins" Sent: 2/25/06 9:59:49 PM To: "SQLList" Subject: [dba-SQLServer] ASP.NET Anyone using SQL SErver with ASP.NET? Specifically, I'm looking for someone who knows the ins and outs of managing session state for ASP.NET applications. Susan H. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From artful at rogers.com Sun Feb 26 07:35:49 2006 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Feb 2006 08:35:49 -0500 Subject: [dba-SQLServer] Include data in Generate SQL Script In-Reply-To: <20060131010816.JOHD19070.omta01ps.mx.bigpond.com@DENZILLAP> Message-ID: <013201c63ad9$8e7f9d00$8e01a8c0@rock> For this sort of thing, I use dbScripter. Google that or "DKS Advanced Solutions, Inc." This product will let you script out any database in a variety of ways, including selective tables. It will write both the DDL and the Insert statements. And you can target the receiving DB, so that certain data types will be converted to the types expected by the receiver. I have been using it for years, and it is rock-solid. Arthur -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: January 30, 2006 8:08 PM To: dba-sqlserver at databaseadvisors.com Subject: [dba-SQLServer] Include data in Generate SQL Script Hi all When I use "Generate SQL script" to create a 'blank' dB of tables etc, is there an option, a tool (even 3rd party tool) that will allow me to say... Select certain tables in the original dB and to to have the data in those tables included in the "Generate SQL script"? Make sense? Many thanks Darren From artful at rogers.com Sun Feb 26 07:40:50 2006 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Feb 2006 08:40:50 -0500 Subject: [dba-SQLServer] SQL Server Database Replication Between Two Servers In-Reply-To: <14A7AB003EFD444BBB193A23128DA20EC035A1@AL-PRI.Aldridge.local> Message-ID: <013301c63ada$41df1ba0$8e01a8c0@rock> I've been a bit tardy replying to messages on this list due to work-load, but if you haven't already had a satisfactory answer, try using a trigger. You will have to reference the other database explicitly of course, using the standard dot notation: ServerName.DatabaseName.TableName. HTH, Arthur -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Paul Hartland Sent: January 31, 2006 7:07 AM To: dba-sqlserver at databaseadvisors.com Subject: [dba-SQLServer] SQL Server Database Replication Between Two Servers Importance: High To all, We have two servers (for the purpose of security lets call them SRV_1 and SRV_2) which both have a copy of SQL Server 2000 on them, onto which I have placed a test database (Dbase_Rep). When a user updates the database on SRV_1 I need the changes to also be made on SRV_2 either instantly or at a desired time interval. I know this can be done and have had a quick play and almost got it there. Does anyone have an idiot proof step by step guide starting from scratch or know where I can get one from. Thanks in advance for any help on this. PAUL HARTLAND From darrend at nimble.com.au Sun Feb 26 07:49:14 2006 From: darrend at nimble.com.au (Darren DICK) Date: Mon, 27 Feb 2006 00:49:14 +1100 Subject: [dba-SQLServer] Include data in Generate SQL Script In-Reply-To: <013201c63ad9$8e7f9d00$8e01a8c0@rock> Message-ID: <20060226134919.GYTW17345.omta04ps.mx.bigpond.com@DENZILLAP> Brilliant Arthur I will give it a go and pass it on to our resident SQL guru Darren ------------------------------ T: 0424 696 433 -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, 27 February 2006 12:36 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] Include data in Generate SQL Script For this sort of thing, I use dbScripter. Google that or "DKS Advanced Solutions, Inc." This product will let you script out any database in a variety of ways, including selective tables. It will write both the DDL and the Insert statements. And you can target the receiving DB, so that certain data types will be converted to the types expected by the receiver. I have been using it for years, and it is rock-solid. Arthur -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: January 30, 2006 8:08 PM To: dba-sqlserver at databaseadvisors.com Subject: [dba-SQLServer] Include data in Generate SQL Script Hi all When I use "Generate SQL script" to create a 'blank' dB of tables etc, is there an option, a tool (even 3rd party tool) that will allow me to say... Select certain tables in the original dB and to to have the data in those tables included in the "Generate SQL script"? Make sense? Many thanks Darren _______________________________________________ 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 Sun Feb 26 07:52:04 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sun, 26 Feb 2006 08:52:04 -0500 Subject: [dba-SQLServer] ASP.NET In-Reply-To: <044501c63ab7$80496699$1b0e758f@ads.qub.ac.uk> Message-ID: <000701c63adb$daaa98e0$dcb3d6d1@SUSANONE> No, not even written yet. Don't know whether to accept the assignment or turn it to down. Susan H. If its a quick edit u need gimme a shout Anyone using SQL SErver with ASP.NET? Specifically, I'm looking for someone who knows the ins and outs of managing session state for ASP.NET applications. From mwp.reid at qub.ac.uk Sun Feb 26 09:29:11 2006 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 26 Feb 2006 15:29:11 -0000 Subject: [dba-SQLServer] ASP.NET Message-ID: <044601c63ae9$733f4b64$1b0e758f@ads.qub.ac.uk> What is it -----Original Message----- From: "Susan Harkins" Sent: 2/26/06 1:56:24 PM To: "dba-sqlserver at databaseadvisors.com" Subject: Re: [dba-SQLServer] ASP.NET No, not even written yet. Don't know whether to accept the assignment or turn it to down. Susan H. If its a quick edit u need gimme a shout Anyone using SQL SErver with ASP.NET? Specifically, I'm looking for someone who knows the ins and outs of managing session state for ASP.NET applications. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From artful at rogers.com Sun Feb 26 09:42:03 2006 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Feb 2006 10:42:03 -0500 Subject: [dba-SQLServer] Walk the lists of sprocs and udfs In-Reply-To: <6.2.3.4.2.20060208121300.032fd1c0@pop3.highstream.net> Message-ID: <013d01c63aeb$31430840$8e01a8c0@rock> I want to walk the list of stored procedures and UDFs within a given database, using TSQL, and let's say print their names. Anyone know how to do that? Once I figure out how to do that, I then want to grab the source code for each sproc/udf and apply a Regex to it. TIA, Arthur From fhtapia at gmail.com Sun Feb 26 23:34:38 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Sun, 26 Feb 2006 21:34:38 -0800 Subject: [dba-SQLServer] Walk the lists of sprocs and udfs In-Reply-To: <013d01c63aeb$31430840$8e01a8c0@rock> References: <6.2.3.4.2.20060208121300.032fd1c0@pop3.highstream.net> <013d01c63aeb$31430840$8e01a8c0@rock> Message-ID: I typically just use the object browser (F4) in QA to find the sprocs / functions I need. On 2/26/06, Arthur Fuller wrote: > > I want to walk the list of stored procedures and UDFs within a given > database, using TSQL, and let's say print their names. Anyone know how to > do > that? > Once I figure out how to do that, I then want to grab the source code for > each sproc/udf and apply a Regex to it. > TIA, > Arthur > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From andrew.haslett at ilc.gov.au Sun Feb 26 23:47:46 2006 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Mon, 27 Feb 2006 16:17:46 +1030 Subject: [dba-SQLServer] Walk the lists of sprocs and udfs Message-ID: <0A870603A2A816459078203FC07F4CD2BE38E0@adl01s055.ilcorp.gov.au> You should be able to query the INFORMATION_SCHEMA views for that type of info. Google should give you a few hits. Cheers, A -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, 27 February 2006 2:12 AM To: dba-sqlserver at databaseadvisors.com Subject: [dba-SQLServer] Walk the lists of sprocs and udfs I want to walk the list of stored procedures and UDFs within a given database, using TSQL, and let's say print their names. Anyone know how to do that? Once I figure out how to do that, I then want to grab the source code for each sproc/udf and apply a Regex to it. TIA, Arthur _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com IMPORTANT - PLEASE READ *** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From erbachs at gmail.com Mon Feb 27 08:48:55 2006 From: erbachs at gmail.com (Steve Erbach) Date: Mon, 27 Feb 2006 08:48:55 -0600 Subject: [dba-SQLServer] ASP.NET In-Reply-To: <000601c63a56$6cadb640$d3b3d6d1@SUSANONE> References: <000601c63a56$6cadb640$d3b3d6d1@SUSANONE> Message-ID: <39cb22f30602270648m63443723oddc3836be39d0c0c@mail.gmail.com> Susan, I've used SQL Server 2000 with ASP.NET in an application I did about a year ago. More recently I've used SQL Server with ASP. I think that Charlotte would have some good things to offer, but I'll give it a go, too. Steve Erbach Neenah, WI http://TheTownCrank.blogspot.com On 2/25/06, Susan Harkins wrote: > Anyone using SQL SErver with ASP.NET? Specifically, I'm looking for someone > who knows the ins and outs of managing session state for ASP.NET > applications. > > Susan H. > > ______ From erbachs at gmail.com Mon Feb 27 08:48:55 2006 From: erbachs at gmail.com (Steve Erbach) Date: Mon, 27 Feb 2006 08:48:55 -0600 Subject: [dba-SQLServer] ASP.NET In-Reply-To: <000601c63a56$6cadb640$d3b3d6d1@SUSANONE> References: <000601c63a56$6cadb640$d3b3d6d1@SUSANONE> Message-ID: <39cb22f30602270648m63443723oddc3836be39d0c0c@mail.gmail.com> Susan, I've used SQL Server 2000 with ASP.NET in an application I did about a year ago. More recently I've used SQL Server with ASP. I think that Charlotte would have some good things to offer, but I'll give it a go, too. Steve Erbach Neenah, WI http://TheTownCrank.blogspot.com On 2/25/06, Susan Harkins wrote: > Anyone using SQL SErver with ASP.NET? Specifically, I'm looking for someone > who knows the ins and outs of managing session state for ASP.NET > applications. > > Susan H. > > ______ From harkinsss at bellsouth.net Mon Feb 27 09:13:34 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 27 Feb 2006 10:13:34 -0500 Subject: [dba-SQLServer] ASP.NET In-Reply-To: <39cb22f30602270648m63443723oddc3836be39d0c0c@mail.gmail.com> Message-ID: <001301c63bb0$6175c9b0$a4b3d6d1@SUSANONE> I appreciate the offer. I've already turned it down. They've already run an intro -- a very good and thorough one -- and they want something more in-depth than I think I'd want to tackle, even with someone that really knows what they're doing. Having experts to help is great, but if I don't know enough to ask the right questions, it can be a disaster. :( However, any good ideas, I'll be glad to pass along. :) Susan H. Susan, I've used SQL Server 2000 with ASP.NET in an application I did about a year ago. More recently I've used SQL Server with ASP. I think that Charlotte would have some good things to offer, but I'll give it a go, too. Steve Erbach Neenah, WI http://TheTownCrank.blogspot.com From rl_stewart at highstream.net Mon Feb 27 09:16:05 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Mon, 27 Feb 2006 10:16:05 -0500 Subject: [dba-SQLServer] Walk the lists of sprocs and udfs In-Reply-To: References: Message-ID: <1141053365.440317b51ab53@webmail.highstream.net> Arthur, No UDFs, so I cannot answer that for you. SQL 2005: SELECT * FROM sys.all_objects WHERE [type] = 'p' SQL 2000: SELECT * FROM sysobjects WHERE xtype = 'p' This will give you all of the information for the stored procs so you can use that list to walk through. I am not sure where the souce code for them resides yet. Robert L. Stewart The Dyson Group International Software for the Non-profit Enterprise Expanding your Sphere of Knowledge > Date: Sun, 26 Feb 2006 10:42:03 -0500 > From: "Arthur Fuller" > Subject: [dba-SQLServer] Walk the lists of sprocs and udfs > To: > Message-ID: <013d01c63aeb$31430840$8e01a8c0 at rock> > Content-Type: text/plain; charset="us-ascii" > > I want to walk the list of stored procedures and UDFs within a given > database, using TSQL, and let's say print their names. Anyone know how to do > that? > Once I figure out how to do that, I then want to grab the source code for > each sproc/udf and apply a Regex to it. > TIA, > Arthur From rl_stewart at highstream.net Mon Feb 27 09:17:02 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Mon, 27 Feb 2006 10:17:02 -0500 Subject: [dba-SQLServer] dba-SQLServer Digest, Vol 36, Issue 23 In-Reply-To: References: Message-ID: <1141053422.440317eea1a41@webmail.highstream.net> I am. Do you have a specific question? 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: > Date: Sat, 25 Feb 2006 16:56:44 -0500 > From: "Susan Harkins" > Subject: [dba-SQLServer] ASP.NET > To: "SQLList" > Message-ID: <000601c63a56$6cadb640$d3b3d6d1 at SUSANONE> > Content-Type: text/plain; charset="us-ascii" > > Anyone using SQL SErver with ASP.NET? Specifically, I'm looking for someone > who knows the ins and outs of managing session state for ASP.NET > applications. > > Susan H. From martyconnelly at shaw.ca Mon Feb 27 11:51:48 2006 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 27 Feb 2006 09:51:48 -0800 Subject: [dba-SQLServer] ASP.NET References: <000701c63adb$daaa98e0$dcb3d6d1@SUSANONE> Message-ID: <44033C34.2010302@shaw.ca> It gets a little messy handling session states over multiple servers and there are different methods used between ASP.NET 2.0 and ASP.NET 1.x Jeff Prosise's blog entry on session state partitioning in ASP.NET 2.0. Related: Mike Volodarsky's article on session state management. http://msdn.microsoft.com/msdnmag/issues/05/09/SessionState/default.aspx http://wintellect.com/WEBLOGS/wintellect/archive/2005/12/06/2400.aspx http://msdn.microsoft.com/msdnmag/issues/04/08/WickedCode/ Susan Harkins wrote: >No, not even written yet. Don't know whether to accept the assignment or >turn it to down. > >Susan H. > >If its a quick edit u need gimme a shout > > >Anyone using SQL SErver with ASP.NET? Specifically, I'm looking for someone >who knows the ins and outs of managing session state for ASP.NET >applications. > > >_______________________________________________ >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 Feb 27 16:39:49 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 27 Feb 2006 17:39:49 -0500 Subject: [dba-SQLServer] SELECT INTO question Message-ID: <003a01c63bee$b9ce0620$bbb3d6d1@SUSANONE> In Jet SQL, the SELECT INTO statement will overwrite an existing table if the target table already exists. I just checked SQL Server Express and it did NOT overwrite an existing table -- the statement failed with an error. I uninstalled SQL Server awhile back, so I can't check it -- can anybody tell me how SQL Server responds? Susan H. From dmcafee at pacbell.net Mon Feb 27 16:51:08 2006 From: dmcafee at pacbell.net (David McAfee) Date: Mon, 27 Feb 2006 14:51:08 -0800 Subject: [dba-SQLServer] SELECT INTO question In-Reply-To: <003a01c63bee$b9ce0620$bbb3d6d1@SUSANONE> Message-ID: SQL Server 2000 works like access. Some coworkers like using this method. I don't. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, February 27, 2006 2:40 PM To: SQLList Subject: [dba-SQLServer] SELECT INTO question In Jet SQL, the SELECT INTO statement will overwrite an existing table if the target table already exists. I just checked SQL Server Express and it did NOT overwrite an existing table -- the statement failed with an error. I uninstalled SQL Server awhile back, so I can't check it -- can anybody tell me how SQL Server responds? Susan H. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From James at fcidms.com Mon Feb 27 16:53:07 2006 From: James at fcidms.com (James Barash) Date: Mon, 27 Feb 2006 17:53:07 -0500 Subject: [dba-SQLServer] SELECT INTO question In-Reply-To: <003a01c63bee$b9ce0620$bbb3d6d1@SUSANONE> Message-ID: <008901c63bf0$93a6f4a0$800101df@fci.local> SQL Server 2000 also fails with an error. I don't have SQL Server 2005 so I can't test that. James Barash -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, February 27, 2006 5:40 PM To: SQLList Subject: [dba-SQLServer] SELECT INTO question In Jet SQL, the SELECT INTO statement will overwrite an existing table if the target table already exists. I just checked SQL Server Express and it did NOT overwrite an existing table -- the statement failed with an error. I uninstalled SQL Server awhile back, so I can't check it -- can anybody tell me how SQL Server responds? 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 Mon Feb 27 16:57:36 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 27 Feb 2006 17:57:36 -0500 Subject: [dba-SQLServer] SELECT INTO question In-Reply-To: <008901c63bf0$93a6f4a0$800101df@fci.local> Message-ID: <003c01c63bf1$347b97f0$bbb3d6d1@SUSANONE> OK, you guys seem to disagree. :) Who's right????? ;) Susan H. SQL Server 2000 also fails with an error. I don't have SQL Server 2005 so I can't test that. James Barash In Jet SQL, the SELECT INTO statement will overwrite an existing table if the target table already exists. I just checked SQL Server Express and it did NOT overwrite an existing table -- the statement failed with an error. I uninstalled SQL Server awhile back, so I can't check it -- can anybody tell me how SQL Server responds? From dmcafee at pacbell.net Mon Feb 27 17:02:32 2006 From: dmcafee at pacbell.net (David McAfee) Date: Mon, 27 Feb 2006 15:02:32 -0800 Subject: [dba-SQLServer] SELECT INTO question In-Reply-To: Message-ID: Sorry I read that wrong. In SQL 2000, if the correct data types are selected, it will simply insert the values as new records: INSERT INTO tblTest SELECT 'Test3' (table tblTest only has one field, a char(10) ) If the table does not exist, the table will be created (this is what I was referring to in my last post). If the table already exists but the number or columns are different or the types don't match, then the user will get an error. David -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, February 27, 2006 2:51 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SELECT INTO question SQL Server 2000 works like access. Some coworkers like using this method. I don't. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, February 27, 2006 2:40 PM To: SQLList Subject: [dba-SQLServer] SELECT INTO question In Jet SQL, the SELECT INTO statement will overwrite an existing table if the target table already exists. I just checked SQL Server Express and it did NOT overwrite an existing table -- the statement failed with an error. I uninstalled SQL Server awhile back, so I can't check it -- can anybody tell me how SQL Server responds? 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 From dmcafee at pacbell.net Mon Feb 27 17:06:44 2006 From: dmcafee at pacbell.net (David McAfee) Date: Mon, 27 Feb 2006 15:06:44 -0800 Subject: [dba-SQLServer] SELECT INTO question In-Reply-To: Message-ID: Nope, I take that back. My third statement was wrong. James was right. D -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, February 27, 2006 3:03 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SELECT INTO question Sorry I read that wrong. In SQL 2000, if the correct data types are selected, it will simply insert the values as new records: INSERT INTO tblTest SELECT 'Test3' (table tblTest only has one field, a char(10) ) If the table does not exist, the table will be created (this is what I was referring to in my last post). If the table already exists but the number or columns are different or the types don't match, then the user will get an error. David -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, February 27, 2006 2:51 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SELECT INTO question SQL Server 2000 works like access. Some coworkers like using this method. I don't. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, February 27, 2006 2:40 PM To: SQLList Subject: [dba-SQLServer] SELECT INTO question In Jet SQL, the SELECT INTO statement will overwrite an existing table if the target table already exists. I just checked SQL Server Express and it did NOT overwrite an existing table -- the statement failed with an error. I uninstalled SQL Server awhile back, so I can't check it -- can anybody tell me how SQL Server responds? 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 _______________________________________________ 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 Feb 27 17:06:42 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 27 Feb 2006 18:06:42 -0500 Subject: [dba-SQLServer] SELECT INTO question In-Reply-To: Message-ID: <004d01c63bf2$79a9bf90$bbb3d6d1@SUSANONE> Not INSERT INTO, SELECT INTO... SELECT INTO creates a new table: SELECT * INTO newtable FROM sourcetable In Jet, if newtable exists, the statement writes over the existing instance of newtable. In SQL Server Express, the statement fails with an error that newtable already exists. I'm wondering which way SQL Server goes. Susan H. Sorry I read that wrong. In SQL 2000, if the correct data types are selected, it will simply insert the values as new records: INSERT INTO tblTest SELECT 'Test3' (table tblTest only has one field, a char(10) ) If the table does not exist, the table will be created (this is what I was referring to in my last post). If the table already exists but the number or columns are different or the types don't match, then the user will get an error. David -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, February 27, 2006 2:51 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SELECT INTO question SQL Server 2000 works like access. Some coworkers like using this method. I don't. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, February 27, 2006 2:40 PM To: SQLList Subject: [dba-SQLServer] SELECT INTO question In Jet SQL, the SELECT INTO statement will overwrite an existing table if the target table already exists. I just checked SQL Server Express and it did NOT overwrite an existing table -- the statement failed with an error. I uninstalled SQL Server awhile back, so I can't check it -- can anybody tell me how SQL Server responds? 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 _______________________________________________ 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.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006 From dmcafee at pacbell.net Mon Feb 27 17:18:07 2006 From: dmcafee at pacbell.net (David McAfee) Date: Mon, 27 Feb 2006 15:18:07 -0800 Subject: [dba-SQLServer] SELECT INTO question In-Reply-To: <004d01c63bf2$79a9bf90$bbb3d6d1@SUSANONE> Message-ID: >From SQL Help INTO Clause Creates a new table and inserts the resulting rows from the query into it. The user executing a SELECT statement with the INTO clause must have CREATE TABLE permission in the destination database. SELECT...INTO cannot be used with the COMPUTE. For more information, see Transactions and Explicit Transactions. You can use SELECT...INTO to create an identical table definition (different table name) with no data by having a FALSE condition in the WHERE clause. But it seems to error each time for me, no matter how I use it. D -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, February 27, 2006 3:07 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SELECT INTO question Not INSERT INTO, SELECT INTO... SELECT INTO creates a new table: SELECT * INTO newtable FROM sourcetable In Jet, if newtable exists, the statement writes over the existing instance of newtable. In SQL Server Express, the statement fails with an error that newtable already exists. I'm wondering which way SQL Server goes. Susan H. Sorry I read that wrong. In SQL 2000, if the correct data types are selected, it will simply insert the values as new records: INSERT INTO tblTest SELECT 'Test3' (table tblTest only has one field, a char(10) ) If the table does not exist, the table will be created (this is what I was referring to in my last post). If the table already exists but the number or columns are different or the types don't match, then the user will get an error. David -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, February 27, 2006 2:51 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SELECT INTO question SQL Server 2000 works like access. Some coworkers like using this method. I don't. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, February 27, 2006 2:40 PM To: SQLList Subject: [dba-SQLServer] SELECT INTO question In Jet SQL, the SELECT INTO statement will overwrite an existing table if the target table already exists. I just checked SQL Server Express and it did NOT overwrite an existing table -- the statement failed with an error. I uninstalled SQL Server awhile back, so I can't check it -- can anybody tell me how SQL Server responds? 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 _______________________________________________ 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.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006 _______________________________________________ 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 Feb 27 17:26:39 2006 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 27 Feb 2006 18:26:39 -0500 Subject: [dba-SQLServer] SELECT INTO question In-Reply-To: Message-ID: <004e01c63bf5$4361d870$bbb3d6d1@SUSANONE> Oh please come out of the corner. :) Thanks for trying to help! Susan H. Nope, I take that back. My third statement was wrong. James was right. Sorry I read that wrong. In SQL 2000, if the correct data types are selected, it will simply insert the values as new records: INSERT INTO tblTest SELECT 'Test3' (table tblTest only has one field, a char(10) ) If the table does not exist, the table will be created (this is what I was referring to in my last post). If the table already exists but the number or columns are different or the types don't match, then the user will get an error. David -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, February 27, 2006 2:51 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] SELECT INTO question SQL Server 2000 works like access. Some coworkers like using this method. I don't. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, February 27, 2006 2:40 PM To: SQLList Subject: [dba-SQLServer] SELECT INTO question In Jet SQL, the SELECT INTO statement will overwrite an existing table if the target table already exists. I just checked SQL Server Express and it did NOT overwrite an existing table -- the statement failed with an error. I uninstalled SQL Server awhile back, so I can't check it -- can anybody tell me how SQL Server responds? 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 _______________________________________________ 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.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006 From fhtapia at gmail.com Mon Feb 27 23:27:40 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 27 Feb 2006 21:27:40 -0800 Subject: [dba-SQLServer] SELECT INTO question In-Reply-To: References: <004d01c63bf2$79a9bf90$bbb3d6d1@SUSANONE> Message-ID: Typically you'd use it by saying something like, SELECT * INTO tblNewTableName From tblOldTableName where 1 = 0. This copies everything but the indexes.... This method works great for the lazy typist out there who don't like to Write out the fields of their Temp Tables, as you know writing to a temp table w/ the where clause instead of explcitly defining it first or the method above, can cause a temporary lock while the table is created as it waits for the data to be retreived.... On 2/27/06, David McAfee wrote: > > >From SQL Help > > INTO Clause > Creates a new table and inserts the resulting rows from the query into it. > > The user executing a SELECT statement with the INTO clause must have > CREATE > TABLE permission in the destination database. SELECT...INTO cannot be used > with the COMPUTE. For more information, see Transactions and Explicit > Transactions. > > You can use SELECT...INTO to create an identical table definition > (different > table name) with no data by having a FALSE condition in the WHERE clause. > > > But it seems to error each time for me, no matter how I use it. > > D > > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Monday, February 27, 2006 3:07 PM > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] SELECT INTO question > > > Not INSERT INTO, SELECT INTO... > > SELECT INTO creates a new table: > > SELECT * INTO newtable > FROM sourcetable > > In Jet, if newtable exists, the statement writes over the existing > instance > of newtable. In SQL Server Express, the statement fails with an error that > newtable already exists. I'm wondering which way SQL Server goes. > > Susan H. > > Sorry I read that wrong. In SQL 2000, if the correct data types are > selected, it will simply insert the values as new records: > > > INSERT INTO tblTest SELECT 'Test3' (table tblTest only has one field, a > char(10) ) > > > If the table does not exist, the table will be created (this is what I was > referring to in my last post). > > If the table already exists but the number or columns are different or the > types don't match, then the user will get an error. > > David > > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of David > McAfee > Sent: Monday, February 27, 2006 2:51 PM > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] SELECT INTO question > > > SQL Server 2000 works like access. Some coworkers like using this method. > I > don't. > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Monday, February 27, 2006 2:40 PM > To: SQLList > Subject: [dba-SQLServer] SELECT INTO question > > > In Jet SQL, the SELECT INTO statement will overwrite an existing table if > the target table already exists. I just checked SQL Server Express and it > did NOT overwrite an existing table -- the statement failed with an error. > I > uninstalled SQL Server awhile back, so I can't check it -- can anybody > tell > me how SQL Server responds? > > 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 > > > _______________________________________________ > 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.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006 > > > _______________________________________________ > 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 > > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From KP at sdsonline.net Tue Feb 28 03:14:03 2006 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 28 Feb 2006 20:14:03 +1100 Subject: [dba-SQLServer] HELP!!! sQL SERVER WON'T INSTALL Message-ID: <001001c63c47$52d4a510$6401a8c0@user> Anyone help with this error? I have installed MS Visual Studio and then when trying top install SQL Server 2005, it does a system configuration check and gives me an error which prevents the install going through successfully. Error is: - COM Plus Catalog Requirement (Warning) Messages ? COM Plus Catalog Requirement If SQL Server Setup fails, Setup will roll back the installation but may not remove all .manifest files. The workaround is to rename the files and then rerun Setup. For more information, see How to: Work Around COM+ Check Failure in SQL Server Setup." I have looked thru help (and googled) and followed instructions there (to reinstall Component services snap in, and reinstall com) and I've done evrything suggested.. But no luck - - getting desperate after 8 hours of this today. I even restored to a ghosted image and re-installed everything new only to get this again. Kath Pelletti From darrend at nimble.com.au Tue Feb 28 07:22:00 2006 From: darrend at nimble.com.au (Darren HALL) Date: Wed, 1 Mar 2006 00:22:00 +1100 Subject: [dba-SQLServer] Wend Statement Not Allowed Message-ID: <20060228132205.DLBH16720.omta01sl.mx.bigpond.com@DENZILLAP> Hello all In reporting services if I run the code below (from Lambert over at AccessD) I get the error message... "Wend statements are no longer supported . Use "End While" statements instead So If I replace wend with End while I don't get the desired result The desired result is From..... .C:\Program Files\Some Folder\some cool file.dll I want.....some cool file.dll But I am getting.....C:\Program Files\Some Folder any suggestions?? Many thanks Darren Code Start>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Function GetPath(aPath) As String Dim foo As Integer, aSlash As Integer aSlash = 0 foo = InStr(aPath, "\") While (foo > 0) aSlash = foo foo = InStr(aSlash + 1, aPath, "\") end while If aSlash > 0 Then GetPath = Left$(aPath, aSlash) Else GetPath = aPath End If End Function From fhtapia at gmail.com Tue Feb 28 11:14:58 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 28 Feb 2006 09:14:58 -0800 Subject: [dba-SQLServer] HELP!!! sQL SERVER WON'T INSTALL In-Reply-To: <001001c63c47$52d4a510$6401a8c0@user> References: <001001c63c47$52d4a510$6401a8c0@user> Message-ID: the following may not help a lot, but... visit vmware.com and download their "free" vmserver, next install a clean OS and retry your VS2005/SS2005. There may be other conflicts with your exisiting environment. are you doing the full version or the express? -- Francisco On 2/28/06, Kath Pelletti wrote: > > Anyone help with this error? > > I have installed MS Visual Studio and then when trying top install SQL > Server 2005, it does a system configuration check and gives me an error > which prevents the install going through successfully. > > Error is: > > - COM Plus Catalog Requirement (Warning) > > Messages > > ? COM Plus Catalog Requirement > > > If SQL Server Setup fails, Setup will roll back the installation but may > not remove all .manifest files. The workaround is to rename the files and > then rerun Setup. For more information, see How to: Work Around COM+ Check > Failure in SQL Server Setup." > > > > > > I have looked thru help (and googled) and followed instructions there (to > reinstall Component services snap in, and reinstall com) and I've done > evrything suggested.. > > > > But no luck - - getting desperate after 8 hours of this today. I even > restored to a ghosted image and re-installed everything new only to get this > again. > > > > > > Kath Pelletti > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From fhtapia at gmail.com Tue Feb 28 11:17:48 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 28 Feb 2006 09:17:48 -0800 Subject: [dba-SQLServer] Wend Statement Not Allowed In-Reply-To: <20060228132205.DLBH16720.omta01sl.mx.bigpond.com@DENZILLAP> References: <20060228132205.DLBH16720.omta01sl.mx.bigpond.com@DENZILLAP> Message-ID: in RS where are you placing this code? On 2/28/06, Darren HALL wrote: > > Hello all > In reporting services if I run the code below (from Lambert over at > AccessD) I > get the error message... > "Wend statements are no longer supported . Use "End While" statements > instead > > So If I replace wend with End while I don't get the desired result > > The desired result is > From..... .C:\Program Files\Some Folder\some cool file.dll > I want.....some cool file.dll > But > I am getting.....C:\Program Files\Some Folder > > any suggestions?? > Many thanks > > Darren > > > Code Start>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > Function GetPath(aPath) As String > Dim foo As Integer, aSlash As Integer > aSlash = 0 > foo = InStr(aPath, "\") > While (foo > 0) > aSlash = foo > foo = InStr(aSlash + 1, aPath, "\") > end while > If aSlash > 0 Then > GetPath = Left$(aPath, aSlash) > Else > GetPath = aPath > End If > End Function > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From fhtapia at gmail.com Tue Feb 28 11:20:21 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 28 Feb 2006 09:20:21 -0800 Subject: [dba-SQLServer] SQL Server Database Replication Between Two Servers In-Reply-To: <013301c63ada$41df1ba0$8e01a8c0@rock> References: <14A7AB003EFD444BBB193A23128DA20EC035A1@AL-PRI.Aldridge.local> <013301c63ada$41df1ba0$8e01a8c0@rock> Message-ID: Paul, If you can upgrade the servers to 2005 (do this first in dev), then you can utilize database mirroring wich is much easier to setup than replication and seems to handle collisions a lot better. On 2/26/06, Arthur Fuller wrote: > > I've been a bit tardy replying to messages on this list due to work-load, > but if you haven't already had a satisfactory answer, try using a trigger. > You will have to reference the other database explicitly of course, using > the standard dot notation: ServerName.DatabaseName.TableName. > HTH, > Arthur > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Paul > Hartland > Sent: January 31, 2006 7:07 AM > To: dba-sqlserver at databaseadvisors.com > Subject: [dba-SQLServer] SQL Server Database Replication Between Two > Servers > Importance: High > > To all, > We have two servers (for the purpose of security lets call them SRV_1 > and SRV_2) which both have a copy of SQL Server 2000 on them, onto which > I have placed a test database (Dbase_Rep). When a user updates the > database on SRV_1 I need the changes to also be made on SRV_2 either > instantly or at a desired time interval. I know this can be done and > have had a quick play and almost got it there. > Does anyone have an idiot proof step by step guide starting from scratch > or know where I can get one from. > Thanks in advance for any help on this. > > PAUL HARTLAND > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From rl_stewart at highstream.net Tue Feb 28 13:09:10 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 28 Feb 2006 14:09:10 -0500 Subject: [dba-SQLServer] Stored Procs and Functions in SQL 2005 In-Reply-To: References: Message-ID: <1141153750.44049fd6dba85@webmail.highstream.net> Arthur, To answer a little more of your question the other day, here is the SQl statement that will give you all the stored proces and functions in SQL 2005. Sorry, not ime for it in 2000. It will also give you the text of the proc/function. SELECT SPECIFIC_CATALOG, SPECIFIC_SCHEMA, SPECIFIC_NAME, ROUTINE_CATALOG, ROUTINE_SCHEMA, ROUTINE_NAME, ROUTINE_TYPE, DATA_TYPE, CHARACTER_SET_NAME, NUMERIC_PRECISION, NUMERIC_PRECISION_RADIX, NUMERIC_SCALE, DATETIME_PRECISION, ROUTINE_BODY, ROUTINE_DEFINITION, IS_DETERMINISTIC, SQL_DATA_ACCESS, IS_NULL_CALL, SCHEMA_LEVEL_ROUTINE, MAX_DYNAMIC_RESULT_SETS, IS_USER_DEFINED_CAST, IS_IMPLICITLY_INVOCABLE, CREATED, LAST_ALTERED FROM INFORMATION_SCHEMA.ROUTINES 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: > 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: SELECT INTO question (Francisco Tapia) > 2. HELP!!! sQL SERVER WON'T INSTALL (Kath Pelletti) > 3. Wend Statement Not Allowed (Darren HALL) > 4. Re: HELP!!! sQL SERVER WON'T INSTALL (Francisco Tapia) > 5. Re: Wend Statement Not Allowed (Francisco Tapia) > 6. Re: SQL Server Database Replication Between Two Servers > (Francisco Tapia) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 27 Feb 2006 21:27:40 -0800 > From: "Francisco Tapia" > Subject: Re: [dba-SQLServer] SELECT INTO question > To: dba-sqlserver at databaseadvisors.com > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Typically you'd use it by saying something like, > > SELECT * INTO tblNewTableName From tblOldTableName where 1 = 0. This copies > everything but the indexes.... > > This method works great for the lazy typist out there who don't like to > Write out the fields of their Temp Tables, as you know writing to a temp > table w/ the where clause instead of explcitly defining it first or the > method above, can cause a temporary lock while the table is created as it > waits for the data to be retreived.... > > > > On 2/27/06, David McAfee wrote: > > > > >From SQL Help > > > > INTO Clause > > Creates a new table and inserts the resulting rows from the query into it. > > > > The user executing a SELECT statement with the INTO clause must have > > CREATE > > TABLE permission in the destination database. SELECT...INTO cannot be used > > with the COMPUTE. For more information, see Transactions and Explicit > > Transactions. > > > > You can use SELECT...INTO to create an identical table definition > > (different > > table name) with no data by having a FALSE condition in the WHERE clause. > > > > > > But it seems to error each time for me, no matter how I use it. > > > > D > > > > > > -----Original Message----- > > From: dba-sqlserver-bounces at databaseadvisors.com > > [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan > > Harkins > > Sent: Monday, February 27, 2006 3:07 PM > > To: dba-sqlserver at databaseadvisors.com > > Subject: Re: [dba-SQLServer] SELECT INTO question > > > > > > Not INSERT INTO, SELECT INTO... > > > > SELECT INTO creates a new table: > > > > SELECT * INTO newtable > > FROM sourcetable > > > > In Jet, if newtable exists, the statement writes over the existing > > instance > > of newtable. In SQL Server Express, the statement fails with an error that > > newtable already exists. I'm wondering which way SQL Server goes. > > > > Susan H. > > > > Sorry I read that wrong. In SQL 2000, if the correct data types are > > selected, it will simply insert the values as new records: > > > > > > INSERT INTO tblTest SELECT 'Test3' (table tblTest only has one field, a > > char(10) ) > > > > > > If the table does not exist, the table will be created (this is what I was > > referring to in my last post). > > > > If the table already exists but the number or columns are different or the > > types don't match, then the user will get an error. > > > > David > > > > > > -----Original Message----- > > From: dba-sqlserver-bounces at databaseadvisors.com > > [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of David > > McAfee > > Sent: Monday, February 27, 2006 2:51 PM > > To: dba-sqlserver at databaseadvisors.com > > Subject: Re: [dba-SQLServer] SELECT INTO question > > > > > > SQL Server 2000 works like access. Some coworkers like using this method. > > I > > don't. > > > > -----Original Message----- > > From: dba-sqlserver-bounces at databaseadvisors.com > > [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan > > Harkins > > Sent: Monday, February 27, 2006 2:40 PM > > To: SQLList > > Subject: [dba-SQLServer] SELECT INTO question > > > > > > In Jet SQL, the SELECT INTO statement will overwrite an existing table if > > the target table already exists. I just checked SQL Server Express and it > > did NOT overwrite an existing table -- the statement failed with an error. > > I > > uninstalled SQL Server awhile back, so I can't check it -- can anybody > > tell > > me how SQL Server responds? > > > > 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 > > > > > > _______________________________________________ > > 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.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006 > > > > > > _______________________________________________ > > 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 > > > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > > > ------------------------------ > > Message: 2 > Date: Tue, 28 Feb 2006 20:14:03 +1100 > From: "Kath Pelletti" > Subject: [dba-SQLServer] HELP!!! sQL SERVER WON'T INSTALL > To: > Message-ID: <001001c63c47$52d4a510$6401a8c0 at user> > Content-Type: text/plain; charset="iso-8859-1" > > Anyone help with this error? > > I have installed MS Visual Studio and then when trying top install SQL Server > 2005, it does a system configuration check and gives me an error which > prevents the install going through successfully. > > Error is: > > - COM Plus Catalog Requirement (Warning) > > Messages > > ? COM Plus Catalog Requirement > > > If SQL Server Setup fails, Setup will roll back the installation but may not > remove all .manifest files. The workaround is to rename the files and then > rerun Setup. For more information, see How to: Work Around COM+ Check Failure > in SQL Server Setup." > > > > > > I have looked thru help (and googled) and followed instructions there (to > reinstall Component services snap in, and reinstall com) and I've done > evrything suggested.. > > > > But no luck - - getting desperate after 8 hours of this today. I even > restored to a ghosted image and re-installed everything new only to get this > again. > > > > > > Kath Pelletti > > > ------------------------------ > > Message: 3 > Date: Wed, 1 Mar 2006 00:22:00 +1100 > From: "Darren HALL" > Subject: [dba-SQLServer] Wend Statement Not Allowed > To: "dba-SQL Server" > Message-ID: > <20060228132205.DLBH16720.omta01sl.mx.bigpond.com at DENZILLAP> > Content-Type: text/plain; charset="us-ascii" > > Hello all > In reporting services if I run the code below (from Lambert over at AccessD) > I > get the error message... > "Wend statements are no longer supported . Use "End While" statements instead > > So If I replace wend with End while I don't get the desired result > > The desired result is > From..... .C:\Program Files\Some Folder\some cool file.dll > I want.....some cool file.dll > But > I am getting.....C:\Program Files\Some Folder > > any suggestions?? > Many thanks > > Darren > > > Code Start>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > Function GetPath(aPath) As String > Dim foo As Integer, aSlash As Integer > aSlash = 0 > foo = InStr(aPath, "\") > While (foo > 0) > aSlash = foo > foo = InStr(aSlash + 1, aPath, "\") > end while > If aSlash > 0 Then > GetPath = Left$(aPath, aSlash) > Else > GetPath = aPath > End If > End Function > > > ------------------------------ > > Message: 4 > Date: Tue, 28 Feb 2006 09:14:58 -0800 > From: "Francisco Tapia" > Subject: Re: [dba-SQLServer] HELP!!! sQL SERVER WON'T INSTALL > To: dba-sqlserver at databaseadvisors.com > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > the following may not help a lot, but... > visit vmware.com and download their "free" vmserver, next install a clean OS > and retry your VS2005/SS2005. There may be other conflicts with your > exisiting environment. are you doing the full version or the express? > > -- > Francisco > > On 2/28/06, Kath Pelletti wrote: > > > > Anyone help with this error? > > > > I have installed MS Visual Studio and then when trying top install SQL > > Server 2005, it does a system configuration check and gives me an error > > which prevents the install going through successfully. > > > > Error is: > > > > - COM Plus Catalog Requirement (Warning) > > > > Messages > > > > ? COM Plus Catalog Requirement > > > > > > If SQL Server Setup fails, Setup will roll back the installation but may > > not remove all .manifest files. The workaround is to rename the files and > > then rerun Setup. For more information, see How to: Work Around COM+ Check > > Failure in SQL Server Setup." > > > > > > > > > > > > I have looked thru help (and googled) and followed instructions there (to > > reinstall Component services snap in, and reinstall com) and I've done > > evrything suggested.. > > > > > > > > But no luck - - getting desperate after 8 hours of this today. I even > > restored to a ghosted image and re-installed everything new only to get > this > > again. > > > > > > > > > > > > Kath Pelletti > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > > > ------------------------------ > > Message: 5 > Date: Tue, 28 Feb 2006 09:17:48 -0800 > From: "Francisco Tapia" > Subject: Re: [dba-SQLServer] Wend Statement Not Allowed > To: dba-sqlserver at databaseadvisors.com > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > in RS where are you placing this code? > > On 2/28/06, Darren HALL wrote: > > > > Hello all > > In reporting services if I run the code below (from Lambert over at > > AccessD) I > > get the error message... > > "Wend statements are no longer supported . Use "End While" statements > > instead > > > > So If I replace wend with End while I don't get the desired result > > > > The desired result is > > From..... .C:\Program Files\Some Folder\some cool file.dll > > I want.....some cool file.dll > > But > > I am getting.....C:\Program Files\Some Folder > > > > any suggestions?? > > Many thanks > > > > Darren > > > > > > Code Start>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > > > Function GetPath(aPath) As String > > Dim foo As Integer, aSlash As Integer > > aSlash = 0 > > foo = InStr(aPath, "\") > > While (foo > 0) > > aSlash = foo > > foo = InStr(aSlash + 1, aPath, "\") > > end while > > If aSlash > 0 Then > > GetPath = Left$(aPath, aSlash) > > Else > > GetPath = aPath > > End If > > End Function > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > > > ------------------------------ > > Message: 6 > Date: Tue, 28 Feb 2006 09:20:21 -0800 > From: "Francisco Tapia" > Subject: Re: [dba-SQLServer] SQL Server Database Replication Between > Two Servers > To: dba-sqlserver at databaseadvisors.com > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Paul, > If you can upgrade the servers to 2005 (do this first in dev), then you > can utilize database mirroring wich is much easier to setup than replication > and seems to handle collisions a lot better. > > > On 2/26/06, Arthur Fuller wrote: > > > > I've been a bit tardy replying to messages on this list due to work-load, > > but if you haven't already had a satisfactory answer, try using a trigger. > > You will have to reference the other database explicitly of course, using > > the standard dot notation: ServerName.DatabaseName.TableName. > > HTH, > > Arthur > > > > -----Original Message----- > > From: dba-sqlserver-bounces at databaseadvisors.com > > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Paul > > Hartland > > Sent: January 31, 2006 7:07 AM > > To: dba-sqlserver at databaseadvisors.com > > Subject: [dba-SQLServer] SQL Server Database Replication Between Two > > Servers > > Importance: High > > > > To all, > > We have two servers (for the purpose of security lets call them SRV_1 > > and SRV_2) which both have a copy of SQL Server 2000 on them, onto which > > I have placed a test database (Dbase_Rep). When a user updates the > > database on SRV_1 I need the changes to also be made on SRV_2 either > > instantly or at a desired time interval. I know this can be done and > > have had a quick play and almost got it there. > > Does anyone have an idiot proof step by step guide starting from scratch > > or know where I can get one from. > > Thanks in advance for any help on this. > > > > PAUL HARTLAND > > > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > > > ------------------------------ > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > > End of dba-SQLServer Digest, Vol 36, Issue 26 > ********************************************* > From stuart at lexacorp.com.pg Tue Feb 28 15:20:27 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 01 Mar 2006 07:20:27 +1000 Subject: [dba-SQLServer] Wend Statement Not Allowed In-Reply-To: <20060228132205.DLBH16720.omta01sl.mx.bigpond.com@DENZILLAP> Message-ID: <44054B3B.13224.1CDA611@stuart.lexacorp.com.pg> On 1 Mar 2006 at 0:22, Darren HALL wrote: > The desired result is > From..... .C:\Program Files\Some Folder\some cool file.dll > I want.....some cool file.dll > But > I am getting.....C:\Program Files\Some Folder That's what I would expect from a function named "GetPath" ..... >GetPath = Left$(aPath, aSlash) Left$ is returning everything in aPath *up to* the last "\". If you want everything *after* this, change this line to read : = Right$(aPath,Len(aPath) - aSlash) I would also change the name of the function to GetFilename() or something similar. -- Stuart From KP at sdsonline.net Tue Feb 28 15:26:55 2006 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 1 Mar 2006 08:26:55 +1100 Subject: [dba-SQLServer] HELP!!! sQL SERVER WON'T INSTALL References: <001001c63c47$52d4a510$6401a8c0@user> Message-ID: <003401c63cad$b3d33550$6401a8c0@user> Reload the OS? So you think this is a Windows setup problem? (I am loading full SQL Server 2005). Kath ----- Original Message ----- From: Francisco Tapia To: dba-sqlserver at databaseadvisors.com Sent: Wednesday, March 01, 2006 4:14 AM Subject: Re: [dba-SQLServer] HELP!!! sQL SERVER WON'T INSTALL the following may not help a lot, but... visit vmware.com and download their "free" vmserver, next install a clean OS and retry your VS2005/SS2005. There may be other conflicts with your exisiting environment. are you doing the full version or the express? -- Francisco On 2/28/06, Kath Pelletti wrote: > > Anyone help with this error? > > I have installed MS Visual Studio and then when trying top install SQL > Server 2005, it does a system configuration check and gives me an error > which prevents the install going through successfully. > > Error is: > > - COM Plus Catalog Requirement (Warning) > > Messages > > ? COM Plus Catalog Requirement > > > If SQL Server Setup fails, Setup will roll back the installation but may > not remove all .manifest files. The workaround is to rename the files and > then rerun Setup. For more information, see How to: Work Around COM+ Check > Failure in SQL Server Setup." > > > > > > I have looked thru help (and googled) and followed instructions there (to > reinstall Component services snap in, and reinstall com) and I've done > evrything suggested.. > > > > But no luck - - getting desperate after 8 hours of this today. I even > restored to a ghosted image and re-installed everything new only to get this > again. > > > > > > Kath Pelletti > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From darrend at nimble.com.au Tue Feb 28 16:23:00 2006 From: darrend at nimble.com.au (Darren DICK) Date: Wed, 1 Mar 2006 09:23:00 +1100 Subject: [dba-SQLServer] Wend Statement Not Allowed In-Reply-To: <44054B3B.13224.1CDA611@stuart.lexacorp.com.pg> Message-ID: <20060228222306.DNGG5565.omta02sl.mx.bigpond.com@DENZILLAP> Howdy Sigh - Yes I realised about 1 am this am The code was doing exactly what it was designed to do - return a path - not a file name Many thanks Stuart I copy and pasted your mod and it works brilliantly And yes - I now have 2 functions 1 returning the path the other returning the FileName Many many thanks....again How'd the conference go?? Darren ------------------------------ T: 0424 696 433 -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 1 March 2006 8:20 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] Wend Statement Not Allowed On 1 Mar 2006 at 0:22, Darren HALL wrote: > The desired result is > From..... .C:\Program Files\Some Folder\some cool file.dll I > want.....some cool file.dll But I am getting.....C:\Program Files\Some > Folder That's what I would expect from a function named "GetPath" ..... >GetPath = Left$(aPath, aSlash) Left$ is returning everything in aPath *up to* the last "\". If you want everything *after* this, change this line to read : = Right$(aPath,Len(aPath) - aSlash) I would also change the name of the function to GetFilename() or something similar. -- Stuart _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From fhtapia at gmail.com Tue Feb 28 16:27:04 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 28 Feb 2006 14:27:04 -0800 Subject: [dba-SQLServer] HELP!!! sQL SERVER WON'T INSTALL In-Reply-To: <003401c63cad$b3d33550$6401a8c0@user> References: <001001c63c47$52d4a510$6401a8c0@user> <003401c63cad$b3d33550$6401a8c0@user> Message-ID: No, but it could be a conflicting software problem. That's why I've recently adopted to creating VM's(Virtual Machines) for first installs of software, it gets me running on that platform, w/o affectign existing software already loaded on my machine. On 2/28/06, Kath Pelletti wrote: > > Reload the OS? So you think this is a Windows setup problem? (I am loading > full SQL Server 2005). > > Kath > ----- Original Message ----- > From: Francisco Tapia > To: dba-sqlserver at databaseadvisors.com > Sent: Wednesday, March 01, 2006 4:14 AM > Subject: Re: [dba-SQLServer] HELP!!! sQL SERVER WON'T INSTALL > > > the following may not help a lot, but... > visit vmware.com and download their "free" vmserver, next install a > clean OS > and retry your VS2005/SS2005. There may be other conflicts with your > exisiting environment. are you doing the full version or the express? > > -- > Francisco > > On 2/28/06, Kath Pelletti wrote: > > > > Anyone help with this error? > > > > I have installed MS Visual Studio and then when trying top install SQL > > Server 2005, it does a system configuration check and gives me an > error > > which prevents the install going through successfully. > > > > Error is: > > > > - COM Plus Catalog Requirement (Warning) > > > > Messages > > > > ? COM Plus Catalog Requirement > > > > > > If SQL Server Setup fails, Setup will roll back the installation but > may > > not remove all .manifest files. The workaround is to rename the files > and > > then rerun Setup. For more information, see How to: Work Around COM+ > Check > > Failure in SQL Server Setup." > > > > > > > > > > > > I have looked thru help (and googled) and followed instructions there > (to > > reinstall Component services snap in, and reinstall com) and I've done > > evrything suggested.. > > > > > > > > But no luck - - getting desperate after 8 hours of this today. I even > > restored to a ghosted image and re-installed everything new only to > get this > > again. > > > > > > > > > > > > Kath Pelletti > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > _______________________________________________ > 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 > > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More...