From dwaters at usinternet.com Mon Aug 4 11:44:54 2008 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 4 Aug 2008 11:44:54 -0500 Subject: [dba-SQLServer] Duplicate a Database Message-ID: <584F1C1E1E4E4E18BBCD2A5D2662B5F0@danwaters> I'm using SQL Express, and have one database. I'd like to duplicate that database inside the same SQL instance and give the duplicate a different name. Within Management Studio, I can't see how to do that. Is this possible? Dan From ab-mi at post3.tele.dk Mon Aug 4 12:41:46 2008 From: ab-mi at post3.tele.dk (Asger Blond) Date: Mon, 4 Aug 2008 19:41:46 +0200 Subject: [dba-SQLServer] Duplicate a Database In-Reply-To: <584F1C1E1E4E4E18BBCD2A5D2662B5F0@danwaters> Message-ID: <000001c8f659$5deffbb0$2101a8c0@AB> Dan, One way is to make a backup followed by a restore using WITH MOVE - i.e.: BACKUP DATABASE MyDatabase TO DISK='C:\MyBackupFolder\MyDatabase.bak' GO RESTORE DATABASE MyDuplicateDatabase FROM DISK = 'C:\MyBackupFolder\MyDatabase.bak' WITH MOVE 'MyDatabase_Data' TO 'C:\MyDataFolder\ MyDuplicateDatabase.mdf', MOVE 'MyDatabase_Log' TO 'C:\MyDataFolder\ MyDuplicateDatabase.ldf' GO Asger -----Oprindelig meddelelse----- Fra: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] P? vegne af Dan Waters Sendt: 4. august 2008 18:45 Til: SQL Server List Emne: [dba-SQLServer] Duplicate a Database I'm using SQL Express, and have one database. I'd like to duplicate that database inside the same SQL instance and give the duplicate a different name. Within Management Studio, I can't see how to do that. Is this possible? Dan _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From dwaters at usinternet.com Mon Aug 4 12:51:59 2008 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 4 Aug 2008 12:51:59 -0500 Subject: [dba-SQLServer] Duplicate a Database In-Reply-To: <000001c8f659$5deffbb0$2101a8c0@AB> References: <584F1C1E1E4E4E18BBCD2A5D2662B5F0@danwaters> <000001c8f659$5deffbb0$2101a8c0@AB> Message-ID: Great!!! I was able to just use the GUI in Management Studio to do this in 2 minutes. Thanks again! Dan -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Asger Blond Sent: Monday, August 04, 2008 12:42 PM To: 'Discussion concerning MS SQL Server' Subject: Re: [dba-SQLServer] Duplicate a Database Dan, One way is to make a backup followed by a restore using WITH MOVE - i.e.: BACKUP DATABASE MyDatabase TO DISK='C:\MyBackupFolder\MyDatabase.bak' GO RESTORE DATABASE MyDuplicateDatabase FROM DISK = 'C:\MyBackupFolder\MyDatabase.bak' WITH MOVE 'MyDatabase_Data' TO 'C:\MyDataFolder\ MyDuplicateDatabase.mdf', MOVE 'MyDatabase_Log' TO 'C:\MyDataFolder\ MyDuplicateDatabase.ldf' GO Asger -----Oprindelig meddelelse----- Fra: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] P? vegne af Dan Waters Sendt: 4. august 2008 18:45 Til: SQL Server List Emne: [dba-SQLServer] Duplicate a Database I'm using SQL Express, and have one database. I'd like to duplicate that database inside the same SQL instance and give the duplicate a different name. Within Management Studio, I can't see how to do that. Is this possible? Dan _______________________________________________ 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 fuller.artful at gmail.com Mon Aug 4 13:43:53 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 4 Aug 2008 15:43:53 -0300 Subject: [dba-SQLServer] All tables, columns and indexes Message-ID: <29f585dd0808041143j7cf709afi7f43ac52aa431e94@mail.gmail.com> I was building an Excel worksheet to list all the tables in my db in column A, then the indexes for each table in column B, and the columns in each index in Column C, because I couldn't figure out how to grab that data in a single SELECT. Can you help? I can see portions here and there but I'm not seeing how to grab it all in one grab. Thanks, Arthur From kens.programming at verizon.net Mon Aug 4 14:20:47 2008 From: kens.programming at verizon.net (kens.programming) Date: Mon, 04 Aug 2008 12:20:47 -0700 Subject: [dba-SQLServer] All tables, columns and indexes In-Reply-To: <29f585dd0808041143j7cf709afi7f43ac52aa431e94@mail.gmail.com> References: <29f585dd0808041143j7cf709afi7f43ac52aa431e94@mail.gmail.com> Message-ID: <002901c8f667$33f640e0$6401a8c0@Stoker.com> Arthur, Is something like this what you are looking for?: SELECT so.name, si.name, sc.name FROM sysobjects so INNER JOIN sysindexes si ON so.id = si.id INNER JOIN sysindexkeys sik ON si.indid = sik.indid AND so.id = sik.id INNER JOIN syscolumns sc ON sik.colid = sc.colid AND so.id = sc.id WHERE so.type = 'U' Ken -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, August 04, 2008 11:44 AM To: Discussion concerning MS SQL Server Subject: [dba-SQLServer] All tables, columns and indexes I was building an Excel worksheet to list all the tables in my db in column A, then the indexes for each table in column B, and the columns in each index in Column C, because I couldn't figure out how to grab that data in a single SELECT. Can you help? I can see portions here and there but I'm not seeing how to grab it all in one grab. Thanks, Arthur _______________________________________________ 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. Version: 7.5.524 / Virus Database: 270.5.12/1590 - Release Date: 8/4/2008 8:09 AM No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.5.12/1590 - Release Date: 8/4/2008 8:09 AM From robert at webedb.com Mon Aug 4 15:09:51 2008 From: robert at webedb.com (Robert L. Stewart) Date: Mon, 04 Aug 2008 15:09:51 -0500 Subject: [dba-SQLServer] Duplicate a Database In-Reply-To: References: Message-ID: <200808042012.m74KCU3c018765@databaseadvisors.com> Dan, The simplest way is to backup the current database. Then restore it as the new name that you want. Robert At 12:00 PM 8/4/2008, you wrote: >Date: Mon, 4 Aug 2008 11:44:54 -0500 >From: "Dan Waters" >Subject: [dba-SQLServer] Duplicate a Database >To: "SQL Server List" >Message-ID: <584F1C1E1E4E4E18BBCD2A5D2662B5F0 at danwaters> >Content-Type: text/plain; charset="us-ascii" > >I'm using SQL Express, and have one database. I'd like to duplicate that >database inside the same SQL instance and give the duplicate a different >name. > >Within Management Studio, I can't see how to do that. > >Is this possible? > >Dan > > > > >------------------------------ > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > >End of dba-SQLServer Digest, Vol 66, Issue 1 >******************************************** From fuller.artful at gmail.com Mon Aug 4 17:26:22 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 4 Aug 2008 19:26:22 -0300 Subject: [dba-SQLServer] All tables, columns and indexes In-Reply-To: <002901c8f667$33f640e0$6401a8c0@Stoker.com> References: <29f585dd0808041143j7cf709afi7f43ac52aa431e94@mail.gmail.com> <002901c8f667$33f640e0$6401a8c0@Stoker.com> Message-ID: <29f585dd0808041526j53c158d0heafe0d1d25748464@mail.gmail.com> Very nice. Now I just have to dig my notes on Coalesce so I can comma-delimit the indexed columns for each index rather than get multiple rows, but not should not be difficult. Thanks! On Mon, Aug 4, 2008 at 4:20 PM, kens.programming < kens.programming at verizon.net> wrote: > Arthur, > > Is something like this what you are looking for?: > > SELECT so.name, si.name, sc.name > FROM sysobjects so INNER JOIN sysindexes si ON so.id = si.id > INNER JOIN sysindexkeys sik ON si.indid = sik.indid AND so.id = > sik.id > INNER JOIN syscolumns sc ON sik.colid = sc.colid AND so.id = sc.id > WHERE so.type = 'U' > > Ken > From kens.programming at verizon.net Mon Aug 4 17:37:43 2008 From: kens.programming at verizon.net (kens.programming) Date: Mon, 04 Aug 2008 15:37:43 -0700 Subject: [dba-SQLServer] All tables, columns and indexes In-Reply-To: <29f585dd0808041526j53c158d0heafe0d1d25748464@mail.gmail.com> References: <29f585dd0808041143j7cf709afi7f43ac52aa431e94@mail.gmail.com> <002901c8f667$33f640e0$6401a8c0@Stoker.com> <29f585dd0808041526j53c158d0heafe0d1d25748464@mail.gmail.com> Message-ID: <000301c8f682$b6d409f0$6401a8c0@Stoker.com> I would be interested in learning that from you. I have only been able to accommodate comma-delimited strings of a column through a function, so if I can get around having to build a function to do it, I would definitely be happy. Ken -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, August 04, 2008 3:26 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] All tables, columns and indexes Very nice. Now I just have to dig my notes on Coalesce so I can comma-delimit the indexed columns for each index rather than get multiple rows, but not should not be difficult. Thanks! On Mon, Aug 4, 2008 at 4:20 PM, kens.programming < kens.programming at verizon.net> wrote: > Arthur, > > Is something like this what you are looking for?: > > SELECT so.name, si.name, sc.name > FROM sysobjects so INNER JOIN sysindexes si ON so.id = si.id > INNER JOIN sysindexkeys sik ON si.indid = sik.indid AND so.id = > sik.id > INNER JOIN syscolumns sc ON sik.colid = sc.colid AND so.id = sc.id > WHERE so.type = 'U' > > Ken > _______________________________________________ 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. Version: 7.5.524 / Virus Database: 270.5.12/1590 - Release Date: 8/4/2008 8:09 AM No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.5.12/1590 - Release Date: 8/4/2008 8:09 AM From fuller.artful at gmail.com Mon Aug 4 17:59:25 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 4 Aug 2008 19:59:25 -0300 Subject: [dba-SQLServer] All tables, columns and indexes In-Reply-To: <000301c8f682$b6d409f0$6401a8c0@Stoker.com> References: <29f585dd0808041143j7cf709afi7f43ac52aa431e94@mail.gmail.com> <002901c8f667$33f640e0$6401a8c0@Stoker.com> <29f585dd0808041526j53c158d0heafe0d1d25748464@mail.gmail.com> <000301c8f682$b6d409f0$6401a8c0@Stoker.com> Message-ID: <29f585dd0808041559o7b4a1ad0j49c45fd004fec23f@mail.gmail.com> I have written about this for TechRepublic, but since I moved to Bermuda I don't have access to all my previous writings. As soon as I find the piece I will copy it and email you with it. Arthur On Mon, Aug 4, 2008 at 7:37 PM, kens.programming < kens.programming at verizon.net> wrote: > I would be interested in learning that from you. I have only been able to > accommodate comma-delimited strings of a column through a function, so if I > can get around having to build a function to do it, I would definitely be > happy. > > Ken > From fuller.artful at gmail.com Tue Aug 5 09:39:13 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 5 Aug 2008 11:39:13 -0300 Subject: [dba-SQLServer] All tables, columns and indexes In-Reply-To: <002901c8f667$33f640e0$6401a8c0@Stoker.com> References: <29f585dd0808041143j7cf709afi7f43ac52aa431e94@mail.gmail.com> <002901c8f667$33f640e0$6401a8c0@Stoker.com> Message-ID: <29f585dd0808050739v5da714b1q8c434e13679e31cf@mail.gmail.com> Very nice. Now I just have to dig my notes on Coalesce so I can comma-delimit the indexed columns for each index rather than get multiple rows, but not should not be difficult. Thanks! On Mon, Aug 4, 2008 at 4:20 PM, kens.programming < kens.programming at verizon.net> wrote: > Arthur, > > Is something like this what you are looking for?: > > SELECT so.name, si.name, sc.name > FROM sysobjects so INNER JOIN sysindexes si ON so.id = si.id > INNER JOIN sysindexkeys sik ON si.indid = sik.indid AND so.id = > sik.id > INNER JOIN syscolumns sc ON sik.colid = sc.colid AND so.id = sc.id > WHERE so.type = 'U' > > Ken > From fuller.artful at gmail.com Tue Aug 5 09:57:43 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 5 Aug 2008 11:57:43 -0300 Subject: [dba-SQLServer] Div Zero problem Message-ID: <29f585dd0808050757p75ce2536t7736432136c887bd@mail.gmail.com> I'm running into a problem where the sum of one column (call it B) could be zero and then we want to divide column A's value by Sum(B), and if Sum(B) = 0, then I just want the value of A. i.e. a = 480 Sum(b) = 0 -- they are zeroes not nulls result = a/b but with some sort of divZero function that returns a in the event that b = zero. IOW if b = zero then b = 1. I can write a UDF if necessary but my feeling is that this already exists in MS SQL, I just can't put my finger on it. Arthur From mikedorism at verizon.net Tue Aug 5 10:26:51 2008 From: mikedorism at verizon.net (Doris Manning) Date: Tue, 05 Aug 2008 11:26:51 -0400 Subject: [dba-SQLServer] Div Zero problem In-Reply-To: <29f585dd0808050757p75ce2536t7736432136c887bd@mail.gmail.com> References: <29f585dd0808050757p75ce2536t7736432136c887bd@mail.gmail.com> Message-ID: <001801c8f70f$af8358d0$6dfe2e0a@Kermit> CASE WHEN b = 0 THEN a ELSE a/b END Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, August 05, 2008 10:58 AM To: Discussion concerning MS SQL Server Subject: [dba-SQLServer] Div Zero problem I'm running into a problem where the sum of one column (call it B) could be zero and then we want to divide column A's value by Sum(B), and if Sum(B) = 0, then I just want the value of A. i.e. a = 480 Sum(b) = 0 -- they are zeroes not nulls result = a/b but with some sort of divZero function that returns a in the event that b = zero. IOW if b = zero then b = 1. I can write a UDF if necessary but my feeling is that this already exists in MS SQL, I just can't put my finger on it. Arthur _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From fuller.artful at gmail.com Mon Aug 11 12:31:24 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 11 Aug 2008 14:31:24 -0300 Subject: [dba-SQLServer] Pointless Indexes? Message-ID: <29f585dd0808111031v754c0958pa382f0a6cf76257a@mail.gmail.com> I've been reading about indexes and bookmark lookups and so on, and examining the indexes in our database, table by table. I have two general questions: 1. Is there any point in including a bit column in a compound index, whether as an indexed column or an included column? Since it can only have two possible values, it strikes me that there is no point. 2. Similar question: I have a table with about 200K rows in it currently and an FK in said table with only 6 possible values. Any point in indexing it? It seems the more I read, the more confused I get :) TIA, Arthur From accessd at shaw.ca Mon Aug 11 14:35:58 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 11 Aug 2008 12:35:58 -0700 Subject: [dba-SQLServer] Pointless Indexes? In-Reply-To: <29f585dd0808111031v754c0958pa382f0a6cf76257a@mail.gmail.com> References: <29f585dd0808111031v754c0958pa382f0a6cf76257a@mail.gmail.com> Message-ID: Hi Arthur: I would not know why your particular client would index a bit column but I use that a lot of times as a super fast group index for inactive and active records in any DB.... as you know account transactions can never be deleted... Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, August 11, 2008 10:31 AM To: Discussion concerning MS SQL Server Subject: [dba-SQLServer] Pointless Indexes? I've been reading about indexes and bookmark lookups and so on, and examining the indexes in our database, table by table. I have two general questions: 1. Is there any point in including a bit column in a compound index, whether as an indexed column or an included column? Since it can only have two possible values, it strikes me that there is no point. 2. Similar question: I have a table with about 200K rows in it currently and an FK in said table with only 6 possible values. Any point in indexing it? It seems the more I read, the more confused I get :) TIA, Arthur _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From fuller.artful at gmail.com Mon Aug 11 15:01:02 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 11 Aug 2008 17:01:02 -0300 Subject: [dba-SQLServer] Pointless Indexes? In-Reply-To: References: <29f585dd0808111031v754c0958pa382f0a6cf76257a@mail.gmail.com> Message-ID: <29f585dd0808111301j4fd015ccg34cc4faa291f2868@mail.gmail.com> You're precisely correct, that is what that column (called IsActive) does, but some of the reading I've done suggests that a) you can't index a bit column even in a compound index -- although it is listed in the indexed columns so this part is especially confusing; and b) that given an approximately 50-50 ratio of Yes and No in said column, even if indexed the optimizer will prefer a table scan. I'm just beginning to learn about Execution Plan etc. so I don't know whether I'm misreading the articles or the evidence or both. A. On Mon, Aug 11, 2008 at 4:35 PM, Jim Lawrence wrote: > Hi Arthur: > > I would not know why your particular client would index a bit column but I > use that a lot of times as a super fast group index for inactive and active > records in any DB.... as you know account transactions can never be > deleted... > > Jim > From jlawrenc1 at shaw.ca Mon Aug 11 16:04:57 2008 From: jlawrenc1 at shaw.ca (Jim Lawrence) Date: Mon, 11 Aug 2008 14:04:57 -0700 Subject: [dba-SQLServer] Pointless Indexes? In-Reply-To: <29f585dd0808111301j4fd015ccg34cc4faa291f2868@mail.gmail.com> References: <29f585dd0808111031v754c0958pa382f0a6cf76257a@mail.gmail.com> <29f585dd0808111301j4fd015ccg34cc4faa291f2868@mail.gmail.com> Message-ID: <356AD276BF004E24A8E23DF743EC655E@creativesystemdesigns.com> Hi Arthur: I must admit I use a byte for this type of column and it works just fine... Jim -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, August 11, 2008 1:01 PM To: Discussion concerning MS SQL Server Subject: Re: [dba-SQLServer] Pointless Indexes? You're precisely correct, that is what that column (called IsActive) does, but some of the reading I've done suggests that a) you can't index a bit column even in a compound index -- although it is listed in the indexed columns so this part is especially confusing; and b) that given an approximately 50-50 ratio of Yes and No in said column, even if indexed the optimizer will prefer a table scan. I'm just beginning to learn about Execution Plan etc. so I don't know whether I'm misreading the articles or the evidence or both. A. On Mon, Aug 11, 2008 at 4:35 PM, Jim Lawrence wrote: > Hi Arthur: > > I would not know why your particular client would index a bit column but I > use that a lot of times as a super fast group index for inactive and active > records in any DB.... as you know account transactions can never be > deleted... > > Jim > _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From ab-mi at post3.tele.dk Mon Aug 11 17:15:06 2008 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 12 Aug 2008 00:15:06 +0200 Subject: [dba-SQLServer] Pointless Indexes? In-Reply-To: <29f585dd0808111031v754c0958pa382f0a6cf76257a@mail.gmail.com> Message-ID: <000601c8fbff$caa82ab0$2101a8c0@AB> Don't know if I'm just repeating myself, or if this will make some points in my posting about covering indexes a few weeks ago more clear: Question 1: If the bit column is not the first in a *composite* index (as opposed to an index with included columns), then it can't be used for search operations, and not for order-by operations either. If the bit column is the first in a *composite* index, then in theory it could be used for search operations, but in practice the query engine most likely will ignore it because of its low selectivity. If the bit column is the first in a *composite* index, then it can be useful for order-by operations. If the bit column is an *included* column in an index, then it can't be used for search operations, and not for order-by operations either. If the bit column is an *included* column in an index, then it can be useful as a covering index preventing bookmark lookups. Question 2: Only 6 possible values doesn't necessarily mean an index is useless: SQL Server maintains statistical information on the amount of duplicates for the different values in your column, and if your search criteria points to a value having few duplicates, then selectivity is high and the index might be useful. Another concern here: As you probably know, it's good practice always to index a FK because it will make join operations faster. For developers used to MS Access this is a point to remember: whereas MS Access automatically creates an index on the FK when you "enforce referential integrity", SQL Server doesn?t do this when you create a FK constraint - you have to create the FK index explicitly yourself in SQL Server. Asger -----Oprindelig meddelelse----- Fra: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] P? vegne af Arthur Fuller Sendt: 11. august 2008 19:31 Til: Discussion concerning MS SQL Server Emne: [dba-SQLServer] Pointless Indexes? I've been reading about indexes and bookmark lookups and so on, and examining the indexes in our database, table by table. I have two general questions: 1. Is there any point in including a bit column in a compound index, whether as an indexed column or an included column? Since it can only have two possible values, it strikes me that there is no point. 2. Similar question: I have a table with about 200K rows in it currently and an FK in said table with only 6 possible values. Any point in indexing it? It seems the more I read, the more confused I get :) TIA, Arthur _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Aug 13 07:55:23 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 13 Aug 2008 09:55:23 -0300 Subject: [dba-SQLServer] Indexes Question Message-ID: <29f585dd0808130555r56ac1a79t25caf221d85905d@mail.gmail.com> In SQL you can create a compound index and you can also create included columns, and you can do both. What is the difference between them? When should a column be part of the index key and when should it be an included column? Is there any point to including a bit column in a compound index? TIA, Arthur From mwp.reid at qub.ac.uk Wed Aug 13 08:04:09 2008 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 13 Aug 2008 14:04:09 +0100 Subject: [dba-SQLServer] Indexes Question In-Reply-To: <29f585dd0808130555r56ac1a79t25caf221d85905d@mail.gmail.com> References: <29f585dd0808130555r56ac1a79t25caf221d85905d@mail.gmail.com> Message-ID: Hi Arthur http://msdn.microsoft.com/en-us/library/ms190806.aspx Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: dba-sqlserver-bounces at databaseadvisors.com [dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller [fuller.artful at gmail.com] Sent: 13 August 2008 13:55 To: Discussion concerning MS SQL Server Subject: [dba-SQLServer] Indexes Question In SQL you can create a compound index and you can also create included columns, and you can do both. What is the difference between them? When should a column be part of the index key and when should it be an included column? Is there any point to including a bit column in a compound index? TIA, Arthur _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Aug 13 08:37:24 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 13 Aug 2008 10:37:24 -0300 Subject: [dba-SQLServer] Indexes Question In-Reply-To: References: <29f585dd0808130555r56ac1a79t25caf221d85905d@mail.gmail.com> Message-ID: <29f585dd0808130637o75467efen98e383a8108a07a6@mail.gmail.com> Thanks, Martin. On Wed, Aug 13, 2008 at 10:04 AM, Martin Reid wrote: > Hi Arthur > > http://msdn.microsoft.com/en-us/library/ms190806.aspx > > Martin > From ab-mi at post3.tele.dk Wed Aug 13 09:20:29 2008 From: ab-mi at post3.tele.dk (Asger Blond) Date: Wed, 13 Aug 2008 16:20:29 +0200 Subject: [dba-SQLServer] Indexes Question In-Reply-To: <29f585dd0808130555r56ac1a79t25caf221d85905d@mail.gmail.com> Message-ID: <000101c8fd4f$bd256f50$2101a8c0@AB> Arthur, Just curious, why do you keep asking the same question under different subject-lines? You asked this question in slightly different manners under the subject "Covering Indexes", and "Pointless Indexes" - I answered both, but you didn't respond. Now the question reappears as "Index Question". Why not stick to the original thread and let people know if answers given are useful for you? Asger -----Oprindelig meddelelse----- Fra: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] P? vegne af Arthur Fuller Sendt: 13. august 2008 14:55 Til: Discussion concerning MS SQL Server Emne: [dba-SQLServer] Indexes Question In SQL you can create a compound index and you can also create included columns, and you can do both. What is the difference between them? When should a column be part of the index key and when should it be an included column? Is there any point to including a bit column in a compound index? TIA, Arthur _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Aug 13 09:36:10 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 13 Aug 2008 11:36:10 -0300 Subject: [dba-SQLServer] Indexes Question In-Reply-To: <000101c8fd4f$bd256f50$2101a8c0@AB> References: <29f585dd0808130555r56ac1a79t25caf221d85905d@mail.gmail.com> <000101c8fd4f$bd256f50$2101a8c0@AB> Message-ID: <29f585dd0808130736l328f566aq510e0ff166d60cc1@mail.gmail.com> Ok, Asger, I'll do that from now on. Arthur On Wed, Aug 13, 2008 at 11:20 AM, Asger Blond wrote: > Arthur, > > Just curious, why do you keep asking the same question under different > subject-lines? > You asked this question in slightly different manners under the subject > "Covering Indexes", and "Pointless Indexes" - I answered both, but you > didn't respond. Now the question reappears as "Index Question". Why not > stick to the original thread and let people know if answers given are > useful > for you? > > Asger > From ssharkins at gmail.com Wed Aug 20 08:03:35 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 20 Aug 2008 09:03:35 -0400 Subject: [dba-SQLServer] OT a bit :) Message-ID: <11a101c902c5$3b93bac0$2f8601c7@SusanOne> A recruiter called me the other day and she said "sequel" server instead of S-Q-L Server. It sounded so nice. :) Funny, she didn't sound as old as me! ;) Susan H. From dbdoug at gmail.com Wed Aug 20 08:36:32 2008 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 20 Aug 2008 06:36:32 -0700 Subject: [dba-SQLServer] OT a bit :) In-Reply-To: <11a101c902c5$3b93bac0$2f8601c7@SusanOne> References: <11a101c902c5$3b93bac0$2f8601c7@SusanOne> Message-ID: <4dd71a0c0808200636p26f16165ka40229bc237e8bdd@mail.gmail.com> Gee, 'sequel' is the only way I've ever heard it pronounced - not that I have a large circle of acquaintances that talk about it! Doug Steele On Wed, Aug 20, 2008 at 6:03 AM, Susan Harkins wrote: > A recruiter called me the other day and she said "sequel" server instead of > S-Q-L Server. It sounded so nice. :) Funny, she didn't sound as old as me! > ;) > > Susan H. > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From ssharkins at gmail.com Wed Aug 20 08:41:10 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 20 Aug 2008 09:41:10 -0400 Subject: [dba-SQLServer] OT a bit :) References: <11a101c902c5$3b93bac0$2f8601c7@SusanOne> <4dd71a0c0808200636p26f16165ka40229bc237e8bdd@mail.gmail.com> Message-ID: <125101c902ca$69365eb0$2f8601c7@SusanOne> Well, I get it both ways, but mostly, I hear S-Q-L because that's MS-speak... that's what they want, so most younger people comply -- and mostly because that's all they've ever known. :) BTW, this recruiter was looking for someone with strong skills in Report Writer -- I still have her email if anyone's interested. I "think" the job was going to support telecommuting. Susan H. > Gee, 'sequel' is the only way I've ever heard it pronounced - not that I > have a large circle of acquaintances that talk about it! > >> A recruiter called me the other day and she said "sequel" server instead >> of >> S-Q-L Server. It sounded so nice. :) Funny, she didn't sound as old as >> me! >> ;) From markamatte at hotmail.com Wed Aug 20 09:16:05 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 20 Aug 2008 14:16:05 +0000 Subject: [dba-SQLServer] OT a bit :) In-Reply-To: <11a101c902c5$3b93bac0$2f8601c7@SusanOne> References: <11a101c902c5$3b93bac0$2f8601c7@SusanOne> Message-ID: My girlfriend shows interest in what I do. I tried to explain the "SQL Server thing". I guess I did not do a good job explaining because she now refers to it as 'sqeal' server(in jest of course). All I can do is laugh. Mark A. Matte > From: ssharkins at gmail.com > To: dba-SQLServer at databaseadvisors.com > Date: Wed, 20 Aug 2008 09:03:35 -0400 > Subject: [dba-SQLServer] OT a bit :) > > A recruiter called me the other day and she said "sequel" server instead of > S-Q-L Server. It sounded so nice. :) Funny, she didn't sound as old as me! > ;) > > Susan H. > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > _________________________________________________________________ Get ideas on sharing photos from people like you. Find new ways to share. http://www.windowslive.com/explore/photogallery/posts?ocid=TXT_TAGLM_WL_Photo_Gallery_082008 From ssharkins at gmail.com Wed Aug 20 09:21:19 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 20 Aug 2008 10:21:19 -0400 Subject: [dba-SQLServer] OT a bit :) References: <11a101c902c5$3b93bac0$2f8601c7@SusanOne> Message-ID: <12f401c902d0$051dc520$2f8601c7@SusanOne> > My girlfriend shows interest in what I do. I tried to explain the "SQL > Server thing". I guess I did not do a good job explaining because she now > refers to it as 'sqeal' server(in jest of course). > > All I can do is laugh. =======Um..... no... I guess I won't go there. :) Susan H. From accessd at shaw.ca Wed Aug 20 16:58:24 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 20 Aug 2008 14:58:24 -0700 Subject: [dba-SQLServer] Fixing MS SQL catalogue In-Reply-To: References: <29f585dd0808130555r56ac1a79t25caf221d85905d@mail.gmail.com> Message-ID: <4A5360AB88B84F9F99606E75384E20E2@creativesystemdesigns.com> Hi All: I have been trying to fix my MS SQL?s catalogue on the main Server. The process to fairly simple to do this: 1. Go to the command prompt, in adminstration mode, with all limits off. 2. Stop the service: net stop cryptsvc ? stops fine. (I also turn off the SQL) 3. Rebuild the catalogue file: esentutl /p <%systemroot%>\System32\catroot2\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\catdb 4. ?and then it should be as simple as restarting things: net start cryptsvc The problem is that stage number 3 ?access is denied?? Example: C:\Program Files\Support Tools>esentutl /p <%systemroot%>\System32\catroot2\{F750E6C3-38EE-11D1-85E5-00C04FC295EE} Access is denied. Seeing all attached processes have been stopped and I am in GOD mode what is this???? Any thoughts?? Jim From stuart at lexacorp.com.pg Wed Aug 20 17:46:56 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 21 Aug 2008 08:46:56 +1000 Subject: [dba-SQLServer] OT a bit :) In-Reply-To: <11a101c902c5$3b93bac0$2f8601c7@SusanOne> References: <11a101c902c5$3b93bac0$2f8601c7@SusanOne> Message-ID: <48AC9EE0.23024.2E2A5326@stuart.lexacorp.com.pg> Flame bait! Flame bait! Are you looking to start a war :-) It's pronounce Squirrel http://fishbowl.pastiche.org/2004/02/11/pronunciation_of_sql/ Personally I always spell it out - which happens to be in accordance with this point of view: Jim Melton, editor of the ISO SQL-92 standard, covered this in his book _Understanding the New SQL_ (Morgan Kaufmann): "1.2 What is SQL? SQL (correctly pronounced "ess cue ell," instead of the somewhat common "sequel"), is a data sublanguage ..." He also explains 'Structured Query Language' is archaic: "Many books and article "define" SQL by parenthetically claiming the letters stand for Structured Query Language. While this was true for the original prototypes, it is not true of the standard..." 'Structured Query Language' and 'sequel' are pre-cursors to today's SQL standard, just as SGML is a pre-cursor to XML. -- Stuart On 20 Aug 2008 at 9:03, Susan Harkins wrote: > A recruiter called me the other day and she said "sequel" server instead of > S-Q-L Server. It sounded so nice. :) Funny, she didn't sound as old as me! > ;) > > Susan H. > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > -- Stuart Mclachlan From fuller.artful at gmail.com Mon Aug 25 08:12:27 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 25 Aug 2008 10:12:27 -0300 Subject: [dba-SQLServer] SQL 2008 local install Message-ID: <29f585dd0808250612n5ab00f95j791ce2230713f41f@mail.gmail.com> I have to install SQL 2008 on my new notebook. On the server configuration screen it lists ther service accounts for the various services: SQL Server Agent: SQL Server: SQL Server Browser: NT Authority Analysis Services: Reporting Services: Integration Services: NT Authority What value(s) should I put into the empty slots? Thanks, Arthur From fuller.artful at gmail.com Mon Aug 25 12:09:31 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 25 Aug 2008 14:09:31 -0300 Subject: [dba-SQLServer] SQL 2008 Message-ID: <29f585dd0808251009v3b9eb56cl6c1fd4e73652af7c@mail.gmail.com> Who's got a reliable link to download the latest RTM? I can't seem to find one that actually works. Arthur From Gustav at cactus.dk Mon Aug 25 12:15:08 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 25 Aug 2008 19:15:08 +0200 Subject: [dba-SQLServer] SQL 2008 Message-ID: Hi Arthur It was included with the latest Action Pack shipment ... CTM5 if I recall correctly. /gustav >>> fuller.artful at gmail.com 25-08-2008 19:09 >>> Who's got a reliable link to download the latest RTM? I can't seem to find one that actually works. Arthur From fuller.artful at gmail.com Mon Aug 25 12:17:44 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 25 Aug 2008 14:17:44 -0300 Subject: [dba-SQLServer] SQL 2008 In-Reply-To: References: Message-ID: <29f585dd0808251017k3d3b715ckcd5d0956e30a6306@mail.gmail.com> Oh I thought it was downloadable. Oh well. Thanks. On Mon, Aug 25, 2008 at 2:15 PM, Gustav Brock wrote: > Hi Arthur > > It was included with the latest Action Pack shipment ... CTM5 if I recall > correctly. > > /gustav > From Gustav at cactus.dk Mon Aug 25 12:21:08 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 25 Aug 2008 19:21:08 +0200 Subject: [dba-SQLServer] SQL 2008 Message-ID: Hi Arthur I think it is, but probably not without an MSDN subscription which I don't have. /gustav >>> fuller.artful at gmail.com 25-08-2008 19:17 >>> Oh I thought it was downloadable. Oh well. Thanks. On Mon, Aug 25, 2008 at 2:15 PM, Gustav Brock wrote: > Hi Arthur > > It was included with the latest Action Pack shipment ... CTM5 if I recall > correctly. > > /gustav From fuller.artful at gmail.com Mon Aug 25 12:34:40 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 25 Aug 2008 14:34:40 -0300 Subject: [dba-SQLServer] SQL 2008 In-Reply-To: References: Message-ID: <29f585dd0808251034w409837c4l8485e84284d2ee5e@mail.gmail.com> I guess that it's time I looked into buying one of these subscriptions again. I let my other one lapse. Maybe I can persuade my new employer to spring for it. A. On Mon, Aug 25, 2008 at 2:21 PM, Gustav Brock wrote: > Hi Arthur > > I think it is, but probably not without an MSDN subscription which I don't > have. > > /gustav > From robert at webedb.com Tue Aug 26 13:17:27 2008 From: robert at webedb.com (Robert L. Stewart) Date: Tue, 26 Aug 2008 13:17:27 -0500 Subject: [dba-SQLServer] SQL 2008 In-Reply-To: References: Message-ID: <200808261822.m7QIMLvQ024837@databaseadvisors.com> Or, you could buy the developer version for $49. At least that was how much it was for 2005's developer version. At 12:00 PM 8/26/2008, you wrote: >Date: Mon, 25 Aug 2008 14:09:31 -0300 >From: "Arthur Fuller" >Subject: [dba-SQLServer] SQL 2008 >To: "Discussion concerning MS SQL Server" > >Message-ID: > <29f585dd0808251009v3b9eb56cl6c1fd4e73652af7c at mail.gmail.com> >Content-Type: text/plain; charset=ISO-8859-1 > >Who's got a reliable link to download the latest RTM? I can't seem to find >one that actually works. > >Arthur From fuller.artful at gmail.com Wed Aug 27 07:56:44 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 27 Aug 2008 09:56:44 -0300 Subject: [dba-SQLServer] For Each Message-ID: <29f585dd0808270556g7ebeb98ej13233ff70035775c@mail.gmail.com> I was positive that at some point I had encountered a sproc that would let me do things like this (pseudo-code): exec sp_foreach @objectType = 'Table', @command = 'UPDATE STATISTICS ?' where the question mark indicates the object name in the iterative process. So the statement above would update the stats on all user tables and require no adjustment should I add or remove any tables. Given this construct, I could also rebuild all indexes on all tables or defrag all tables, etc. without having to write the statements explicitly. But I can't find this procedure and I'm beginning to think I only dreamed of it rather than encountered it in the real world. Have you encountered this particular beast anywhere? I've looked through the system procedures and searched MSDN and Googled and I can't find anything, with the exception of a ForEach construct in SQL 2008 SSIS packages. TIA, Arthur From fuller.artful at gmail.com Wed Aug 27 09:07:37 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 27 Aug 2008 11:07:37 -0300 Subject: [dba-SQLServer] For Each In-Reply-To: <29f585dd0808270556g7ebeb98ej13233ff70035775c@mail.gmail.com> References: <29f585dd0808270556g7ebeb98ej13233ff70035775c@mail.gmail.com> Message-ID: <29f585dd0808270707g3ae736f4md96a8cb616efecff@mail.gmail.com> I found it at last. It's on TechRepublic. On Wed, Aug 27, 2008 at 9:56 AM, Arthur Fuller wrote: > I was positive that at some point I had encountered a sproc that would > let me do things like this (pseudo-code): > > exec sp_foreach @objectType = 'Table', @command = 'UPDATE STATISTICS ?' > > From stuart at lexacorp.com.pg Wed Aug 27 16:57:23 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 28 Aug 2008 07:57:23 +1000 Subject: [dba-SQLServer] For Each In-Reply-To: <29f585dd0808270707g3ae736f4md96a8cb616efecff@mail.gmail.com> References: <29f585dd0808270556g7ebeb98ej13233ff70035775c@mail.gmail.com>, <29f585dd0808270707g3ae736f4md96a8cb616efecff@mail.gmail.com> Message-ID: <48B5CDC3.6687.52098B33@stuart.lexacorp.com.pg> Gee thanks :-( That's a big site - a URL would be useful. Cheers, Stuart On 27 Aug 2008 at 11:07, Arthur Fuller wrote: > I found it at last. It's on TechRepublic. > > On Wed, Aug 27, 2008 at 9:56 AM, Arthur Fuller wrote: > > > I was positive that at some point I had encountered a sproc that would > > let me do things like this (pseudo-code): > > > > exec sp_foreach @objectType = 'Table', @command = 'UPDATE STATISTICS ?' > > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > -- Stuart Mclachlan From fuller.artful at gmail.com Wed Aug 27 19:01:58 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 27 Aug 2008 21:01:58 -0300 Subject: [dba-SQLServer] For Each In-Reply-To: <48B5CDC3.6687.52098B33@stuart.lexacorp.com.pg> References: <29f585dd0808270556g7ebeb98ej13233ff70035775c@mail.gmail.com> <29f585dd0808270707g3ae736f4md96a8cb616efecff@mail.gmail.com> <48B5CDC3.6687.52098B33@stuart.lexacorp.com.pg> Message-ID: <29f585dd0808271701p4f4ee09axb687f2e641c950c8@mail.gmail.com> It's on two of Tim Chapman's columns, the first documenting the undocumented sprocs and the second including his generalization of same. Arthur On Wed, Aug 27, 2008 at 6:57 PM, Stuart McLachlan wrote: > Gee thanks :-( > > That's a big site - a URL would be useful. > > From fhtapia at gmail.com Fri Aug 29 16:16:54 2008 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 29 Aug 2008 14:16:54 -0700 Subject: [dba-SQLServer] For Each In-Reply-To: <48B5CDC3.6687.52098B33@stuart.lexacorp.com.pg> References: <29f585dd0808270556g7ebeb98ej13233ff70035775c@mail.gmail.com> <29f585dd0808270707g3ae736f4md96a8cb616efecff@mail.gmail.com> <48B5CDC3.6687.52098B33@stuart.lexacorp.com.pg> Message-ID: Here is another site w/ the same information: http://www.databasejournal.com/features/mssql/article.php/3441031 GoogleSearch: http://www.google.com/search?q=undocumented+procedure+sql+for+each+table -Francisco http://sqlthis.blogspot.com | Tsql and More... On Wed, Aug 27, 2008 at 2:57 PM, Stuart McLachlan wrote: > Gee thanks :-( > > That's a big site - a URL would be useful. > > > > Cheers, > Stuart > > On 27 Aug 2008 at 11:07, Arthur Fuller wrote: > > > I found it at last. It's on TechRepublic. > > > > On Wed, Aug 27, 2008 at 9:56 AM, Arthur Fuller >wrote: > > > > > I was positive that at some point I had encountered a sproc that would > > > let me do things like this (pseudo-code): > > > > > > exec sp_foreach @objectType = 'Table', @command = 'UPDATE STATISTICS ?' > > > > > > > > _______________________________________________ > > dba-SQLServer mailing list > > dba-SQLServer at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > > http://www.databaseadvisors.com > > > > -- > Stuart Mclachlan > > > _______________________________________________ > 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 Fri Aug 29 16:17:10 2008 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 29 Aug 2008 14:17:10 -0700 Subject: [dba-SQLServer] For Each In-Reply-To: <29f585dd0808271701p4f4ee09axb687f2e641c950c8@mail.gmail.com> References: <29f585dd0808270556g7ebeb98ej13233ff70035775c@mail.gmail.com> <29f585dd0808270707g3ae736f4md96a8cb616efecff@mail.gmail.com> <48B5CDC3.6687.52098B33@stuart.lexacorp.com.pg> <29f585dd0808271701p4f4ee09axb687f2e641c950c8@mail.gmail.com> Message-ID: -Francisco http://sqlthis.blogspot.com | Tsql and More... On Wed, Aug 27, 2008 at 5:01 PM, Arthur Fuller wrote: > It's on two of Tim Chapman's columns, the first documenting the > undocumented > sprocs and the second including his generalization of same. > > Arthur > > On Wed, Aug 27, 2008 at 6:57 PM, Stuart McLachlan >wrote: > > > Gee thanks :-( > > > > That's a big site - a URL would be useful. > > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > >