From fhtapia at gmail.com Sat Sep 2 01:10:20 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 1 Sep 2006 23:10:20 -0700 Subject: [dba-SQLServer] sp_configure question In-Reply-To: <000301c6c523$6ccd5100$2732fad1@SUSANONE> References: <0A870603A2A816459078203FC07F4CD2BE3FF0@adl01s055.ilcorp.gov.au> <000301c6c523$6ccd5100$2732fad1@SUSANONE> Message-ID: what the heck are you still doing on dialup? what dreadful place are you at? :) On 8/21/06, Susan Harkins wrote: > Thank you - -- that'll be useful. > > Susan H. > > You can always access it online at MSDN.. ;=) > > http://msdn2.microsoft.com/en-us/library/ms130214.aspx > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco http://sqlthis.blogspot.com | Tsql and More... From ssharkins at setel.com Sat Sep 2 09:58:23 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sat, 2 Sep 2006 10:58:23 -0400 Subject: [dba-SQLServer] sp_configure question In-Reply-To: Message-ID: <000501c6cea0$3e1c0230$1ebc2ad1@SUSANONE> It's a dreadful story. We live in rural Kentucky. Cable and dsl stopped up the street for a long time. Finally, dsl was available via bellsouth and we signed on. BIG MISTAKE!!!!!!!! They cancelled my dialup, which I didn't ask them to do, and then when I used my dialup instead of dsl, they charged me an extra $20 a month for the privlege. I called and complained and the guy kept telling me that I upgraded, so that meant I didn't have dialup and I said, no, I never cancelled my $4 a month dialup so they could ding me $20 instead -- finally, he said, (and I'm not kidding) - "Lady, you ordered it, you're paying for it." Well, no, I didn't order their emergency dialup and I didn't want it -- I already had my own dialup. But, they simply usurped it and he actually told me I couldn't have my own dialup with dsl -- which is total nonsense. I was lucky to find a new phone and dsl carrier within a few weeks and I cancelled all of my bellsouth services -- which were running about $170 a month -- and I'm paying about half that now. The only problem is, now dsl won't work. The new service has checked the lines outside and they say it must be inside or the modem, which is one that they sent me and it's brand new. If I were of a conspiracy mind, I'd say bellsouth is doing something to interfer with the lines, because the coincidence is just so ... coincidential. :) And of course, because I HATE BELLSOUTH so much. Their customer service is really a form of torture. Trying to fix it was just consuming too much of my time. I already have filters on all the phone lines -- and the modem's the one the new service sent me, so the only option left is to let them come inside and test my lines inside, which cost almost $200 -- I don't want dsl that bad. Susan H. what the heck are you still doing on dialup? what dreadful place are you at? :) On 8/21/06, Susan Harkins wrote: > Thank you - -- that'll be useful. > > Susan H. > > You can always access it online at MSDN.. ;=) > > http://msdn2.microsoft.com/en-us/library/ms130214.aspx > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco 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 -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 8/25/2006 From jwcolby at colbyconsulting.com Sat Sep 2 11:19:20 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 2 Sep 2006 12:19:20 -0400 Subject: [dba-SQLServer] sp_configure question In-Reply-To: <000501c6cea0$3e1c0230$1ebc2ad1@SUSANONE> Message-ID: <007e01c6ceab$8c684150$657aa8c0@m6805> Susan, If the DSL company checked the service to the outside of your house then it isn't BellSouth. If they blocked the signal it would have to be somewhere outside of your house. Ask for a new modem, they do break / can be defective. Don't they have an "install" service? My cable people wouldn't let me NOT have them install the service and the "install" was about $40. That would get the guy inside your house, installing the modem. If it fails he will throw his tester on it to see if he has signal to the modem (which is almost certain). BTW, the point of the "phone filter" is to filter out the buzz caused by the DSL signal. You can't run the DSL modem BEHIND (downstream of) such a filter. If you are putting the modem behind a filter, that will cause the modem to "not work". John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, September 02, 2006 10:58 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] sp_configure question It's a dreadful story. We live in rural Kentucky. Cable and dsl stopped up the street for a long time. Finally, dsl was available via bellsouth and we signed on. BIG MISTAKE!!!!!!!! They cancelled my dialup, which I didn't ask them to do, and then when I used my dialup instead of dsl, they charged me an extra $20 a month for the privlege. I called and complained and the guy kept telling me that I upgraded, so that meant I didn't have dialup and I said, no, I never cancelled my $4 a month dialup so they could ding me $20 instead -- finally, he said, (and I'm not kidding) - "Lady, you ordered it, you're paying for it." Well, no, I didn't order their emergency dialup and I didn't want it -- I already had my own dialup. But, they simply usurped it and he actually told me I couldn't have my own dialup with dsl -- which is total nonsense. I was lucky to find a new phone and dsl carrier within a few weeks and I cancelled all of my bellsouth services -- which were running about $170 a month -- and I'm paying about half that now. The only problem is, now dsl won't work. The new service has checked the lines outside and they say it must be inside or the modem, which is one that they sent me and it's brand new. If I were of a conspiracy mind, I'd say bellsouth is doing something to interfer with the lines, because the coincidence is just so ... coincidential. :) And of course, because I HATE BELLSOUTH so much. Their customer service is really a form of torture. Trying to fix it was just consuming too much of my time. I already have filters on all the phone lines -- and the modem's the one the new service sent me, so the only option left is to let them come inside and test my lines inside, which cost almost $200 -- I don't want dsl that bad. Susan H. what the heck are you still doing on dialup? what dreadful place are you at? :) On 8/21/06, Susan Harkins wrote: > Thank you - -- that'll be useful. > > Susan H. > > You can always access it online at MSDN.. ;=) > > http://msdn2.microsoft.com/en-us/library/ms130214.aspx > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco 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 -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 8/25/2006 _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From ssharkins at setel.com Sat Sep 2 11:30:21 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sat, 2 Sep 2006 12:30:21 -0400 Subject: [dba-SQLServer] sp_configure question In-Reply-To: <007e01c6ceab$8c684150$657aa8c0@m6805> Message-ID: <000601c6cead$1669e2e0$bc32fad1@SUSANONE> If the DSL company checked the service to the outside of your house then it isn't BellSouth. ===Well, thanks, and I was really enjoying that little scenario... ;) BTW, the point of the "phone filter" is to filter out the buzz caused by the DSL signal. You can't run the DSL modem BEHIND (downstream of) such a filter. If you are putting the modem behind a filter, that will cause the modem to "not work". ===Within this context , please define behind. First, there's no phone connected to the same outlet as the dsl modem, so there's no filter behind or in front of the modem period. However, I do of course have other phones in the house and those have phone filters. It's interesting because the dsl worked for a while and then stopped. The connection's there, I just can't do anything with it. The tech support told me I couldn't have a cordless phone through the same outlet as the modem, so I took the phone out completely. It worked fine again for a few weeks, then the same symptoms, but there's no phone to unhook this time. Susan H. From accessd at shaw.ca Sat Sep 2 15:03:26 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 02 Sep 2006 13:03:26 -0700 Subject: [dba-SQLServer] sp_configure question In-Reply-To: <000501c6cea0$3e1c0230$1ebc2ad1@SUSANONE> Message-ID: <0J4Z001IAECJHXM1@l-daemon> That is a terrible story. :-( Such a rude and arrogant bunch... The free market systems seems to have failing apart in your area. Here is the wilds of Canada there is little chance for free-enterprise competition so the first supplier past the gate wins it all. The only check-and-balance for a society of monopolies is strict government regulations and the one regulation that worked was the one that forced the high-speed internet provider to extend their services to virtually every town and village charging only a standard rate. (There are now 2 providers now but that is another story.) Get political Susan; you could start by posting a similar article to your local newspaper, congressman etc. Believe me it does work and with your writing skills... Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, September 02, 2006 7:58 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] sp_configure question It's a dreadful story. We live in rural Kentucky. Cable and dsl stopped up the street for a long time. Finally, dsl was available via bellsouth and we signed on. BIG MISTAKE!!!!!!!! They cancelled my dialup, which I didn't ask them to do, and then when I used my dialup instead of dsl, they charged me an extra $20 a month for the privlege. I called and complained and the guy kept telling me that I upgraded, so that meant I didn't have dialup and I said, no, I never cancelled my $4 a month dialup so they could ding me $20 instead -- finally, he said, (and I'm not kidding) - "Lady, you ordered it, you're paying for it." Well, no, I didn't order their emergency dialup and I didn't want it -- I already had my own dialup. But, they simply usurped it and he actually told me I couldn't have my own dialup with dsl -- which is total nonsense. I was lucky to find a new phone and dsl carrier within a few weeks and I cancelled all of my bellsouth services -- which were running about $170 a month -- and I'm paying about half that now. The only problem is, now dsl won't work. The new service has checked the lines outside and they say it must be inside or the modem, which is one that they sent me and it's brand new. If I were of a conspiracy mind, I'd say bellsouth is doing something to interfer with the lines, because the coincidence is just so ... coincidential. :) And of course, because I HATE BELLSOUTH so much. Their customer service is really a form of torture. Trying to fix it was just consuming too much of my time. I already have filters on all the phone lines -- and the modem's the one the new service sent me, so the only option left is to let them come inside and test my lines inside, which cost almost $200 -- I don't want dsl that bad. Susan H. what the heck are you still doing on dialup? what dreadful place are you at? :) On 8/21/06, Susan Harkins wrote: > Thank you - -- that'll be useful. > > Susan H. > > You can always access it online at MSDN.. ;=) > > http://msdn2.microsoft.com/en-us/library/ms130214.aspx > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco 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 -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 8/25/2006 _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From ssharkins at setel.com Sat Sep 2 16:25:14 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sat, 2 Sep 2006 17:25:14 -0400 Subject: [dba-SQLServer] sp_configure question In-Reply-To: <0J4Z001IAECJHXM1@l-daemon> Message-ID: <000901c6ced6$486c0600$6fb82ad1@SUSANONE> Get political Susan; you could start by posting a similar article to your local newspaper, congressman etc. Believe me it does work and with your writing skills... ===I'm sure they have me on tape hollering, because I got really mad... That's something I'd rather not make public. :) Susan H. From mikedorism at verizon.net Sun Sep 3 08:29:03 2006 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Sun, 03 Sep 2006 09:29:03 -0400 Subject: [dba-SQLServer] sp_configure question In-Reply-To: <000601c6cead$1669e2e0$bc32fad1@SUSANONE> Message-ID: <001001c6cf5c$ed666750$2f01a8c0@dorismanning> Susan, It's interesting because the DSL worked for a while and then stopped. The connection's there, I just can't do anything with it. The tech support told me I couldn't have a cordless phone through the same outlet as the modem, so I took the phone out completely. It worked fine again for a few weeks, then the same symptoms, but there's no phone to unhook this time. I use Verizon DSL that also uses phone filters. The first modem that they sent me had a similar problem. It could see the connection but it couldn't pass it to the computer. They sent me another modem and everything was fine so it definitely sounds like a modem issue. The part about not having a cordless phone through the same outlet as the modem is total crap. There is no phone outlet in my office so I have a splitter on the outlet at the edge of the kitchen. I've got a filter attached to one side of the splitter with a cordless phone on the other end and have never had any problems with DSL or the phone. Doris Manning mikedorism at verizon.net From ssharkins at setel.com Sun Sep 3 08:48:49 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sun, 3 Sep 2006 09:48:49 -0400 Subject: [dba-SQLServer] sp_configure question In-Reply-To: <001001c6cf5c$ed666750$2f01a8c0@dorismanning> Message-ID: <000201c6cf5f$afd51d20$be32fad1@SUSANONE> I use Verizon DSL that also uses phone filters. The first modem that they sent me had a similar problem. It could see the connection but it couldn't pass it to the computer. They sent me another modem and everything was fine so it definitely sounds like a modem issue. The part about not having a cordless phone through the same outlet as the modem is total crap. There is no phone outlet in my office so I have a splitter on the outlet at the edge of the kitchen. I've got a filter attached to one side of the splitter with a cordless phone on the other end and have never had any problems with DSL or the phone. ==========Well, both points are good to know. :) I'll check into the modem issue and see what happens. Thanks! I didn't believe the phone thing as well, but after unplugging the phone, the dsl did work for a few weeks. When we had the dsl, I often heard a click in the phone line when trying to talk -- it was very annoying. I have filters on all the phones though. Susan H. From accessd at shaw.ca Sun Sep 3 12:49:08 2006 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 03 Sep 2006 10:49:08 -0700 Subject: [dba-SQLServer] sp_configure question In-Reply-To: <000201c6cf5f$afd51d20$be32fad1@SUSANONE> Message-ID: <0J51001HT2SKXL30@l-daemon> A friend in the phone business said the following: In order to get more phones and DSL connection in an area, without having to add more lines, phone (...and cable too) companies insert compressors and amplifiers on the lines. This process only works to a point but finally the connection degrades to a position where the signals start dropping. By putting in a higher quality modem that can compensates for the line degradation can resolve the internet issues. But when this is necessary the whole system, including phones have become extremely unstable. That is why your phones are not working and the modem, that use to work now does not. That is why the phone company, that shall not be named, arbitrarily removed your other internet connection when you were upgraded, just to give them some breathing room. They are over-booking installations before the supporting hardware is in place. All this is because of poor planning, being super cheap and never wanting admit it is their fault... as they would then be legally on the hook to upgrade them selves and compensate their customers... and that is never going to happen. There is simply not enough signal strength on the line to your house and your provider wants you to pay for upgrading their infrastructure. HTH Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, September 03, 2006 6:49 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] sp_configure question I use Verizon DSL that also uses phone filters. The first modem that they sent me had a similar problem. It could see the connection but it couldn't pass it to the computer. They sent me another modem and everything was fine so it definitely sounds like a modem issue. The part about not having a cordless phone through the same outlet as the modem is total crap. There is no phone outlet in my office so I have a splitter on the outlet at the edge of the kitchen. I've got a filter attached to one side of the splitter with a cordless phone on the other end and have never had any problems with DSL or the phone. ==========Well, both points are good to know. :) I'll check into the modem issue and see what happens. Thanks! I didn't believe the phone thing as well, but after unplugging the phone, the dsl did work for a few weeks. When we had the dsl, I often heard a click in the phone line when trying to talk -- it was very annoying. I have filters on all the phones though. Susan H. _______________________________________________ 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 Sun Sep 3 17:08:54 2006 From: darrend at nimble.com.au (Darren DICK) Date: Mon, 4 Sep 2006 08:08:54 +1000 Subject: [dba-SQLServer] Reporting Services - Dynamically loading an image Message-ID: <20060903220908.XZVV8871.omta01ps.mx.bigpond.com@DENZILLAP> Hi all In access there is a dot picture property for an Image control Eg Me.SomeImage.Picture = C:\SomeCoolPic.jpg Is there a similar property for an Image control using Reporting Services? many thanks DD From jwcolby at colbyconsulting.com Thu Sep 7 21:47:16 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 7 Sep 2006 22:47:16 -0400 Subject: [dba-SQLServer] How does it work Message-ID: <007b01c6d2f1$1a291890$657aa8c0@m6805> I have now successfully created a Raid5 on my new server. For the moment it is a 4 disk array using 320g drives for a total size (available) of around 900g. I will be adding another pair, one of which will be a hot spare, which will bump it to 1.2g available and one drive just sitting there for (automatic) use in a failure. My question now is, if I place all of the SQL Server database files (not the program files, but the database files FOR SQL SERVER) as well as the actual files for the various databases and their logs, if I place all that stuff out on this mongo raid drive, and then my boot drive dies... can SQL Server be installed to use an existing set of files? I actually have one more SATA connector which I intend to use to copy an image of the boot drive once a week or so (maybe even nightly), so that if the boot drive dies I should be able to get back up with a minimum of pain. For that I will need Ghost or something similar running as a scheduled task. And then of course there is the issue of "what happens if the house burns down". How do you conveniently back up a large db offsite? Or in a fire safe? I actually read about a rather expensive A while back I actually purchased this SQL Server backup program called Imceda Litespeed (now sold I believe) which does a great job of backing up large databases, compacting on the way out. I am thinking about setting up a small machine down in the basement at the far end of the house, on the other end of a 1gbit line, and have Litespeed place the backup file on hard disks on that machine. Even at 10:1 compression which it seems to do, an 800gb database turns into an 80gb backup file. Over a 1gbit line that will take an hour to copy the backup file. If you folks do this kind of stuff how about starting a discussion of how you handle it. John W. Colby Colby Consulting www.ColbyConsulting.com From JRojas at tnco-inc.com Fri Sep 8 07:29:13 2006 From: JRojas at tnco-inc.com (Joe Rojas) Date: Fri, 8 Sep 2006 08:29:13 -0400 Subject: [dba-SQLServer] How does it work Message-ID: <758E92433C4F3740B67BE4DD369AF5772EDD91@ex2k3.corp.tnco-inc.com> Hi John, Did you use RAID5 because you were restricted by the number of drives or the RAID controller? I ask because for databases, a RAID 1+0 or RAID 0+1 (aka RAID10) would, typically, be better suited. Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Thursday, September 07, 2006 10:47 PM To: dba-sqlserver at databaseadvisors.com; 'Access Developers discussion and problem solving' Subject: [dba-SQLServer] How does it work I have now successfully created a Raid5 on my new server. For the moment it is a 4 disk array using 320g drives for a total size (available) of around 900g. I will be adding another pair, one of which will be a hot spare, which will bump it to 1.2g available and one drive just sitting there for (automatic) use in a failure. My question now is, if I place all of the SQL Server database files (not the program files, but the database files FOR SQL SERVER) as well as the actual files for the various databases and their logs, if I place all that stuff out on this mongo raid drive, and then my boot drive dies... can SQL Server be installed to use an existing set of files? I actually have one more SATA connector which I intend to use to copy an image of the boot drive once a week or so (maybe even nightly), so that if the boot drive dies I should be able to get back up with a minimum of pain. For that I will need Ghost or something similar running as a scheduled task. And then of course there is the issue of "what happens if the house burns down". How do you conveniently back up a large db offsite? Or in a fire safe? I actually read about a rather expensive A while back I actually purchased this SQL Server backup program called Imceda Litespeed (now sold I believe) which does a great job of backing up large databases, compacting on the way out. I am thinking about setting up a small machine down in the basement at the far end of the house, on the other end of a 1gbit line, and have Litespeed place the backup file on hard disks on that machine. Even at 10:1 compression which it seems to do, an 800gb database turns into an 80gb backup file. Over a 1gbit line that will take an hour to copy the backup file. If you folks do this kind of stuff how about starting a discussion of how you handle it. John W. Colby Colby Consulting www.ColbyConsulting.com From fhtapia at gmail.com Fri Sep 8 13:23:05 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 8 Sep 2006 14:23:05 -0400 Subject: [dba-SQLServer] How does it work In-Reply-To: <007b01c6d2f1$1a291890$657aa8c0@m6805> References: <007b01c6d2f1$1a291890$657aa8c0@m6805> Message-ID: If the raid 5 is a software raid you will need to recreate it from the OS which you say you are backing up. Personally I would use Acronis for the backups it seems to do a much better and reliable job than ghost (ymmv). IF the raid is a hardware raid then you do not really stand to loose it you just point the OS to the logical drive and you are off and running. My current db backups have not yet reached a number like yours, I backup to a local drive and have that get backed up to tape, then again to another system as a zip file. On 9/7/06, JWColby wrote: > I have now successfully created a Raid5 on my new server. For the moment it > is a 4 disk array using 320g drives for a total size (available) of around > 900g. I will be adding another pair, one of which will be a hot spare, > which will bump it to 1.2g available and one drive just sitting there for > (automatic) use in a failure. > > My question now is, if I place all of the SQL Server database files (not the > program files, but the database files FOR SQL SERVER) as well as the actual > files for the various databases and their logs, if I place all that stuff > out on this mongo raid drive, and then my boot drive dies... can SQL Server > be installed to use an existing set of files? > > I actually have one more SATA connector which I intend to use to copy an > image of the boot drive once a week or so (maybe even nightly), so that if > the boot drive dies I should be able to get back up with a minimum of pain. > For that I will need Ghost or something similar running as a scheduled task. > > And then of course there is the issue of "what happens if the house burns > down". How do you conveniently back up a large db offsite? Or in a fire > safe? I actually read about a rather expensive > > A while back I actually purchased this SQL Server backup program called > Imceda Litespeed (now sold I believe) which does a great job of backing up > large databases, compacting on the way out. I am thinking about setting up > a small machine down in the basement at the far end of the house, on the > other end of a 1gbit line, and have Litespeed place the backup file on hard > disks on that machine. Even at 10:1 compression which it seems to do, an > 800gb database turns into an 80gb backup file. Over a 1gbit line that will > take an hour to copy the backup file. > > If you folks do this kind of stuff how about starting a discussion of how > you handle it. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > > > -- -Francisco http://sqlthis.blogspot.com | Tsql and More... From jwcolby at colbyconsulting.com Sat Sep 9 16:56:41 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Sat, 9 Sep 2006 17:56:41 -0400 Subject: [dba-SQLServer] Import wizard puts data in wrong table In-Reply-To: <001401c6cd06$80a4a710$657aa8c0@m6805> Message-ID: <000301c6d45a$d614cb70$657aa8c0@m6805> I am using the import wizard to pull text files into SQL Server. Even though the wizard very clearly shows that the destination is to be [dbo].[etc].[conduit] it ends up creating [dbo].[etc].[conduit005] or [dbo].[etc].[conduit006] etc. Not all of the time, the first 4 times worked perfectly but then I end up with the ...005] table. Any ideas why, ever seen this etc? Now I have a ...005] which has no field names [field1], [field2] etc. All the data is in the table etc, but no field names because the origin text files did not have the header row. Is there any (simple) way to get this appended to the correct table. This table has ~400 rows so manually building an append query manually editing (aliasing) the field names to match is not an option. John W. Colby Colby Consulting www.ColbyConsulting.com From artful at rogers.com Sun Sep 10 08:37:28 2006 From: artful at rogers.com (artful at rogers.com) Date: Sun, 10 Sep 2006 06:37:28 -0700 (PDT) Subject: [dba-SQLServer] Import wizard puts data in wrong table In-Reply-To: <000301c6d45a$d614cb70$657aa8c0@m6805> Message-ID: <20060910133728.98748.qmail@web88211.mail.re2.yahoo.com> I'm not sure what is going wrong with your wizard, but you can always try downloading a cool program called dbScripter, which can produce insert scripts for any table. It would be a very simple edit (using a capable text editor such as NoteTab) to fix the resulting script so it works correctly. Both dbScripter and NoteTab are downloadable for free (the former is a trial, the latter has both an entirely free version and a professional version). ----- Original Message ---- From: JWColby To: dba-sqlserver at databaseadvisors.com Sent: Saturday, September 9, 2006 5:56:41 PM Subject: [dba-SQLServer] Import wizard puts data in wrong table I am using the import wizard to pull text files into SQL Server. Even though the wizard very clearly shows that the destination is to be [dbo].[etc].[conduit] it ends up creating [dbo].[etc].[conduit005] or [dbo].[etc].[conduit006] etc. Not all of the time, the first 4 times worked perfectly but then I end up with the ...005] table. Any ideas why, ever seen this etc? Now I have a ...005] which has no field names [field1], [field2] etc. All the data is in the table etc, but no field names because the origin text files did not have the header row. Is there any (simple) way to get this appended to the correct table. This table has ~400 rows so manually building an append query manually editing (aliasing) the field names to match is not an option. John W. Colby Colby Consulting www.ColbyConsulting.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From fhtapia at gmail.com Tue Sep 12 12:30:41 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 12 Sep 2006 13:30:41 -0400 Subject: [dba-SQLServer] Reporting Services - Dynamically loading an image In-Reply-To: <20060903220908.XZVV8871.omta01ps.mx.bigpond.com@DENZILLAP> References: <20060903220908.XZVV8871.omta01ps.mx.bigpond.com@DENZILLAP> Message-ID: Darren, I Remember seeing this before I Just don't remember it OTOMH, but it's not .Picture, On 9/3/06, Darren DICK wrote: > Hi all > > In access there is a dot picture property for an Image control > > Eg Me.SomeImage.Picture = C:\SomeCoolPic.jpg > > Is there a similar property for an Image control using Reporting Services? > > many thanks > > DD > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco http://sqlthis.blogspot.com | Tsql and More... From Mike.W.Gowey at doc.state.or.us Mon Sep 18 15:29:01 2006 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Mon, 18 Sep 2006 14:29:01 -0600 Subject: [dba-SQLServer] Import error In-Reply-To: <0A870603A2A816459078203FC07F4CD2BE3980@adl01s055.ilcorp.gov.au> Message-ID: <96190DA9E0A10A4CB36E4B71367E55C14D12DD@srcimail1.ds.doc.state.or.us> Would anybody know why I would get the following error when trying to import some records from one table to another in the same database. I am using SQL 2005. Cannot create an OLE DB accessor. Verify that the column metadata is valid. Thanks, Mike Gowey MCP, MCDST, A+, LME, NET+ Team Leader - SouthEast Region Information Systems Unit From fhtapia at gmail.com Mon Sep 18 15:31:52 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 18 Sep 2006 13:31:52 -0700 Subject: [dba-SQLServer] Import error In-Reply-To: <96190DA9E0A10A4CB36E4B71367E55C14D12DD@srcimail1.ds.doc.state.or.us> References: <0A870603A2A816459078203FC07F4CD2BE3980@adl01s055.ilcorp.gov.au> <96190DA9E0A10A4CB36E4B71367E55C14D12DD@srcimail1.ds.doc.state.or.us> Message-ID: what is the command you are using? On 9/18/06, Gowey Mike W wrote: > > > Would anybody know why I would get the following error when trying to > import some records from one table to another in the same database. I > am using SQL 2005. > > Cannot create an OLE DB accessor. Verify that the column metadata is > valid. > > > Thanks, > > Mike Gowey MCP, MCDST, A+, LME, NET+ > Team Leader - SouthEast Region > Information Systems Unit > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco http://sqlthis.blogspot.com | Tsql and More... From Mike.W.Gowey at doc.state.or.us Mon Sep 18 15:34:11 2006 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Mon, 18 Sep 2006 14:34:11 -0600 Subject: [dba-SQLServer] Import error In-Reply-To: Message-ID: <96190DA9E0A10A4CB36E4B71367E55C14D12DE@srcimail1.ds.doc.state.or.us> I just created a package using the SSIS Import\Export Wizard. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Monday, September 18, 2006 2:32 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] Import error what is the command you are using? On 9/18/06, Gowey Mike W wrote: > > > Would anybody know why I would get the following error when trying to > import some records from one table to another in the same database. I > am using SQL 2005. > > Cannot create an OLE DB accessor. Verify that the column metadata is > valid. > > > Thanks, > > Mike Gowey MCP, MCDST, A+, LME, NET+ > Team Leader - SouthEast Region > Information Systems Unit > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco 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 Mike.W.Gowey at doc.state.or.us Mon Sep 18 15:53:49 2006 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Mon, 18 Sep 2006 14:53:49 -0600 Subject: [dba-SQLServer] Import error In-Reply-To: <96190DA9E0A10A4CB36E4B71367E55C14D12DE@srcimail1.ds.doc.state.or.us> Message-ID: <96190DA9E0A10A4CB36E4B71367E55C14D12DF@srcimail1.ds.doc.state.or.us> This is the full error that it gives in the debug window: [Destination - tblInventory [193]] Error: An OLE DB error has occurred. Error code: 0x80040E21. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". [Destination - tblInventory [193]] Error: Cannot create an OLE DB accessor. Verify that the column metadata is valid. [DTS.Pipeline] Error: component "Destination - tblInventory" (193) failed the pre-execute phase and returned error code 0xC0202025. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Gowey Mike W Sent: Monday, September 18, 2006 2:34 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] Import error I just created a package using the SSIS Import\Export Wizard. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Monday, September 18, 2006 2:32 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] Import error what is the command you are using? On 9/18/06, Gowey Mike W wrote: > > > Would anybody know why I would get the following error when trying to > import some records from one table to another in the same database. I > am using SQL 2005. > > Cannot create an OLE DB accessor. Verify that the column metadata is > valid. > > > Thanks, > > Mike Gowey MCP, MCDST, A+, LME, NET+ > Team Leader - SouthEast Region > Information Systems Unit > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco 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 From fhtapia at gmail.com Mon Sep 18 16:06:10 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 18 Sep 2006 14:06:10 -0700 Subject: [dba-SQLServer] Import error In-Reply-To: <96190DA9E0A10A4CB36E4B71367E55C14D12DF@srcimail1.ds.doc.state.or.us> References: <96190DA9E0A10A4CB36E4B71367E55C14D12DE@srcimail1.ds.doc.state.or.us> <96190DA9E0A10A4CB36E4B71367E55C14D12DF@srcimail1.ds.doc.state.or.us> Message-ID: I have to start up my 2005 system to find out why you are receiving this problem. On 9/18/06, Gowey Mike W wrote: > This is the full error that it gives in the debug window: > > [Destination - tblInventory [193]] Error: An OLE DB error has occurred. > Error code: 0x80040E21. An OLE DB record is available. Source: > "Microsoft SQL Native Client" Hresult: 0x80040E21 Description: > "Multiple-step OLE DB operation generated errors. Check each OLE DB > status value, if available. No work was done.". > [Destination - tblInventory [193]] Error: Cannot create an OLE DB > accessor. Verify that the column metadata is valid. > [DTS.Pipeline] Error: component "Destination - tblInventory" (193) > failed the pre-execute phase and returned error code 0xC0202025. > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Gowey > Mike W > Sent: Monday, September 18, 2006 2:34 PM > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] Import error > > > I just created a package using the SSIS Import\Export Wizard. > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of > Francisco Tapia > Sent: Monday, September 18, 2006 2:32 PM > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] Import error > > what is the command you are using? > > On 9/18/06, Gowey Mike W wrote: > > > > > > Would anybody know why I would get the following error when trying to > > import some records from one table to another in the same database. I > > > am using SQL 2005. > > > > Cannot create an OLE DB accessor. Verify that the column metadata is > > valid. > > > > > > Thanks, > > > > Mike Gowey MCP, MCDST, A+, LME, NET+ > > Team Leader - SouthEast Region > > Information Systems Unit > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > > > > -- > -Francisco > 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 > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco http://sqlthis.blogspot.com | Tsql and More... From jwcolby at colbyconsulting.com Tue Sep 19 07:31:55 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Sep 2006 08:31:55 -0400 Subject: [dba-SQLServer] What happens when Message-ID: <004d01c6dbe7$98ce40e0$657aa8c0@m6805> I am running a process to build an indexedPK on a table. The database was set to bulk logged because I was doing massive data imports and forgot to switch back. Sigh. The data file ran out of room. Double sigh. EM is locked up tight. Is this just going to sit there forever, or is there a graceful way to say "stop it and let me have control again"? John W. Colby Colby Consulting www.ColbyConsulting.com From artful at rogers.com Tue Sep 19 10:13:53 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 19 Sep 2006 08:13:53 -0700 (PDT) Subject: [dba-SQLServer] What happens when In-Reply-To: <004d01c6dbe7$98ce40e0$657aa8c0@m6805> Message-ID: <20060919151353.96382.qmail@web88202.mail.re2.yahoo.com> Your system tray should have an icon that looks vaguely like a server with a green arrow indicating that it's running. Double-click that and see if you the SQL dialog appears. If not, then I think you have no choice but either to reboot or kill the process itself and start over. Given the size of the databases you're working with, Oracle might be a better choice since it offers tablespaces (which allow you to partitition a table and place chunks on various drives and servers). But perhaps you can't go there. I sure wish MS-SQL offered that feature. The last gig I worked on had 8 databases and the growth rate was expected to be a TB per year. Oracle would have let us do it all in one DB, with tablespaces pointing to the 8 servers, but since it was an Accenture gig, MS-SQL was the DB. Good thing too, since my Oracle skills are substantially behind my MS skills. Anyway, there should be no need to run the process you are talking about. Just mark the column(s) PK and that's that. SQL will build the index automatically. You could in theory create a new index containing the same key(s), but what for? What's wrong with the one SQL creates for you? Arthur ----- Original Message ---- From: JWColby To: dba-sqlserver at databaseadvisors.com Sent: Tuesday, September 19, 2006 8:31:55 AM Subject: [dba-SQLServer] What happens when I am running a process to build an indexedPK on a table. The database was set to bulk logged because I was doing massive data imports and forgot to switch back. Sigh. The data file ran out of room. Double sigh. EM is locked up tight. Is this just going to sit there forever, or is there a graceful way to say "stop it and let me have control again"? From fhtapia at gmail.com Tue Sep 19 10:56:25 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 19 Sep 2006 08:56:25 -0700 Subject: [dba-SQLServer] What happens when In-Reply-To: <20060919151353.96382.qmail@web88202.mail.re2.yahoo.com> References: <004d01c6dbe7$98ce40e0$657aa8c0@m6805> <20060919151353.96382.qmail@web88202.mail.re2.yahoo.com> Message-ID: I'd agree, I had one of my staging servers run out of room last weekend and was lucky to be able to clean out some space. Because of the data your pushing you may want to consider better hardware to help keep up with the demand for the data. IIRC last time we spoke you were running Raid 0? for these data files? On 9/19/06, artful at rogers.com wrote: > Your system tray should have an icon that looks vaguely like a server with a green arrow indicating that it's running. Double-click that and see if you the SQL dialog appears. If not, then I think you have no choice but either to reboot or kill the process itself and start over. > > Given the size of the databases you're working with, Oracle might be a better choice since it offers tablespaces (which allow you to partitition a table and place chunks on various drives and servers). But perhaps you can't go there. I sure wish MS-SQL offered that feature. The last gig I worked on had 8 databases and the growth rate was expected to be a TB per year. Oracle would have let us do it all in one DB, with tablespaces pointing to the 8 servers, but since it was an Accenture gig, MS-SQL was the DB. Good thing too, since my Oracle skills are substantially behind my MS skills. > > Anyway, there should be no need to run the process you are talking about. Just mark the column(s) PK and that's that. SQL will build the index automatically. You could in theory create a new index containing the same key(s), but what for? What's wrong with the one SQL creates for you? > > Arthur > > ----- Original Message ---- > From: JWColby > To: dba-sqlserver at databaseadvisors.com > Sent: Tuesday, September 19, 2006 8:31:55 AM > Subject: [dba-SQLServer] What happens when > > I am running a process to build an indexedPK on a table. The database was > set to bulk logged because I was doing massive data imports and forgot to > switch back. Sigh. The data file ran out of room. Double sigh. EM is > locked up tight. Is this just going to sit there forever, or is there a > graceful way to say "stop it and let me have control again"? > > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco http://sqlthis.blogspot.com | Tsql and More... From Mike.W.Gowey at doc.state.or.us Tue Sep 19 11:02:37 2006 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Tue, 19 Sep 2006 10:02:37 -0600 Subject: [dba-SQLServer] Import error In-Reply-To: <96190DA9E0A10A4CB36E4B71367E55C14D12DD@srcimail1.ds.doc.state.or.us> Message-ID: <96190DA9E0A10A4CB36E4B71367E55C14D12EB@srcimail1.ds.doc.state.or.us> Hi everyone, I have aquestion on an error I am receiving when I try to import some data from one table to another within the same database. I am using Integration Services and created a SSIS package using the import/export wizard. The package goes the the validation process fine with no problems, but when I execute the package to import the data into the table I get the following error in the progress window and nothing will import. I can't seem to get by it. [Destination - tblInventory [193]] Error: An OLE DB error has occurred. Error code: 0x80040E21. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". [Destination - tblInventory [193]] Error: Cannot create an OLE DB accessor. Verify that the column metadata is valid. [DTS.Pipeline] Error: component "Destination - tblInventory" (193) failed the pre-execute phase and returned error code 0xC0202025. Anybody have any ideas on how to get by this. Thanks in advance. From jwcolby at colbyconsulting.com Tue Sep 19 11:31:46 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Tue, 19 Sep 2006 12:31:46 -0400 Subject: [dba-SQLServer] What happens when In-Reply-To: Message-ID: <005f01c6dc09$1a639cb0$657aa8c0@m6805> In fact I was trying to run a raid 5 directly on the motherboard raid, using (4) 320 g hard drives. LOL, boy does THAT suck. The write speed for a 4 disk array was about 5 mbytes / sec. Why bother offering it? So I am searching for a raid controller "in my price range". I have pretty much narrowed the choice down to the PROMISE SuperTrak EX8350 - http://www.newegg.com/product/product.asp?item=N82E16816102076 Or the Areca ARC-1220 http://www.newegg.com/product/product.asp?item=N82E16816131004 Both are some serious money for me - who'd think a raid card would cost twice or three times the motherboard? Economies of scale I guess. I would bite the bullet and get the Areca which is pretty seriously fast, particularly on the upper end of the disk load scale, but they apparently have some compatibility issues with motherboards. I can't find that they have ever tested it on the NVIDIA 5x motherboard chip sets. Promise OTOH seems to have tested it with that chipset as well as the 750gb version of the Seagate disk I am using (I'm using the 320gb drives cause they are seriously cheap right now). In the meantime the raid 5 speed sucked so bad I went back to two mirrored 320 gb drives and therein came the problem. Suddenly everything is fast but no (physical) room for error. At any rate, I cannot get the SQL Server process to stop. I have stopped the server, even rebooted, but when I come back up and go into EM, as soon as I click the database icon EM locks back up again. I don't know what to do here. 8-( The drive is full, it is never going to write any more info out there, but apparently it isn't ever going to figure out that it is locked up either. Speaking of which... Answer me this... I built a utility in Access to open the 10 gb raw text files, strip out all the "padding". The data was comma delimited, but then inside the quotes, the data was padded to a fixed width. So I stripped out all the padding, then wrote it back out again. This reduced the files from 10g to ~6.5 gig, so you can see there was some significant padding going on. Next I imported all the data. Having done that I tried to add an autonumber (4 byte) PK which is where the hang-up came in. The original data was ~100gb, and the processing of adding a new 4 byte field and indexing it pushed the data file size up over 300gb. How is that possible? This is not the log file I am talking about, the log file is on another drive. It seems that adding an indexed 32 bit field would be a fairly trivial operation, even given the 65 million records it is dealing with. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, September 19, 2006 11:56 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] What happens when I'd agree, I had one of my staging servers run out of room last weekend and was lucky to be able to clean out some space. Because of the data your pushing you may want to consider better hardware to help keep up with the demand for the data. IIRC last time we spoke you were running Raid 0? for these data files? On 9/19/06, artful at rogers.com wrote: > Your system tray should have an icon that looks vaguely like a server with a green arrow indicating that it's running. Double-click that and see if you the SQL dialog appears. If not, then I think you have no choice but either to reboot or kill the process itself and start over. > > Given the size of the databases you're working with, Oracle might be a better choice since it offers tablespaces (which allow you to partitition a table and place chunks on various drives and servers). But perhaps you can't go there. I sure wish MS-SQL offered that feature. The last gig I worked on had 8 databases and the growth rate was expected to be a TB per year. Oracle would have let us do it all in one DB, with tablespaces pointing to the 8 servers, but since it was an Accenture gig, MS-SQL was the DB. Good thing too, since my Oracle skills are substantially behind my MS skills. > > Anyway, there should be no need to run the process you are talking about. Just mark the column(s) PK and that's that. SQL will build the index automatically. You could in theory create a new index containing the same key(s), but what for? What's wrong with the one SQL creates for you? > > Arthur From jwcolby at colbyconsulting.com Wed Sep 20 20:46:22 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Wed, 20 Sep 2006 21:46:22 -0400 Subject: [dba-SQLServer] SQL Server File locations and speed Message-ID: <003d01c6dd1f$bf32a5d0$657aa8c0@m6805> Does anyone have any insight on the pros and cons of using a (fast) Raid5 as one big partition which holds the database data files as well as the log files, vs breaking a single raid5 array down into partitions and placing the log files on one partition and the data files on another, vs building two raid arrays and placing the data files on one raid array and the log files on another. John W. Colby Colby Consulting www.ColbyConsulting.com From fhtapia at gmail.com Wed Sep 20 22:40:54 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 20 Sep 2006 20:40:54 -0700 Subject: [dba-SQLServer] SQL Server File locations and speed In-Reply-To: <003d01c6dd1f$bf32a5d0$657aa8c0@m6805> References: <003d01c6dd1f$bf32a5d0$657aa8c0@m6805> Message-ID: John, It has to do with physical speed. If you have one raid5 w/ data and log files, then the OS has to go through one raid controller to get to either the log files or the datafiles, the database is constantly writing to the log file while transactions are occuring, and it is also constantly reading data from the data files while in serving up data. If you break down the raid5 into different drives and controller channels you increase your throughput, as each drive has a dedicated channel... a better method than just a raid5 would be something like a raid5 for data, and a mirror raid for your transaction logs. even better if you can afford it would be raid10 for data and likewise for your log files, but that's really more likely for the most demanding applications, and last I remember you are juggling several hundred gig, wich may just be suitable that coupled w/ bulk logging to minimize the size of the log files would help the speed tremendously. On 9/20/06, JWColby wrote: > Does anyone have any insight on the pros and cons of using a (fast) Raid5 as > one big partition which holds the database data files as well as the log > files, vs breaking a single raid5 array down into partitions and placing the > log files on one partition and the data files on another, vs building two > raid arrays and placing the data files on one raid array and the log files > on another. > -- -Francisco http://sqlthis.blogspot.com | Tsql and More... From darrend at nimble.com.au Thu Sep 21 00:10:08 2006 From: darrend at nimble.com.au (Darren DICK) Date: Thu, 21 Sep 2006 15:10:08 +1000 Subject: [dba-SQLServer] Reporting Services - Dynamically loading animage In-Reply-To: Message-ID: <20060921051009.QYGL14640.omta02sl.mx.bigpond.com@DENZILLAP> Hi Francisco This is still causing me grief - have you had any brain jogs as to what it may be? :-)) Do you know of any other SQL forums that have a Reporting Services bias or flavor to them? Many 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: Wednesday, 13 September 2006 3:31 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] Reporting Services - Dynamically loading animage Darren, I Remember seeing this before I Just don't remember it OTOMH, but it's not .Picture, On 9/3/06, Darren DICK wrote: > Hi all > > In access there is a dot picture property for an Image control > > Eg Me.SomeImage.Picture = C:\SomeCoolPic.jpg > > Is there a similar property for an Image control using Reporting Services? > > many thanks > > DD > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- -Francisco 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 fhtapia at gmail.com Thu Sep 21 11:57:52 2006 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 21 Sep 2006 09:57:52 -0700 Subject: [dba-SQLServer] Reporting Services - Dynamically loading animage In-Reply-To: <20060921051009.QYGL14640.omta02sl.mx.bigpond.com@DENZILLAP> References: <20060921051009.QYGL14640.omta02sl.mx.bigpond.com@DENZILLAP> Message-ID: this one is pretty active: ReportingServices at googlegroups.com, I'm afraid my reports in RS are generally drag and drop, and very little in the way of manipulating via code, I have done simple things like drilldown reporting and those that map out to other reports... my latest one was a bit tricky as I had to create my own TrendLine :| On 9/20/06, Darren DICK wrote: > Hi Francisco > > This is still causing me grief - have you had any brain jogs as to what it may > be? :-)) > > Do you know of any other SQL forums that have a Reporting Services bias or > flavor to them? > > Many 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: Wednesday, 13 September 2006 3:31 AM > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] Reporting Services - Dynamically loading animage > > Darren, I Remember seeing this before I Just don't remember it OTOMH, > but it's not .Picture, > > On 9/3/06, Darren DICK wrote: > > Hi all > > > > In access there is a dot picture property for an Image control > > > > Eg Me.SomeImage.Picture = C:\SomeCoolPic.jpg > > > > Is there a similar property for an Image control using Reporting Services? > > > > many thanks > > > > DD > > > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > > > > -- > -Francisco > 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://sqlthis.blogspot.com | Tsql and More... From listmaster at databaseadvisors.com Thu Sep 21 13:02:37 2006 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Thu, 21 Sep 2006 14:02:37 -0400 Subject: [dba-SQLServer] Looks Like SpamCop is at it again Message-ID: Well, it looks like SpamCop is at it again. Yesterday DBA's mail server was listed by SpamCop and as a result quite a few of you were bounced. Everything should be back to normal now. Hopefully it stays that way. You're humble Listmaster, From ssharkins at setel.com Thu Sep 21 13:36:55 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 21 Sep 2006 14:36:55 -0400 Subject: [dba-SQLServer] Looks Like SpamCop is at it again In-Reply-To: Message-ID: <005101c6ddac$eaf50f40$10b62ad1@SUSANONE> Bryan, my isp says they're not using SpamCop to filter my email -- why would this happen to me if they're telling me the truth? Susan H. Well, it looks like SpamCop is at it again. Yesterday DBA's mail server was listed by SpamCop and as a result quite a few of you were bounced. Everything should be back to normal now. Hopefully it stays that way. You're humble Listmaster, From carbonnb at gmail.com Thu Sep 21 16:08:10 2006 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 21 Sep 2006 17:08:10 -0400 Subject: [dba-SQLServer] Looks Like SpamCop is at it again In-Reply-To: <005101c6ddac$eaf50f40$10b62ad1@SUSANONE> References: <005101c6ddac$eaf50f40$10b62ad1@SUSANONE> Message-ID: On 9/21/06, Susan Harkins wrote: > Bryan, my isp says they're not using SpamCop to filter my email -- why would > this happen to me if they're telling me the truth? I don't know. There could be a holdup somewhere in the chain, that's why I'll need to see one of the delayed posts. The SpamCop question was just an idea based on timing. A guess really. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From ssharkins at setel.com Thu Sep 21 18:22:42 2006 From: ssharkins at setel.com (Susan Harkins) Date: Thu, 21 Sep 2006 19:22:42 -0400 Subject: [dba-SQLServer] Looks Like SpamCop is at it again In-Reply-To: Message-ID: <007201c6ddd4$dbb252e0$10b62ad1@SUSANONE> They've already responded again -- not running SpamCop -- it's got to be in the chain somewhere -- that's their suggestion too. Can't do much about it except watch for it and let you know when my mail disappears next time. Thanks Bryan! Susan H. I don't know. There could be a holdup somewhere in the chain, that's why I'll need to see one of the delayed posts. The SpamCop question was just an idea based on timing. A guess really. From darrend at nimble.com.au Thu Sep 21 23:15:25 2006 From: darrend at nimble.com.au (Darren HALL) Date: Fri, 22 Sep 2006 14:15:25 +1000 Subject: [dba-SQLServer] Reporting Services - Dynamically loading animage In-Reply-To: Message-ID: <20060922041527.ZTGR16502.omta02ps.mx.bigpond.com@DENZILLAP> Hi Francisco Many thanks Mmm trend lines - sounds like fun Thanks for the link Have a great day 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: Friday, 22 September 2006 2:58 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] Reporting Services - Dynamically loading animage this one is pretty active: ReportingServices at googlegroups.com, I'm afraid my reports in RS are generally drag and drop, and very little in the way of manipulating via code, I have done simple things like drilldown reporting and those that map out to other reports... my latest one was a bit tricky as I had to create my own TrendLine :| On 9/20/06, Darren DICK wrote: > Hi Francisco > > This is still causing me grief - have you had any brain jogs as to what it may > be? :-)) > > Do you know of any other SQL forums that have a Reporting Services bias or > flavor to them? > > Many 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: Wednesday, 13 September 2006 3:31 AM > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer] Reporting Services - Dynamically loading animage > > Darren, I Remember seeing this before I Just don't remember it OTOMH, > but it's not .Picture, > > On 9/3/06, Darren DICK wrote: > > Hi all > > > > In access there is a dot picture property for an Image control > > > > Eg Me.SomeImage.Picture = C:\SomeCoolPic.jpg > > > > Is there a similar property for an Image control using Reporting Services? > > > > many thanks > > > > DD > > > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > > > > -- > -Francisco > 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://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 askolits at ot.com Fri Sep 22 16:00:20 2006 From: askolits at ot.com (John Skolits) Date: Fri, 22 Sep 2006 17:00:20 -0400 Subject: [dba-SQLServer] Accees Grouping Vs SQL In-Reply-To: <44DA455A.8040702@shaw.ca> Message-ID: <00a201c6de8a$214793f0$6d01a8c0@LaptopXP> Is there an equivalent grouping argument for LAST and FIRST in SqlServer? From ssharkins at setel.com Fri Sep 22 18:09:12 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 22 Sep 2006 19:09:12 -0400 Subject: [dba-SQLServer] Accees Grouping Vs SQL In-Reply-To: <00a201c6de8a$214793f0$6d01a8c0@LaptopXP> Message-ID: <001a01c6de9c$1f791050$2534fad1@SUSANONE> No. Susan H. Is there an equivalent grouping argument for LAST and FIRST in SqlServer? From darrend at nimble.com.au Fri Sep 22 18:50:05 2006 From: darrend at nimble.com.au (Darren DICK) Date: Sat, 23 Sep 2006 09:50:05 +1000 Subject: [dba-SQLServer] Accees Grouping Vs SQL In-Reply-To: <00a201c6de8a$214793f0$6d01a8c0@LaptopXP> Message-ID: <20060922235007.WCRQ11173.omta03ps.mx.bigpond.com@DENZILLAP> Something that may help is the MIN or MAX arguments E.g. select min(StartDate) as 'First Date' from SomeTable That's what I use HTH Darran -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Saturday, 23 September 2006 7:00 AM To: dba-sqlserver at databaseadvisors.com Subject: [dba-SQLServer] Accees Grouping Vs SQL Is there an equivalent grouping argument for LAST and FIRST in SqlServer? _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From ssharkins at setel.com Fri Sep 22 18:59:17 2006 From: ssharkins at setel.com (Susan Harkins) Date: Fri, 22 Sep 2006 19:59:17 -0400 Subject: [dba-SQLServer] Accees Grouping Vs SQL In-Reply-To: <20060922235007.WCRQ11173.omta03ps.mx.bigpond.com@DENZILLAP> Message-ID: <000001c6dea3$1e4dd290$cfb82ad1@SUSANONE> MIN and MAX aren't interchangeable with FIRST and LAST. Susan H. Something that may help is the MIN or MAX arguments E.g. select min(StartDate) as 'First Date' from SomeTable From stuart at lexacorp.com.pg Sat Sep 23 03:03:28 2006 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 23 Sep 2006 18:03:28 +1000 Subject: [dba-SQLServer] Accees Grouping Vs SQL In-Reply-To: <000001c6dea3$1e4dd290$cfb82ad1@SUSANONE> References: <20060922235007.WCRQ11173.omta03ps.mx.bigpond.com@DENZILLAP>, <000001c6dea3$1e4dd290$cfb82ad1@SUSANONE> Message-ID: <451576F0.6795.A0C475B@stuart.lexacorp.com.pg> They are if you use then on the Order By column :-) On 22 Sep 2006 at 19:59, Susan Harkins wrote: > MIN and MAX aren't interchangeable with FIRST and LAST. > > Susan H. > > Something that may help is the MIN or MAX arguments > > E.g. select min(StartDate) as 'First Date' from SomeTable > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > -- Stuart From ssharkins at setel.com Sat Sep 23 09:19:27 2006 From: ssharkins at setel.com (Susan Harkins) Date: Sat, 23 Sep 2006 10:19:27 -0400 Subject: [dba-SQLServer] Accees Grouping Vs SQL In-Reply-To: <451576F0.6795.A0C475B@stuart.lexacorp.com.pg> Message-ID: <000b01c6df1b$4d8f8440$9734fad1@SUSANONE> You're right -- the results will often be the same. :) But their functions aren't the same, so, just wanted to warn folks to be careful. Susan H. They are if you use then on the Order By column :-) From darrend at nimble.com.au Sun Sep 24 19:27:13 2006 From: darrend at nimble.com.au (Darren DICK) Date: Mon, 25 Sep 2006 10:27:13 +1000 Subject: [dba-SQLServer] Accees Grouping Vs SQL In-Reply-To: <000b01c6df1b$4d8f8440$9734fad1@SUSANONE> Message-ID: <20060925002714.RKLL8785.omta03sl.mx.bigpond.com@DENZILLAP> Howdy Yep they certainly are NOT the same - nor should they be confused as being the same - however in the simple demo I gave it should find his first date in a column on a table (remembering I am an SQL Luddite) Many thanks Have a great day Darren ------------------ T: 0424 696 433 -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, 24 September 2006 12:19 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] Accees Grouping Vs SQL You're right -- the results will often be the same. :) But their functions aren't the same, so, just wanted to warn folks to be careful. Susan H. They are if you use then on the Order By column :-) _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From askolits at ot.com Mon Sep 25 05:58:38 2006 From: askolits at ot.com (John Skolits) Date: Mon, 25 Sep 2006 06:58:38 -0400 Subject: [dba-SQLServer] Accees Grouping Vs SQL In-Reply-To: <20060925002714.RKLL8785.omta03sl.mx.bigpond.com@DENZILLAP> Message-ID: <000d01c6e091$918ffbd0$6d01a8c0@LaptopXP> Thanks for the responses. I really need Last since there are three records all with the same date and I want to take the last one entered. There is no Increment field so no way of knowing which is the last. With Access, I can be sure I have the right record, but in SQL, I'm not sure. I wonder how the Access SQL call is getting converted when it hits SQLServer when using First Or Last. I guess I can try to use the SQL tracer? I think that's what it's called, been a while since I've used it. That might help figure it out. Thanks. John -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Sunday, September 24, 2006 8:27 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] Accees Grouping Vs SQL Howdy Yep they certainly are NOT the same - nor should they be confused as being the same - however in the simple demo I gave it should find his first date in a column on a table (remembering I am an SQL Luddite) Many thanks Have a great day Darren ------------------ T: 0424 696 433 -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, 24 September 2006 12:19 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer] Accees Grouping Vs SQL You're right -- the results will often be the same. :) But their functions aren't the same, so, just wanted to warn folks to be careful. Susan H. They are if you use then on the Order By column :-) _______________________________________________ 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 markamatte at hotmail.com Mon Sep 25 13:21:19 2006 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 25 Sep 2006 18:21:19 +0000 Subject: [dba-SQLServer] Accees Grouping Vs SQL In-Reply-To: <000d01c6e091$918ffbd0$6d01a8c0@LaptopXP> Message-ID: John, I just kinda lurk on the SQL list...just wading through trying to learn...and not sure if this could be a solution for you...but depending on what version of SQL you're using, one of the following may be useful: @@IDENTITY This is an intrinsic variable in SQL Server that contains the Id of the record that was last created on this connection, regardless of the table. IDENT_CURRENT('table') This function returns the ID of the record that was last created in the specified table. SCOPE_IDENTITY This variable contains the Id of the last record that was created within the current scope, regardless of the table. Good luck, Mark A. Matte >From: "John Skolits" >Reply-To: dba-sqlserver at databaseadvisors.com >To: >Subject: Re: [dba-SQLServer] Accees Grouping Vs SQL >Date: Mon, 25 Sep 2006 06:58:38 -0400 > >Thanks for the responses. > >I really need Last since there are three records all with the same date and >I want to take the last one entered. There is no Increment field so no way >of knowing which is the last. With Access, I can be sure I have the right >record, but in SQL, I'm not sure. I wonder how the Access SQL call is >getting converted when it hits SQLServer when using First Or Last. > >I guess I can try to use the SQL tracer? I think that's what it's called, >been a while since I've used it. That might help figure it out. > >Thanks. > >John > > > > >-----Original Message----- >From: dba-sqlserver-bounces at databaseadvisors.com >[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Darren >DICK >Sent: Sunday, September 24, 2006 8:27 PM >To: dba-sqlserver at databaseadvisors.com >Subject: Re: [dba-SQLServer] Accees Grouping Vs SQL > >Howdy > >Yep they certainly are NOT the same - nor should they be confused as being >the >same - however in the simple demo I gave it should find his first date in a >column on a table > >(remembering I am an SQL Luddite) > > >Many thanks > >Have a great day > >Darren >------------------ >T: 0424 696 433 > >-----Original Message----- >From: dba-sqlserver-bounces at databaseadvisors.com >[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan >Harkins >Sent: Sunday, 24 September 2006 12:19 AM >To: dba-sqlserver at databaseadvisors.com >Subject: Re: [dba-SQLServer] Accees Grouping Vs SQL > >You're right -- the results will often be the same. :) But their functions >aren't the same, so, just wanted to warn folks to be careful. > >Susan H. > >They are if you use then on the Order By column :-) > > >_______________________________________________ >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 rl_stewart at highstream.net Tue Sep 26 13:19:53 2006 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 26 Sep 2006 13:19:53 -0500 Subject: [dba-SQLServer] Accees Grouping Vs SQL In-Reply-To: References: Message-ID: <6.2.3.4.2.20060926131828.02380a50@pop3.highstream.net> Actually, John, you should add a timestamp column to the data. Then you can always get the last record added for any number of duplicates. At 12:00 PM 9/26/2006, you wrote: >Message: 1 >Date: Mon, 25 Sep 2006 18:21:19 +0000 >From: "Mark A Matte" >Subject: Re: [dba-SQLServer] Accees Grouping Vs SQL >To: dba-sqlserver at databaseadvisors.com >Message-ID: >Content-Type: text/plain; format=flowed > >John, > >I just kinda lurk on the SQL list...just wading through trying to >learn...and not sure if this could be a solution for you...but depending on >what version of SQL you're using, one of the following may be useful: > >@@IDENTITY >This is an intrinsic variable in SQL Server that contains the Id of the >record that was last created on this connection, regardless of the table. >IDENT_CURRENT('table') >This function returns the ID of the record that was last created in the >specified table. >SCOPE_IDENTITY >This variable contains the Id of the last record that was created within the >current scope, regardless of the table. > > >Good luck, > >Mark A. Matte > > > >From: "John Skolits" > >Reply-To: dba-sqlserver at databaseadvisors.com > >To: > >Subject: Re: [dba-SQLServer] Accees Grouping Vs SQL > >Date: Mon, 25 Sep 2006 06:58:38 -0400 > > > >Thanks for the responses. > > > >I really need Last since there are three records all with the same date and > >I want to take the last one entered. There is no Increment field so no way > >of knowing which is the last. With Access, I can be sure I have the right > >record, but in SQL, I'm not sure. I wonder how the Access SQL call is > >getting converted when it hits SQLServer when using First Or Last. > > > >I guess I can try to use the SQL tracer? I think that's what it's called, > >been a while since I've used it. That might help figure it out. > > > >Thanks. > > > >John > > From artful at rogers.com Tue Sep 26 13:29:45 2006 From: artful at rogers.com (artful at rogers.com) Date: Tue, 26 Sep 2006 11:29:45 -0700 (PDT) Subject: [dba-SQLServer] Accees Grouping Vs SQL In-Reply-To: <6.2.3.4.2.20060926131828.02380a50@pop3.highstream.net> Message-ID: <20060926182945.21630.qmail@web88202.mail.re2.yahoo.com> That will work for all future rows but not the existing rows. If there's an Identity column then it's trivial, but if not then you might consider adding one (even if only temporarily), since it will number the rows in the order they were added. ----- Original Message ---- From: Robert L. Stewart To: dba-sqlserver at databaseadvisors.com Sent: Tuesday, September 26, 2006 2:19:53 PM Subject: Re: [dba-SQLServer] Accees Grouping Vs SQL Actually, John, you should add a timestamp column to the data. Then you can always get the last record added for any number of duplicates. At 12:00 PM 9/26/2006, you wrote: >Message: 1 >Date: Mon, 25 Sep 2006 18:21:19 +0000 >From: "Mark A Matte" >Subject: Re: [dba-SQLServer] Accees Grouping Vs SQL >To: dba-sqlserver at databaseadvisors.com >Message-ID: >Content-Type: text/plain; format=flowed > >John, > >I just kinda lurk on the SQL list...just wading through trying to >learn...and not sure if this could be a solution for you...but depending on >what version of SQL you're using, one of the following may be useful: > >@@IDENTITY >This is an intrinsic variable in SQL Server that contains the Id of the >record that was last created on this connection, regardless of the table. >IDENT_CURRENT('table') >This function returns the ID of the record that was last created in the >specified table. >SCOPE_IDENTITY >This variable contains the Id of the last record that was created within the >current scope, regardless of the table. > > >Good luck, > >Mark A. Matte > > > >From: "John Skolits" > >Reply-To: dba-sqlserver at databaseadvisors.com > >To: > >Subject: Re: [dba-SQLServer] Accees Grouping Vs SQL > >Date: Mon, 25 Sep 2006 06:58:38 -0400 > > > >Thanks for the responses. > > > >I really need Last since there are three records all with the same date and > >I want to take the last one entered. There is no Increment field so no way > >of knowing which is the last. With Access, I can be sure I have the right > >record, but in SQL, I'm not sure. I wonder how the Access SQL call is > >getting converted when it hits SQLServer when using First Or Last. > > > >I guess I can try to use the SQL tracer? I think that's what it's called, > >been a while since I've used it. That might help figure it out. > > > >Thanks. > > > >John > > _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Sep 28 09:42:49 2006 From: jwcolby at colbyconsulting.com (JWColby) Date: Thu, 28 Sep 2006 10:42:49 -0400 Subject: [dba-SQLServer] Moving the log file In-Reply-To: <005f01c6dc09$1a639cb0$657aa8c0@m6805> Message-ID: <007301c6e30c$60305210$647aa8c0@m6805> Is there a way to have SQL Server itself move it's log file to another drive? I created a database and it creates the log file in the same directory as the data file. If I detach the database and physically move the log file, SQL Server refuses to allow me to attach the database again using (changing the location of) the log file on the other drive. If I just click OK with the little red X in the log file location, it creates a new log file back in the same location as the data file. John W. Colby Colby Consulting www.ColbyConsulting.com From rlavsa at tigg.com Thu Sep 28 13:59:58 2006 From: rlavsa at tigg.com (Richard Lavsa) Date: Thu, 28 Sep 2006 14:59:58 -0400 Subject: [dba-SQLServer] DTS Conditional email In-Reply-To: <6.2.3.4.2.20060726155146.0270f200@pop3.highstream.net> Message-ID: Hello all, I was able to build a workflow very quickly to run a query, get the results, export them into an excel file, then email the file to a distribution list. I am stuck on how to make it do this only when the query returns rows. The reason for this to be conditional, is that this only happens when a process does not complete of which then needs to throw a flag to certain people to check into the issue. Any help would be greatly appreciated. Rich CONFIDENTIALITY NOTICE: The information contained in this transmission may be confidential or privileged, and is intended solely for the entity or individual to whom it is addressed. If you are not the intended recipient, please be advised that any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you received this transmission in error, please contact the sender at TIGG Corporation immediately by replying to this email and deleting it from your computer. From chizotz at mchsi.com Thu Sep 28 15:15:38 2006 From: chizotz at mchsi.com (Ron Allen) Date: Thu, 28 Sep 2006 20:15:38 +0000 Subject: [dba-SQLServer] DTS Conditional email Message-ID: <092820062015.13480.451C2D69000C8AF3000034A8219792676103010CD2079C080C03BF969B019607080C@mchsi.com> I have to do something similar. In my case, I store the number of rows returned in a global variable, then I use an ActiveX script in DTS to branch execution based on the value. Here is the JavaScript I use: function Main() { if (DTSGlobalVariables("RecordCount").value == 0) { return(DTSTaskExecResult_Failure); } else { return(DTSTaskExecResult_Success); } } Then I just branch on failure to the steps needed for that, and on success to the rest of the DTS package that runs normally. HTH, Ron > Hello all, > > I was able to build a workflow very quickly to run a query, get the > results, export them into an excel file, then email the file to a > distribution list. > > I am stuck on how to make it do this only when the query returns rows. > The reason for this to be conditional, is that this only happens when a > process does not complete of which then needs to throw a flag to certain > people to check into the issue. > > Any help would be greatly appreciated. > > Rich > CONFIDENTIALITY NOTICE: The information contained in this transmission may be > confidential or privileged, and is intended solely for the entity or individual > to whom it is addressed. If you are not the intended recipient, please be > advised that any use, copying, disclosure, dissemination or distribution is > strictly prohibited. If you received this transmission in error, please contact > the sender at TIGG Corporation immediately by replying to this email and > deleting it from your computer. > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com >