From jwcolby at colbyconsulting.com Sun Apr 15 22:07:32 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 15 Apr 2012 23:07:32 -0400 Subject: [dba-SQLServer] The coming in-memory database tipping point. - SQL Server Team Blog - Site Home - TechNet Blogs Message-ID: <4F8B8CF4.8030804@colbyconsulting.com> -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it http://blogs.technet.com/b/dataplatforminsider/archive/2012/04/09/the-coming-in-memory-database-tipping-point.aspx From fuller.artful at gmail.com Sun Apr 22 18:59:18 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 22 Apr 2012 19:59:18 -0400 Subject: [dba-SQLServer] SQL 2000 question Message-ID: It's been several years since I have had SQL 2000 installed locally, but lately I've had occasion to use it. Fortunately, SQL 2005 is also installed, so I can use SSMS instead of resorting to the dinosaur Enterprise Manager. Currently, there are 5 procs executed in sequence. Each uses one particular table, scoping it by a date range and another parameter, then joins the result to a second table to obtain values to update the original table. The procs are always executed in sequence. Now, my question. Does SQL 2000 support global temp tables? If so, then I could create the temp table once, and share it among the 5 sprocs, letting each of them join to its table of interest to obtain the values to use in the update. If not, then I could create a local temp table and fold the 5 sprocs into a single larger sproc, but I'd rather not do that because I like the atomicity of the current setup (each sproc doing exactly one thing). Can someone with either a good memory or a copy of SQL 2000 installed please check this out for me? TIA, -- Arthur The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents. -Nathaniel Borenstein From fhtapia at gmail.com Sun Apr 22 19:02:28 2012 From: fhtapia at gmail.com (Francisco Tapia) Date: Sun, 22 Apr 2012 17:02:28 -0700 Subject: [dba-SQLServer] SQL 2000 question In-Reply-To: References: Message-ID: <-6936009744825576608@unknownmsgid> Yes it supports ##temp tables Sent from my mobile On Apr 22, 2012, at 4:59 PM, Arthur Fuller wrote: > It's been several years since I have had SQL 2000 installed locally, but > lately I've had occasion to use it. Fortunately, SQL 2005 is also > installed, so I can use SSMS instead of resorting to the dinosaur > Enterprise Manager. > > Currently, there are 5 procs executed in sequence. Each uses one particular > table, scoping it by a date range and another parameter, then joins the > result to a second table to obtain values to update the original table. The > procs are always executed in sequence. > > Now, my question. Does SQL 2000 support global temp tables? > > If so, then I could create the temp table once, and share it among the 5 > sprocs, letting each of them join to its table of interest to obtain the > values to use in the update. > > If not, then I could create a local temp table and fold the 5 sprocs into a > single larger sproc, but I'd rather not do that because I like the > atomicity of the current setup (each sproc doing exactly one thing). > > Can someone with either a good memory or a copy of SQL 2000 installed > please check this out for me? > > TIA, > > -- > Arthur > > The most likely way for the world to be destroyed, most experts agree, is > by accident. That's where we come in; we're computer professionals. We > cause accidents. > > -Nathaniel Borenstein > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Sun Apr 22 19:23:48 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 23 Apr 2012 10:23:48 +1000 Subject: [dba-SQLServer] SQL 2000 question In-Reply-To: References: Message-ID: <4F94A114.26362.37D70D3E@stuart.lexacorp.com.pg> Quick google came up with: http://www.sqlservercentral.com/articles/T-SQL/temptablesinsqlserver/1279/ There are two types of temporary data types. They are namely Local and global. Let me first give you and example to start the temporary table. Following example is taken from Books on Line of Microsoft? SQL ServerTM 2000. -- Stuart On 22 Apr 2012 at 19:59, Arthur Fuller wrote: > It's been several years since I have had SQL 2000 installed locally, but > lately I've had occasion to use it. Fortunately, SQL 2005 is also > installed, so I can use SSMS instead of resorting to the dinosaur > Enterprise Manager. > > Currently, there are 5 procs executed in sequence. Each uses one particular > table, scoping it by a date range and another parameter, then joins the > result to a second table to obtain values to update the original table. The > procs are always executed in sequence. > > Now, my question. Does SQL 2000 support global temp tables? > From fuller.artful at gmail.com Sun Apr 22 19:30:21 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 22 Apr 2012 20:30:21 -0400 Subject: [dba-SQLServer] SQL 2000 question In-Reply-To: <-6936009744825576608@unknownmsgid> References: <-6936009744825576608@unknownmsgid> Message-ID: Thanks, Francisco! Now to whip up a little test case, heh heh heh.... A. On Sun, Apr 22, 2012 at 8:02 PM, Francisco Tapia wrote: > Yes it supports ##temp tables > > From fuller.artful at gmail.com Sun Apr 22 19:51:58 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 22 Apr 2012 20:51:58 -0400 Subject: [dba-SQLServer] SQL 2000 question In-Reply-To: <4F94A114.26362.37D70D3E@stuart.lexacorp.com.pg> References: <4F94A114.26362.37D70D3E@stuart.lexacorp.com.pg> Message-ID: Thanks, Stuart. I know what they are and what to do with them. I just wasn't sure whether global temp tables were available in SQL 2000. Francisco assures me that they are. A, On Sun, Apr 22, 2012 at 8:23 PM, Stuart McLachlan wrote: > Quick google came up with: > > http://www.sqlservercentral.com/articles/T-SQL/temptablesinsqlserver/1279/ > > There are two types of temporary data types. They are namely Local and > global. Let me first > give you and example to start the temporary table. Following example is > taken from Books on > Line of Microsoft? SQL ServerTM 2000. > > -- > Stuart > > > On 22 Apr 2012 at 19:59, Arthur Fuller wrote: > > > It's been several years since I have had SQL 2000 installed locally, but > > lately I've had occasion to use it. Fortunately, SQL 2005 is also > > installed, so I can use SSMS instead of resorting to the dinosaur > > Enterprise Manager. > > > > Currently, there are 5 procs executed in sequence. Each uses one > particular > > table, scoping it by a date range and another parameter, then joins the > > result to a second table to obtain values to update the original table. > The > > procs are always executed in sequence. > > > > Now, my question. Does SQL 2000 support global temp tables? > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr