From MarkBoyd at McBeeAssociates.com Thu Aug 7 10:38:17 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Thu, 7 Aug 2003 11:38:17 -0400 Subject: [dba-SQLServer]Schedule DTS package in Job Message-ID: I am fairly new to creating Jobs in Enterprise Mgr. What is the code to execute a DTS package as a step in a job? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From knicholson at gpsx.net Thu Aug 7 11:46:12 2003 From: knicholson at gpsx.net (Nicholson, Karen) Date: Thu, 7 Aug 2003 11:46:12 -0500 Subject: [dba-SQLServer]Schedule DTS package in Job Message-ID: See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dtssql/dts_ pkgmng_4hm6.asp This stepped me through this just fine. -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at McBeeAssociates.com] Sent: Thursday, August 07, 2003 11:38 AM To: SQLServerList Subject: [dba-SQLServer]Schedule DTS package in Job I am fairly new to creating Jobs in Enterprise Mgr. What is the code to execute a DTS package as a step in a job? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From MarkBoyd at McBeeAssociates.com Thu Aug 7 10:53:21 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Thu, 7 Aug 2003 11:53:21 -0400 Subject: [dba-SQLServer]Schedule DTS package in Job Message-ID: Great, thanks Karen! Mark -----Original Message----- From: Nicholson, Karen [mailto:knicholson at gpsx.net] Sent: Thursday, August 07, 2003 12:46 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Schedule DTS package in Job See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dtssql/ dts_pkgmng_4hm6.asp This stepped me through this just fine. -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at McBeeAssociates.com] Sent: Thursday, August 07, 2003 11:38 AM To: SQLServerList Subject: [dba-SQLServer]Schedule DTS package in Job I am fairly new to creating Jobs in Enterprise Mgr. What is the code to execute a DTS package as a step in a job? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From knicholson at gpsx.net Thu Aug 7 16:59:54 2003 From: knicholson at gpsx.net (Nicholson, Karen) Date: Thu, 7 Aug 2003 16:59:54 -0500 Subject: [dba-SQLServer]Migrating from SQL7 to SQL2000 Message-ID: I will be migrating from SQL7 to SQL2000 in the next month or so. Need advice - what will be my major problems? In addition, our company has many Access 97 databases that are linking and updating (augugughghghg!!!!) to SQL7. I am working through those folks to get them into Crystal interfaces and running stored procedures to update their data, but am concerned about the compatability if I do not catch all the apps before I migrate. I already have contacted those using JAVA to let them know to gear up. All advice is appreciated. Thank you. From DElam at jenkens.com Thu Aug 7 16:54:11 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Thu, 7 Aug 2003 16:54:11 -0500 Subject: [dba-SQLServer]Migrating from SQL7 to SQL2000 Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C02DD10@natexch.jenkens.com> I had lots of Access 97 databases hooking to SQL 7.0 BEs. I did not have a single problem when they were upgraded to 2000. Unless the server name is changing, I don't see that you would need to do anything. Debbie -----Original Message----- From: Nicholson, Karen [mailto:knicholson at gpsx.net] Sent: Thursday, August 07, 2003 5:00 PM To: Dba-Sqlserver (E-mail) Subject: [dba-SQLServer]Migrating from SQL7 to SQL2000 I will be migrating from SQL7 to SQL2000 in the next month or so. Need advice - what will be my major problems? In addition, our company has many Access 97 databases that are linking and updating (augugughghghg!!!!) to SQL7. I am working through those folks to get them into Crystal interfaces and running stored procedures to update their data, but am concerned about the compatability if I do not catch all the apps before I migrate. I already have contacted those using JAVA to let them know to gear up. All advice is appreciated. Thank you. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From tuxedo_man at hotmail.com Thu Aug 7 23:16:28 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Fri, 08 Aug 2003 04:16:28 +0000 Subject: [dba-SQLServer]Disaster Recovery - offsite backups Message-ID: Does anyone have any good resources/links to Disaster Recovery (with respect to offsite database backups) from a database point of view? Thanks in advance, Billy _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From accessd at shaw.ca Thu Aug 7 23:54:28 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 07 Aug 2003 21:54:28 -0700 Subject: [dba-SQLServer]Migrating from SQL7 to SQL2000 In-Reply-To: Message-ID: Hi Karen: You can export all the table structure and stored procedures as a sql file and load and run on the new server which builds everything then save all the data to access db. The data can re-imported into the SQL 2000 db in minutes. If there are two connected boxes with SQL 7 and SQL 2000 it become super easy; just create a DB on the SQL 2000 box with the same name then export directly from the SQL 7 straight into SQL 2000. Builds all table, views, stored procedures, triggers, data etc. while you go for a coffee break. HTH Jim PS about as close to 100% compatible as a operating system can be. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Nicholson, Karen Sent: Thursday, August 07, 2003 3:00 PM To: Dba-Sqlserver (E-mail) Subject: [dba-SQLServer]Migrating from SQL7 to SQL2000 I will be migrating from SQL7 to SQL2000 in the next month or so. Need advice - what will be my major problems? In addition, our company has many Access 97 databases that are linking and updating (augugughghghg!!!!) to SQL7. I am working through those folks to get them into Crystal interfaces and running stored procedures to update their data, but am concerned about the compatability if I do not catch all the apps before I migrate. I already have contacted those using JAVA to let them know to gear up. All advice is appreciated. Thank you. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Fri Aug 8 10:51:53 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Fri, 8 Aug 2003 11:51:53 -0400 Subject: [dba-SQLServer]Running a Job Message-ID: I am attempting to run a job thru SQL2000 Enterprise Mgr. This job consists of 6 steps, each containing a sproc in the command. When I go to run the job, it finishes successfully in about 5 seconds, but doesn't seem to run any of the sprocs. Each step looks like the following: execute spSproc. Am I missing something? Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tuxedo_man at hotmail.com Fri Aug 8 12:11:03 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Fri, 08 Aug 2003 17:11:03 +0000 Subject: [dba-SQLServer]Running a Job Message-ID: Try run SQL Profiler and see if you returns any messages. >From: "Mark Boyd" >Reply-To: dba-sqlserver at databaseadvisors.com >To: "SQLServerList" >Subject: [dba-SQLServer]Running a Job >Date: Fri, 8 Aug 2003 11:51:53 -0400 > >I am attempting to run a job thru SQL2000 Enterprise Mgr. > >This job consists of 6 steps, each containing a sproc in the command. > >When I go to run the job, it finishes successfully in about 5 seconds, >but doesn't seem to run any of the sprocs. > >Each step looks like the following: execute spSproc. > >Am I missing something? > >Any ideas? > > > >TIA, > >Mark Boyd > >Sr. Systems Analyst > >McBee Associates, Inc. > > > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From Robert.Djabarov at usaa.com Fri Aug 8 12:15:26 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Fri, 8 Aug 2003 12:15:26 -0500 Subject: [dba-SQLServer]Running a Job Message-ID: <5A31F89EC4C79B49B5030FF2EF58E9D20639F959@ex02.eagle.usaa.com> Make sure that there is no "On Completion/Success exit job" setting. Robert Djabarov Sr. SQL Server DBA Phone: (210) 913-3148 Pager: (210) 753-3148 -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Billy Pang Sent: Friday, August 08, 2003 12:11 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer]Running a Job Try run SQL Profiler and see if you returns any messages. >From: "Mark Boyd" >Reply-To: dba-sqlserver at databaseadvisors.com >To: "SQLServerList" >Subject: [dba-SQLServer]Running a Job >Date: Fri, 8 Aug 2003 11:51:53 -0400 > >I am attempting to run a job thru SQL2000 Enterprise Mgr. > >This job consists of 6 steps, each containing a sproc in the command. > >When I go to run the job, it finishes successfully in about 5 seconds, >but doesn't seem to run any of the sprocs. > >Each step looks like the following: execute spSproc. > >Am I missing something? > >Any ideas? > > > >TIA, > >Mark Boyd > >Sr. Systems Analyst > >McBee Associates, Inc. > > > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Fri Aug 8 12:19:03 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Fri, 8 Aug 2003 13:19:03 -0400 Subject: [dba-SQLServer]Running a Job Message-ID: Billy - I have never used this utility. Can you provide more info? Thanks, Mark -----Original Message----- From: Billy Pang [mailto:tuxedo_man at hotmail.com] Sent: Friday, August 08, 2003 1:11 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer]Running a Job Try run SQL Profiler and see if you returns any messages. >From: "Mark Boyd" >Reply-To: dba-sqlserver at databaseadvisors.com >To: "SQLServerList" >Subject: [dba-SQLServer]Running a Job >Date: Fri, 8 Aug 2003 11:51:53 -0400 > >I am attempting to run a job thru SQL2000 Enterprise Mgr. > >This job consists of 6 steps, each containing a sproc in the command. > >When I go to run the job, it finishes successfully in about 5 seconds, >but doesn't seem to run any of the sprocs. > >Each step looks like the following: execute spSproc. > >Am I missing something? > >Any ideas? > > > >TIA, > >Mark Boyd > >Sr. Systems Analyst > >McBee Associates, Inc. > > > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Fri Aug 8 12:21:47 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Fri, 8 Aug 2003 13:21:47 -0400 Subject: [dba-SQLServer]Running a Job Message-ID: Robert - The only place I have this is in the last step. All previous steps are set up as 'On Success: Goto Next Step'. Mark -----Original Message----- From: Djabarov, Robert [mailto:Robert.Djabarov at usaa.com] Sent: Friday, August 08, 2003 1:15 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job Make sure that there is no "On Completion/Success exit job" setting. Robert Djabarov Sr. SQL Server DBA Phone: (210) 913-3148 Pager: (210) 753-3148 -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Billy Pang Sent: Friday, August 08, 2003 12:11 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer]Running a Job Try run SQL Profiler and see if you returns any messages. >From: "Mark Boyd" >Reply-To: dba-sqlserver at databaseadvisors.com >To: "SQLServerList" >Subject: [dba-SQLServer]Running a Job >Date: Fri, 8 Aug 2003 11:51:53 -0400 > >I am attempting to run a job thru SQL2000 Enterprise Mgr. > >This job consists of 6 steps, each containing a sproc in the command. > >When I go to run the job, it finishes successfully in about 5 seconds, >but doesn't seem to run any of the sprocs. > >Each step looks like the following: execute spSproc. > >Am I missing something? > >Any ideas? > > > >TIA, > >Mark Boyd > >Sr. Systems Analyst > >McBee Associates, Inc. > > > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _______________________________________________ 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 ebarro at afsweb.com Fri Aug 8 11:06:11 2003 From: ebarro at afsweb.com (Eric Barro) Date: Fri, 8 Aug 2003 09:06:11 -0700 Subject: [dba-SQLServer]Running a Job In-Reply-To: Message-ID: Mark, Check the Job History details to see if it succeeded or failed. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Friday, August 08, 2003 8:52 AM To: SQLServerList Subject: [dba-SQLServer]Running a Job I am attempting to run a job thru SQL2000 Enterprise Mgr. This job consists of 6 steps, each containing a sproc in the command. When I go to run the job, it finishes successfully in about 5 seconds, but doesn?t seem to run any of the sprocs. Each step looks like the following: execute spSproc. Am I missing something? Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From MarkBoyd at McBeeAssociates.com Fri Aug 8 13:14:33 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Fri, 8 Aug 2003 14:14:33 -0400 Subject: [dba-SQLServer]Running a Job Message-ID: Eric - The job history is telling me it succeeded, but I can tell the sprocs in the steps didn't execute. Mark -----Original Message----- From: Eric Barro [mailto:ebarro at afsweb.com] Sent: Friday, August 08, 2003 12:06 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job Mark, Check the Job History details to see if it succeeded or failed. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Friday, August 08, 2003 8:52 AM To: SQLServerList Subject: [dba-SQLServer]Running a Job I am attempting to run a job thru SQL2000 Enterprise Mgr. This job consists of 6 steps, each containing a sproc in the command. When I go to run the job, it finishes successfully in about 5 seconds, but doesn't seem to run any of the sprocs. Each step looks like the following: execute spSproc. Am I missing something? Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From knicholson at gpsx.net Fri Aug 8 15:21:27 2003 From: knicholson at gpsx.net (Nicholson, Karen) Date: Fri, 8 Aug 2003 15:21:27 -0500 Subject: [dba-SQLServer]Running a Job Message-ID: Post your exact code. -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at McBeeAssociates.com] Sent: Friday, August 08, 2003 2:15 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job Eric - The job history is telling me it succeeded, but I can tell the sprocs in the steps didn't execute. Mark -----Original Message----- From: Eric Barro [mailto:ebarro at afsweb.com] Sent: Friday, August 08, 2003 12:06 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job Mark, Check the Job History details to see if it succeeded or failed. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Friday, August 08, 2003 8:52 AM To: SQLServerList Subject: [dba-SQLServer]Running a Job I am attempting to run a job thru SQL2000 Enterprise Mgr. This job consists of 6 steps, each containing a sproc in the command. When I go to run the job, it finishes successfully in about 5 seconds, but doesn't seem to run any of the sprocs. Each step looks like the following: execute spSproc. Am I missing something? Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tuxedo_man at hotmail.com Fri Aug 8 14:18:37 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Fri, 08 Aug 2003 19:18:37 +0000 Subject: [dba-SQLServer]Running a Job Message-ID: SQL Profiler is a graphical tool that allows system administrators to monitor events in an instance Microsoft SQL Server. This includes whether or not a sproc has been executed from job. Of course, this assumes that you already checked To access Profiler, go to Start Menu, Programs, SQL Server, Profiler >From Profiler, go to FILE, NEW, TRACE... Connect to the SQL Server where the Job is executed. Use the following template: SQLProfilerTSQL Click RUN. Go and execute your Job again and see if you notice any activity there. There will be a lot of records to sift through but if your sproc ran, it will show up here. To reduce the number of the records displayed here, use the FILTER tab from the previous screen. A quick way of locating your sproc is to CTRL-F and search for the name of your sproc in the "Data Column". good luck. let us know if you find anything. Billy >From: "Mark Boyd" >Reply-To: dba-sqlserver at databaseadvisors.com >To: >Subject: RE: [dba-SQLServer]Running a Job >Date: Fri, 8 Aug 2003 13:19:03 -0400 > >Billy - >I have never used this utility. >Can you provide more info? > >Thanks, >Mark > >-----Original Message----- >From: Billy Pang [mailto:tuxedo_man at hotmail.com] >Sent: Friday, August 08, 2003 1:11 PM >To: dba-sqlserver at databaseadvisors.com >Subject: Re: [dba-SQLServer]Running a Job > >Try run SQL Profiler and see if you returns any messages. > > > > > >From: "Mark Boyd" > >Reply-To: dba-sqlserver at databaseadvisors.com > >To: "SQLServerList" > >Subject: [dba-SQLServer]Running a Job > >Date: Fri, 8 Aug 2003 11:51:53 -0400 > > > >I am attempting to run a job thru SQL2000 Enterprise Mgr. > > > >This job consists of 6 steps, each containing a sproc in the command. > > > >When I go to run the job, it finishes successfully in about 5 seconds, > >but doesn't seem to run any of the sprocs. > > > >Each step looks like the following: execute spSproc. > > > >Am I missing something? > > > >Any ideas? > > > > > > > >TIA, > > > >Mark Boyd > > > >Sr. Systems Analyst > > > >McBee Associates, Inc. > > > > > > > >_______________________________________________ > >dba-SQLServer mailing list > >dba-SQLServer at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > >http://www.databaseadvisors.com > > > >_________________________________________________________________ >MSN 8 with e-mail virus protection service: 2 months FREE* >http://join.msn.com/?page=features/virus > >_______________________________________________ >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 > _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From tuxedo_man at hotmail.com Fri Aug 8 14:18:37 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Fri, 08 Aug 2003 19:18:37 +0000 Subject: [dba-SQLServer]Running a Job Message-ID: SQL Profiler is a graphical tool that allows system administrators to monitor events in an instance Microsoft SQL Server. This includes whether or not a sproc has been executed from job. Of course, this assumes that you already checked To access Profiler, go to Start Menu, Programs, SQL Server, Profiler >From Profiler, go to FILE, NEW, TRACE... Connect to the SQL Server where the Job is executed. Use the following template: SQLProfilerTSQL Click RUN. Go and execute your Job again and see if you notice any activity there. There will be a lot of records to sift through but if your sproc ran, it will show up here. To reduce the number of the records displayed here, use the FILTER tab from the previous screen. A quick way of locating your sproc is to CTRL-F and search for the name of your sproc in the "Data Column". good luck. let us know if you find anything. Billy >From: "Mark Boyd" >Reply-To: dba-sqlserver at databaseadvisors.com >To: >Subject: RE: [dba-SQLServer]Running a Job >Date: Fri, 8 Aug 2003 13:19:03 -0400 > >Billy - >I have never used this utility. >Can you provide more info? > >Thanks, >Mark > >-----Original Message----- >From: Billy Pang [mailto:tuxedo_man at hotmail.com] >Sent: Friday, August 08, 2003 1:11 PM >To: dba-sqlserver at databaseadvisors.com >Subject: Re: [dba-SQLServer]Running a Job > >Try run SQL Profiler and see if you returns any messages. > > > > > >From: "Mark Boyd" > >Reply-To: dba-sqlserver at databaseadvisors.com > >To: "SQLServerList" > >Subject: [dba-SQLServer]Running a Job > >Date: Fri, 8 Aug 2003 11:51:53 -0400 > > > >I am attempting to run a job thru SQL2000 Enterprise Mgr. > > > >This job consists of 6 steps, each containing a sproc in the command. > > > >When I go to run the job, it finishes successfully in about 5 seconds, > >but doesn't seem to run any of the sprocs. > > > >Each step looks like the following: execute spSproc. > > > >Am I missing something? > > > >Any ideas? > > > > > > > >TIA, > > > >Mark Boyd > > > >Sr. Systems Analyst > > > >McBee Associates, Inc. > > > > > > > >_______________________________________________ > >dba-SQLServer mailing list > >dba-SQLServer at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > >http://www.databaseadvisors.com > > > >_________________________________________________________________ >MSN 8 with e-mail virus protection service: 2 months FREE* >http://join.msn.com/?page=features/virus > >_______________________________________________ >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 > _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From knicholson at gpsx.net Fri Aug 8 15:41:16 2003 From: knicholson at gpsx.net (Nicholson, Karen) Date: Fri, 8 Aug 2003 15:41:16 -0500 Subject: [dba-SQLServer]Server Names on SQL-2000 Box Message-ID: Question - is it true that there is a bug in MS that dis-allows the naming of a server with anything other than normal characters.. our current server is named MAS-2. When trying to name the new test server MAS-2 (not connected in anyway to our current server, stand alone test system), it chokes on the name. Wants MAS2. I don't like this because I want to make an upgrade over the weekend, pulling the plug on MAS-2 and replacing with the new MAS-2. That way, all applications pointing to that server can just keep on running. Changing the name seems to be asking for a migraine. Thanks. From mwp.reid at qub.ac.uk Fri Aug 8 14:43:55 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 8 Aug 2003 12:43:55 -0700 Subject: [dba-SQLServer]Server Names on SQL-2000 Box References: Message-ID: <008d01c35de5$6824ec10$0f0b6351@martin1> test Martin ----- Original Message ----- From: "Nicholson, Karen" To: "Dba-Sqlserver (E-mail)" Sent: Friday, August 08, 2003 1:41 PM Subject: [dba-SQLServer]Server Names on SQL-2000 Box > Question - is it true that there is a bug in MS that dis-allows the naming > of a server with anything other than normal characters.. our current server > is named MAS-2. When trying to name the new test server MAS-2 (not connected > in anyway to our current server, stand alone test system), it chokes on the > name. Wants MAS2. I don't like this because I want to make an upgrade over > the weekend, pulling the plug on MAS-2 and replacing with the new MAS-2. > That way, all applications pointing to that server can just keep on running. > Changing the name seems to be asking for a migraine. > > Thanks. > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From mwp.reid at qub.ac.uk Fri Aug 8 15:37:41 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 8 Aug 2003 13:37:41 -0700 Subject: [dba-SQLServer]SQL Server Upsize References: <7B1961ED924D1A459E378C9B1BB22B4C02DD10@natexch.jenkens.com> Message-ID: <010a01c35dec$eae5a750$0f0b6351@martin1> Folks I am looking at a large Multiple Back End DB. We are converting it to SQL Server/MSDE heres is one option. I would like comments pleaseeeeeeeeeee All data heavy tables will be moved to SQL Server 2000. Other smaller tables whcih dont actualy contain a great deal of data will remain in Access MDB. We will then link the whole thing into the Front End. Move as much processing of this stuff to SQL Server, read only tto Pass Throughs. We are not using ADPS becasue of the recoding of the entire system. But it may be possible as there is a way to run DAO in an ADP. Anyone see any problems with this approach? Anyone care to suggest another? Any major problems joing local MDB linked tables to SQL Server Linked tables? Feel free to comment. I want to kick the options around. Martin From tuxedo_man at hotmail.com Fri Aug 8 15:56:11 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Fri, 08 Aug 2003 20:56:11 +0000 Subject: [dba-SQLServer]SQL Server Upsize Message-ID: Is it possible to enforce referential integrity between two tables where parent table is in Access and child table is in SQL Server? >From: Martin Reid >Reply-To: dba-sqlserver at databaseadvisors.com >To: dba-sqlserver >Subject: [dba-SQLServer]SQL Server Upsize >Date: Fri, 8 Aug 2003 13:37:41 -0700 > >Folks > >I am looking at a large Multiple Back End DB. We are converting it to SQL >Server/MSDE > >heres is one option. I would like comments pleaseeeeeeeeeee > >All data heavy tables will be moved to SQL Server 2000. Other smaller >tables >whcih dont actualy contain a great deal of data will remain in Access MDB. >We will then link the whole thing into the Front End. Move as much >processing of this stuff to SQL Server, read only tto Pass Throughs. > >We are not using ADPS becasue of the recoding of the entire system. But it >may be possible as there is a way to run DAO in an ADP. > >Anyone see any problems with this approach? > >Anyone care to suggest another? > >Any major problems joing local MDB linked tables to SQL Server Linked >tables? > >Feel free to comment. I want to kick the options around. > >Martin > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From mwp.reid at qub.ac.uk Fri Aug 8 16:07:57 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 8 Aug 2003 14:07:57 -0700 Subject: [dba-SQLServer]SQL Server Upsize References: Message-ID: <015301c35df1$252fd8a0$0f0b6351@martin1> Dont know LOL But will find out! Martin ----- Original Message ----- From: "Billy Pang" To: Sent: Friday, August 08, 2003 1:56 PM Subject: Re: [dba-SQLServer]SQL Server Upsize > Is it possible to enforce referential integrity between two tables where > parent table is in Access and child table is in SQL Server? > > > > >From: Martin Reid > >Reply-To: dba-sqlserver at databaseadvisors.com > >To: dba-sqlserver > >Subject: [dba-SQLServer]SQL Server Upsize > >Date: Fri, 8 Aug 2003 13:37:41 -0700 > > > >Folks > > > >I am looking at a large Multiple Back End DB. We are converting it to SQL > >Server/MSDE > > > >heres is one option. I would like comments pleaseeeeeeeeeee > > > >All data heavy tables will be moved to SQL Server 2000. Other smaller > >tables > >whcih dont actualy contain a great deal of data will remain in Access MDB. > >We will then link the whole thing into the Front End. Move as much > >processing of this stuff to SQL Server, read only tto Pass Throughs. > > > >We are not using ADPS becasue of the recoding of the entire system. But it > >may be possible as there is a way to run DAO in an ADP. > > > >Anyone see any problems with this approach? > > > >Anyone care to suggest another? > > > >Any major problems joing local MDB linked tables to SQL Server Linked > >tables? > > > >Feel free to comment. I want to kick the options around. > > > >Martin > > > >_______________________________________________ > >dba-SQLServer mailing list > >dba-SQLServer at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > >http://www.databaseadvisors.com > > > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From Robert.Djabarov at usaa.com Fri Aug 8 16:09:54 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Fri, 8 Aug 2003 16:09:54 -0500 Subject: [dba-SQLServer]SQL Server Upsize Message-ID: <5A31F89EC4C79B49B5030FF2EF58E9D20639F97D@ex02.eagle.usaa.com> Why not move everything to SQL? It will be highly inefficient to do any joins using 2 sources, unless taking the join to Access. This will definitely be inefficient. Robert Djabarov Sr. SQL Server DBA Phone: (210) 913-3148 Pager: (210) 753-3148 -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Friday, August 08, 2003 3:38 PM To: dba-sqlserver Subject: [dba-SQLServer]SQL Server Upsize Folks I am looking at a large Multiple Back End DB. We are converting it to SQL Server/MSDE heres is one option. I would like comments pleaseeeeeeeeeee All data heavy tables will be moved to SQL Server 2000. Other smaller tables whcih dont actualy contain a great deal of data will remain in Access MDB. We will then link the whole thing into the Front End. Move as much processing of this stuff to SQL Server, read only tto Pass Throughs. We are not using ADPS becasue of the recoding of the entire system. But it may be possible as there is a way to run DAO in an ADP. Anyone see any problems with this approach? Anyone care to suggest another? Any major problems joing local MDB linked tables to SQL Server Linked tables? Feel free to comment. I want to kick the options around. Martin _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From tuxedo_man at hotmail.com Fri Aug 8 15:56:11 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Fri, 08 Aug 2003 20:56:11 +0000 Subject: [dba-SQLServer]SQL Server Upsize Message-ID: Is it possible to enforce referential integrity between two tables where parent table is in Access and child table is in SQL Server? >From: Martin Reid >Reply-To: dba-sqlserver at databaseadvisors.com >To: dba-sqlserver >Subject: [dba-SQLServer]SQL Server Upsize >Date: Fri, 8 Aug 2003 13:37:41 -0700 > >Folks > >I am looking at a large Multiple Back End DB. We are converting it to SQL >Server/MSDE > >heres is one option. I would like comments pleaseeeeeeeeeee > >All data heavy tables will be moved to SQL Server 2000. Other smaller >tables >whcih dont actualy contain a great deal of data will remain in Access MDB. >We will then link the whole thing into the Front End. Move as much >processing of this stuff to SQL Server, read only tto Pass Throughs. > >We are not using ADPS becasue of the recoding of the entire system. But it >may be possible as there is a way to run DAO in an ADP. > >Anyone see any problems with this approach? > >Anyone care to suggest another? > >Any major problems joing local MDB linked tables to SQL Server Linked >tables? > >Feel free to comment. I want to kick the options around. > >Martin > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Aug 8 16:55:04 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 8 Aug 2003 14:55:04 -0700 Subject: [dba-SQLServer]SQL Server Upsize References: <5A31F89EC4C79B49B5030FF2EF58E9D20639F97D@ex02.eagle.usaa.com> Message-ID: <001701c35df7$ba5bf5c0$0f0b6351@martin1> At the moment I have everything in SQL Server. Just looking at options at the moment. All tables linked in. Martin ----- Original Message ----- From: "Djabarov, Robert" To: "dba-sqlserver" Sent: Friday, August 08, 2003 2:09 PM Subject: RE: [dba-SQLServer]SQL Server Upsize > Why not move everything to SQL? It will be highly inefficient to do any > joins using 2 sources, unless taking the join to Access. This will > definitely be inefficient. > > Robert Djabarov > Sr. SQL Server DBA > Phone: (210) 913-3148 > Pager: (210) 753-3148 > > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Martin > Reid > Sent: Friday, August 08, 2003 3:38 PM > To: dba-sqlserver > Subject: [dba-SQLServer]SQL Server Upsize > > > Folks > > I am looking at a large Multiple Back End DB. We are converting it to > SQL Server/MSDE > > heres is one option. I would like comments pleaseeeeeeeeeee > > All data heavy tables will be moved to SQL Server 2000. Other smaller > tables whcih dont actualy contain a great deal of data will remain in > Access MDB. We will then link the whole thing into the Front End. Move > as much processing of this stuff to SQL Server, read only tto Pass > Throughs. > > We are not using ADPS becasue of the recoding of the entire system. But > it may be possible as there is a way to run DAO in an ADP. > > Anyone see any problems with this approach? > > Anyone care to suggest another? > > Any major problems joing local MDB linked tables to SQL Server Linked > tables? > > Feel free to comment. I want to kick the options around. > > Martin > > _______________________________________________ > 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 djkr at msn.com Sat Aug 9 03:20:15 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Sat, 9 Aug 2003 09:20:15 +0100 Subject: [dba-SQLServer]Running a Job In-Reply-To: Message-ID: <037a01c35e4f$0fd6d270$db00a8c0@dabsight> Mark In the Job History, have you checked whether any/all of the individual job steps have succeeded? John -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: 08 August 2003 19:15 To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job Eric - The job history is telling me it succeeded, but I can tell the sprocs in the steps didn't execute. Mark -----Original Message----- From: Eric Barro [mailto:ebarro at afsweb.com] Sent: Friday, August 08, 2003 12:06 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job Mark, Check the Job History details to see if it succeeded or failed. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Friday, August 08, 2003 8:52 AM To: SQLServerList Subject: [dba-SQLServer]Running a Job I am attempting to run a job thru SQL2000 Enterprise Mgr. This job consists of 6 steps, each containing a sproc in the command. When I go to run the job, it finishes successfully in about 5 seconds, but doesn't seem to run any of the sprocs. Each step looks like the following: execute spSproc. Am I missing something? Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Sun Aug 10 03:11:53 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 10 Aug 2003 01:11:53 -0700 Subject: [dba-SQLServer]Copy SPs References: Message-ID: <000e01c35f17$10c701f0$0f0b6351@martin1> Is there a way to copy a bunch of Stored Procedures from Database A to Database B automatically Martin From mwp.reid at qub.ac.uk Sun Aug 10 03:18:46 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 10 Aug 2003 01:18:46 -0700 Subject: [dba-SQLServer]Copy SPs _ Its OK References: <000e01c35f17$10c701f0$0f0b6351@martin1> Message-ID: <000701c35f18$063caf40$0f0b6351@martin1> Its OK. Job done. Used DTS Martin ----- Original Message ----- From: "Martin Reid" To: "dba-sqlserver" Sent: Sunday, August 10, 2003 1:11 AM Subject: [dba-SQLServer]Copy SPs > Is there a way to copy a bunch of Stored Procedures from Database A to > Database B automatically > > > Martin > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From michael.broesdorf at web.de Mon Aug 11 05:16:35 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Mon, 11 Aug 2003 12:16:35 +0200 Subject: [dba-SQLServer]Audit log In-Reply-To: <000701c35f18$063caf40$0f0b6351@martin1> Message-ID: Hello, for a customer I need to implement an audit log. There are a couple of commercial tools available, that take the task of creating the log table and triggers required for that (e.g. Krell Software's OmniAudit or Red Matrix' SQL Audit). Does anyone have experience using tools like that and might want to share his/her experience? Are those tools worth their money or might it be easier/cheaper/more flexible to implement that myself? TIA, Michael From MarkBoyd at McBeeAssociates.com Mon Aug 11 08:17:28 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon, 11 Aug 2003 09:17:28 -0400 Subject: [dba-SQLServer]Running a Job Message-ID: John - It tells me that all steps have succeeded. I know the sprocs aren't running because normally they each take about 30 minutes to run. When I run the sprocs in a job, they each run for about a second, then return successful. Mark -----Original Message----- From: DJK(John) Robinson [mailto:djkr at msn.com] Sent: Saturday, August 09, 2003 4:20 AM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job Mark In the Job History, have you checked whether any/all of the individual job steps have succeeded? John -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: 08 August 2003 19:15 To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job Eric - The job history is telling me it succeeded, but I can tell the sprocs in the steps didn't execute. Mark -----Original Message----- From: Eric Barro [mailto:ebarro at afsweb.com] Sent: Friday, August 08, 2003 12:06 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job Mark, Check the Job History details to see if it succeeded or failed. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Friday, August 08, 2003 8:52 AM To: SQLServerList Subject: [dba-SQLServer]Running a Job I am attempting to run a job thru SQL2000 Enterprise Mgr. This job consists of 6 steps, each containing a sproc in the command. When I go to run the job, it finishes successfully in about 5 seconds, but doesn't seem to run any of the sprocs. Each step looks like the following: execute spSproc. Am I missing something? Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From djkr at msn.com Mon Aug 11 09:16:31 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Mon, 11 Aug 2003 15:16:31 +0100 Subject: [dba-SQLServer]Running a Job In-Reply-To: Message-ID: <006901c36013$29893990$db00a8c0@dabsight> OK - and 30 minutes would certainly be noticeable! I'm working a bit in the dark, of course, but what I would check next is that each Jobstep is running in the database you expect (on the General tab) and, on its Advanced tab, that its "Run as User:" is the one you intend. Have you, for instance developed the jobstep's SP in one database and then transferred it to the production DB? ... perhaps not catering for dummy/earlier versions, permissions, or somesuch? Does each SP run OK in QA in a similar environment? (Clutching at straws, really, but just thinking of mistakes I have made!) John -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: 11 August 2003 14:17 To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job John - It tells me that all steps have succeeded. I know the sprocs aren't running because normally they each take about 30 minutes to run. When I run the sprocs in a job, they each run for about a second, then return successful. Mark -----Original Message----- From: DJK(John) Robinson [mailto:djkr at msn.com] Sent: Saturday, August 09, 2003 4:20 AM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job Mark In the Job History, have you checked whether any/all of the individual job steps have succeeded? John -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: 08 August 2003 19:15 To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job Eric - The job history is telling me it succeeded, but I can tell the sprocs in the steps didn't execute. Mark -----Original Message----- From: Eric Barro [mailto:ebarro at afsweb.com] Sent: Friday, August 08, 2003 12:06 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job Mark, Check the Job History details to see if it succeeded or failed. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Friday, August 08, 2003 8:52 AM To: SQLServerList Subject: [dba-SQLServer]Running a Job I am attempting to run a job thru SQL2000 Enterprise Mgr. This job consists of 6 steps, each containing a sproc in the command. When I go to run the job, it finishes successfully in about 5 seconds, but doesn't seem to run any of the sprocs. Each step looks like the following: execute spSproc. Am I missing something? Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgeller at cce.umn.edu Mon Aug 11 12:59:12 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 11 Aug 2003 12:59:12 -0500 Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Message-ID: For those of you local to the Twin Cities, wanted to let you know about a job opening in my unit for a SQL Server DBA/Programmer. Contact me off line if you are interested and I can answer questions. http://www1.umn.edu/ohr/jobs/R119892.html --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From sgeller at cce.umn.edu Mon Aug 11 12:59:12 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 11 Aug 2003 12:59:12 -0500 Subject: [dba-SQLServer] [AccessD] OT: Job Opening in Minneapolis (cross posted) Message-ID: For those of you local to the Twin Cities, wanted to let you know about a job opening in my unit for a SQL Server DBA/Programmer. Contact me off line if you are interested and I can answer questions. http://www1.umn.edu/ohr/jobs/R119892.html --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Mon Aug 11 13:29:34 2003 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon, 11 Aug 2003 14:29:34 -0400 Subject: [dba-SQLServer]Running a Job Message-ID: John - I went thru and noticed the "Run as User" field was not consistent throughout all steps. When I ran the job again, all steps ran for about a second each. I then created a job that contained only 1 step, and it took the full 30 minutes to run. After going back and forth for a while, it seems that when the sproc contains code to execute a package, it pretty much skips it in the job. The sproc that ran normally contained an action query, but the sproc that didn't do anything contained xp_cmdshell code to run a DTS package. Is there a special way to set up a job that runs DTS packages? Mark -----Original Message----- From: DJK(John) Robinson [mailto:djkr at msn.com] Sent: Monday, August 11, 2003 10:17 AM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job OK - and 30 minutes would certainly be noticeable! I'm working a bit in the dark, of course, but what I would check next is that each Jobstep is running in the database you expect (on the General tab) and, on its Advanced tab, that its "Run as User:" is the one you intend. Have you, for instance developed the jobstep's SP in one database and then transferred it to the production DB? ... perhaps not catering for dummy/earlier versions, permissions, or somesuch? Does each SP run OK in QA in a similar environment? (Clutching at straws, really, but just thinking of mistakes I have made!) John -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: 11 August 2003 14:17 To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job John - It tells me that all steps have succeeded. I know the sprocs aren't running because normally they each take about 30 minutes to run. When I run the sprocs in a job, they each run for about a second, then return successful. Mark -----Original Message----- From: DJK(John) Robinson [mailto:djkr at msn.com] Sent: Saturday, August 09, 2003 4:20 AM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job Mark In the Job History, have you checked whether any/all of the individual job steps have succeeded? John -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: 08 August 2003 19:15 To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job Eric - The job history is telling me it succeeded, but I can tell the sprocs in the steps didn't execute. Mark -----Original Message----- From: Eric Barro [mailto:ebarro at afsweb.com] Sent: Friday, August 08, 2003 12:06 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Running a Job Mark, Check the Job History details to see if it succeeded or failed. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Friday, August 08, 2003 8:52 AM To: SQLServerList Subject: [dba-SQLServer]Running a Job I am attempting to run a job thru SQL2000 Enterprise Mgr. This job consists of 6 steps, each containing a sproc in the command. When I go to run the job, it finishes successfully in about 5 seconds, but doesn't seem to run any of the sprocs. Each step looks like the following: execute spSproc. Am I missing something? Any ideas? TIA, Mark Boyd Sr. Systems Analyst McBee Associates, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Aug 11 13:51:34 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 11 Aug 2003 14:51:34 -0400 Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) In-Reply-To: Message-ID: Holy crap, now there's a job description. John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 11, 2003 1:59 PM To: dba-SQLServer at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) For those of you local to the Twin Cities, wanted to let you know about a job opening in my unit for a SQL Server DBA/Programmer. Contact me off line if you are interested and I can answer questions. http://www1.umn.edu/ohr/jobs/R119892.html --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From sgeller at cce.umn.edu Mon Aug 11 14:19:26 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 11 Aug 2003 14:19:26 -0500 Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Message-ID: John, I didn't write it and I'm in no position of authority in relation to it so mostly I'm just curious about what you are referring to it in that makes you respond as you did. --Susan -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, August 11, 2003 1:52 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Holy crap, now there's a job description. John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 11, 2003 1:59 PM To: dba-SQLServer at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) For those of you local to the Twin Cities, wanted to let you know about a job opening in my unit for a SQL Server DBA/Programmer. Contact me off line if you are interested and I can answer questions. http://www1.umn.edu/ohr/jobs/R119892.html --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ 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 CWortz at tea.state.tx.us Mon Aug 11 14:24:17 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 11 Aug 2003 14:24:17 -0500 Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Message-ID: Susan, Probably John responded as such since the number of people with all those qualifications is small enough that they can command a higher salary than the President of UMN. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday 2003 Aug 11 14:19 To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) John, I didn't write it and I'm in no position of authority in relation to it so mostly I'm just curious about what you are referring to it in that makes you respond as you did. --Susan -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, August 11, 2003 1:52 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Holy crap, now there's a job description. John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 11, 2003 1:59 PM To: dba-SQLServer at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) For those of you local to the Twin Cities, wanted to let you know about a job opening in my unit for a SQL Server DBA/Programmer. Contact me off line if you are interested and I can answer questions. http://www1.umn.edu/ohr/jobs/R119892.html --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From sgeller at cce.umn.edu Mon Aug 11 15:59:22 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 11 Aug 2003 15:59:22 -0500 Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Message-ID: Yes, I agree, and the salary they have to offer is not that high even in IT standards, never mind president of university standards. --Susan -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Monday, August 11, 2003 2:24 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Susan, Probably John responded as such since the number of people with all those qualifications is small enough that they can command a higher salary than the President of UMN. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday 2003 Aug 11 14:19 To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) John, I didn't write it and I'm in no position of authority in relation to it so mostly I'm just curious about what you are referring to it in that makes you respond as you did. --Susan -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, August 11, 2003 1:52 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Holy crap, now there's a job description. John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 11, 2003 1:59 PM To: dba-SQLServer at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) For those of you local to the Twin Cities, wanted to let you know about a job opening in my unit for a SQL Server DBA/Programmer. Contact me off line if you are interested and I can answer questions. http://www1.umn.edu/ohr/jobs/R119892.html --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From Robert.Djabarov at usaa.com Mon Aug 11 16:27:53 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Mon, 11 Aug 2003 16:27:53 -0500 Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Message-ID: <5A31F89EC4C79B49B5030FF2EF58E9D20639FA0B@ex02.eagle.usaa.com> So, has anybody applied yet? Robert Djabarov Sr. SQL Server DBA Phone: (210) 913-3148 Pager: (210) 753-3148 -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Geller Sent: Monday, August 11, 2003 3:59 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Yes, I agree, and the salary they have to offer is not that high even in IT standards, never mind president of university standards. --Susan -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Monday, August 11, 2003 2:24 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Susan, Probably John responded as such since the number of people with all those qualifications is small enough that they can command a higher salary than the President of UMN. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday 2003 Aug 11 14:19 To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) John, I didn't write it and I'm in no position of authority in relation to it so mostly I'm just curious about what you are referring to it in that makes you respond as you did. --Susan -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, August 11, 2003 1:52 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Holy crap, now there's a job description. John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 11, 2003 1:59 PM To: dba-SQLServer at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) For those of you local to the Twin Cities, wanted to let you know about a job opening in my unit for a SQL Server DBA/Programmer. Contact me off line if you are interested and I can answer questions. http://www1.umn.edu/ohr/jobs/R119892.html --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ 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 sgeller at cce.umn.edu Mon Aug 11 16:29:31 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 11 Aug 2003 16:29:31 -0500 Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Message-ID: Yes, I heard there were already several applications, but I'll never be privy to the applications themselves. --Susan -----Original Message----- From: Djabarov, Robert [mailto:Robert.Djabarov at usaa.com] Sent: Monday, August 11, 2003 4:28 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) So, has anybody applied yet? Robert Djabarov Sr. SQL Server DBA Phone: (210) 913-3148 Pager: (210) 753-3148 -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan Geller Sent: Monday, August 11, 2003 3:59 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Yes, I agree, and the salary they have to offer is not that high even in IT standards, never mind president of university standards. --Susan -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Monday, August 11, 2003 2:24 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Susan, Probably John responded as such since the number of people with all those qualifications is small enough that they can command a higher salary than the President of UMN. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday 2003 Aug 11 14:19 To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) John, I didn't write it and I'm in no position of authority in relation to it so mostly I'm just curious about what you are referring to it in that makes you respond as you did. --Susan -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, August 11, 2003 1:52 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Holy crap, now there's a job description. John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 11, 2003 1:59 PM To: dba-SQLServer at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) For those of you local to the Twin Cities, wanted to let you know about a job opening in my unit for a SQL Server DBA/Programmer. Contact me off line if you are interested and I can answer questions. http://www1.umn.edu/ohr/jobs/R119892.html --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ 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 jcolby at colbyconsulting.com Mon Aug 11 18:02:16 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 11 Aug 2003 19:02:16 -0400 Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) In-Reply-To: Message-ID: No reflection on you at all. Sorry if you took it that way. Just the typical mech warrior / zen master / chief executive / postal clerk and uh... let's see, what else can we throw in there. Given today's economy, they will no doubt get a handful of people with EXACTLY that experience / education. A long time ago I bought a framework from a guy who wrote it all. He signed his stuff something like John Jones, Owner, chief exec and head bottle washer. I always appreciated that sig. Of course he really was all those things. John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 11, 2003 3:19 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) John, I didn't write it and I'm in no position of authority in relation to it so mostly I'm just curious about what you are referring to it in that makes you respond as you did. --Susan -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, August 11, 2003 1:52 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Holy crap, now there's a job description. John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 11, 2003 1:59 PM To: dba-SQLServer at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) For those of you local to the Twin Cities, wanted to let you know about a job opening in my unit for a SQL Server DBA/Programmer. Contact me off line if you are interested and I can answer questions. http://www1.umn.edu/ohr/jobs/R119892.html --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ 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 sgeller at cce.umn.edu Tue Aug 12 14:30:36 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Tue, 12 Aug 2003 14:30:36 -0500 Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Message-ID: I myself was surprised to see the long list of qualifications especially what I know is the salary range they have to work with. There has been quite a bit of interest so far so I think that you're right about the role of today's job market. Pretty sad. --Susan -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, August 11, 2003 6:02 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) No reflection on you at all. Sorry if you took it that way. Just the typical mech warrior / zen master / chief executive / postal clerk and uh... let's see, what else can we throw in there. Given today's economy, they will no doubt get a handful of people with EXACTLY that experience / education. A long time ago I bought a framework from a guy who wrote it all. He signed his stuff something like John Jones, Owner, chief exec and head bottle washer. I always appreciated that sig. Of course he really was all those things. John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 11, 2003 3:19 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) John, I didn't write it and I'm in no position of authority in relation to it so mostly I'm just curious about what you are referring to it in that makes you respond as you did. --Susan -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, August 11, 2003 1:52 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Holy crap, now there's a job description. John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 11, 2003 1:59 PM To: dba-SQLServer at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) For those of you local to the Twin Cities, wanted to let you know about a job opening in my unit for a SQL Server DBA/Programmer. Contact me off line if you are interested and I can answer questions. http://www1.umn.edu/ohr/jobs/R119892.html --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Aug 13 02:56:00 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 13 Aug 2003 08:56:00 +0100 Subject: [dba-SQLServer]Stored Procedures and Arrays? References: Message-ID: <009401c36170$55ed1ca0$9111758f@aine> Hi All Any comments on the following in terms of performance or anything else that springs to mind. I have a couple of concerns over this approach re recompiling of the SP every time it is called. Say I want to build a drop list on the form for the user to select from and the drop list is from a table. Now, the application has many forms with drop lists. Instead of having a separate SP for each drop list, we create a generic SP that accepts the field names as a string separated by commas. In my code, for each form, I would define what these fields would be in an array. Then, with the VB join function, the array is made into a comma separated string of strings that is passed, along with the table name, to the generic stored procedure. The stored procedure will take these two parameters and convert it into a select statement, process it and return the data for my code to process into the drop list. Another parameter can be passed for setting the field or fields that are used for ordering the data (for example order by name). Martin From my.lists at verizon.net Wed Aug 13 12:06:21 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Wed, 13 Aug 2003 10:06:21 -0700 Subject: [dba-SQLServer]Stored Procedures and Arrays? References: <009401c36170$55ed1ca0$9111758f@aine> Message-ID: <002101c361bd$389e5680$b615010a@FHTAPIA> Since you are passing the table name I can only assume that this sp is creating a dynamic SQL, for this to work efficiently your users will need direct select rights to the table instead of simply just EXEC rights on the procedure. The common practice is to disable all rights to tables to you users and have them go through views and sprocs. just my 2 cents. -Francisco http://rcm.netfirms.com On Wednesday, August 13, 2003 12:56 AM [GMT-8], Martin Reid wrote: : Hi All : : Any comments on the following in terms of performance or anything : else that springs to mind. I have a couple of concerns over this : approach re recompiling of the SP every time it is called. : : Say I want to build a drop list on the form for the user to select : from and the drop list is from a table. Now, the application has : many forms with drop lists. Instead of having a separate SP for each : drop list, we create a generic SP that accepts the field names as a : string separated by commas. In my code, for each form, I would : define what these fields would be in an array. Then, with the VB : join function, the array is made into a comma separated string of : strings that is passed, along with the table name, to the generic : stored procedure. The stored procedure will take these two : parameters and convert it into a select statement, process it and : return the data for my code to process into the drop list. Another : parameter can be passed for setting the field or fields that are used : for ordering the data (for example order by name). : : : Martin : : _______________________________________________ : dba-SQLServer mailing list : dba-SQLServer at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/dba-sqlserver : http://www.databaseadvisors.com From artful at rogers.com Wed Aug 13 12:42:20 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 13 Aug 2003 13:42:20 -0400 Subject: [dba-SQLServer]Stored Procedures and Arrays? In-Reply-To: <009401c36170$55ed1ca0$9111758f@aine> Message-ID: I'm prepared to be persuaded otherwise, but at first blush it seems you're sacrificing huge performance for convenient code. We could try a couple of tests with 50,000 records to verify this, but I'm pretty sure I'm right by a wide margin. Your approach will never get the built-in sql optimizations, and worse, suffer run-time compilation for every execution, since the sproc can't possibly know what to expect. Not to mention that the code will growtesque :-) If @OrderByParm = 'x' Else IMO, yuck! IMO this is the wrong approach. Better to define a sproc that retrieves precisely what you want for every combo, no matter how many there are. With a naming scheme you'll know exactly what to use when (for new forms) and what each in the list is for. FE: ap_CustomerID_ListByName = ap = app sproc (as opposed to sys proc) for combo CustomerID sort order obvious A sproc such as this is reusable, but more important with large dbs, it's optimized. With large tables, I would guess at least twice the performance and wouldn't be surprised at thrice. >From the FE pov, imagine that there is a sort-order (or filter) control. The user selects a new value and all you do is swap sproc-names into the record/row source. Access automatically refreshes and you have your new data and that's that. A simple Select Case block, and as the app grows you add two lines per growth, and another sproc to the BE. I'd rather do that and gain the speed than write one generic sproc that can handle anything. A. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Wednesday, August 13, 2003 3:56 AM To: dba-sqlserver Subject: [dba-SQLServer]Stored Procedures and Arrays? Hi All Any comments on the following in terms of performance or anything else that springs to mind. I have a couple of concerns over this approach re recompiling of the SP every time it is called. Say I want to build a drop list on the form for the user to select from and the drop list is from a table. Now, the application has many forms with drop lists. Instead of having a separate SP for each drop list, we create a generic SP that accepts the field names as a string separated by commas. In my code, for each form, I would define what these fields would be in an array. Then, with the VB join function, the array is made into a comma separated string of strings that is passed, along with the table name, to the generic stored procedure. The stored procedure will take these two parameters and convert it into a select statement, process it and return the data for my code to process into the drop list. Another parameter can be passed for setting the field or fields that are used for ordering the data (for example order by name). Martin _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Aug 13 20:59:26 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 13 Aug 2003 18:59:26 -0700 Subject: [dba-SQLServer]Stored Procedures and Arrays? References: <009401c36170$55ed1ca0$9111758f@aine> <002101c361bd$389e5680$b615010a@FHTAPIA> Message-ID: <004e01c36207$b2de44b0$0f0b6351@martin1> I have successfully argured against the proposal and we are going with Stored Procedures (<: Martin ----- Original Message ----- From: "Francisco H Tapia" To: "dba-sqlserver" Sent: Wednesday, August 13, 2003 10:06 AM Subject: Re: [dba-SQLServer]Stored Procedures and Arrays? > Since you are passing the table name I can only assume that this sp is > creating a dynamic SQL, for this to work efficiently your users will need > direct select rights to the table instead of simply just EXEC rights on the > procedure. The common practice is to disable all rights to tables to you > users and have them go through views and sprocs. > > just my 2 cents. > > -Francisco > http://rcm.netfirms.com > > On Wednesday, August 13, 2003 12:56 AM [GMT-8], > Martin Reid wrote: > > : Hi All > : > : Any comments on the following in terms of performance or anything > : else that springs to mind. I have a couple of concerns over this > : approach re recompiling of the SP every time it is called. > : > : Say I want to build a drop list on the form for the user to select > : from and the drop list is from a table. Now, the application has > : many forms with drop lists. Instead of having a separate SP for each > : drop list, we create a generic SP that accepts the field names as a > : string separated by commas. In my code, for each form, I would > : define what these fields would be in an array. Then, with the VB > : join function, the array is made into a comma separated string of > : strings that is passed, along with the table name, to the generic > : stored procedure. The stored procedure will take these two > : parameters and convert it into a select statement, process it and > : return the data for my code to process into the drop list. Another > : parameter can be passed for setting the field or fields that are used > : for ordering the data (for example order by name). > : > : > : Martin > : > : _______________________________________________ > : 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 mwp.reid at qub.ac.uk Wed Aug 13 21:10:13 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 13 Aug 2003 19:10:13 -0700 Subject: [dba-SQLServer]Stored Procedures and Arrays? References: Message-ID: <008201c36209$37b21030$0f0b6351@martin1> Covered all the bases there Arthur. By the way a contact at MS passed me to pass this on to anyone interested in SQL Server web Bloggs http://www.sqljunkies.com/WebLog/ Martin ----- Original Message ----- From: "Arthur Fuller" To: "dba-sqlserver" Sent: Wednesday, August 13, 2003 10:42 AM Subject: RE: [dba-SQLServer]Stored Procedures and Arrays? > I'm prepared to be persuaded otherwise, but at first blush it seems you're > sacrificing huge performance for convenient code. We could try a couple of > tests with 50,000 records to verify this, but I'm pretty sure I'm right by a > wide margin. Your approach will never get the built-in sql optimizations, > and worse, suffer run-time compilation for every execution, since the sproc > can't possibly know what to expect. > > Not to mention that the code will growtesque :-) > > If @OrderByParm = 'x' > Else > > IMO, yuck! > > IMO this is the wrong approach. Better to define a sproc that retrieves > precisely what you want for every combo, no matter how many there are. With > a naming scheme you'll know exactly what to use when (for new forms) and > what each in the list is for. FE: > > ap_CustomerID_ListByName = > > ap = app sproc (as opposed to sys proc) > for combo CustomerID > sort order obvious > > A sproc such as this is reusable, but more important with large dbs, it's > optimized. With large tables, I would guess at least twice the performance > and wouldn't be surprised at thrice. > > >From the FE pov, imagine that there is a sort-order (or filter) control. The > user selects a new value and all you do is swap sproc-names into the > record/row source. Access automatically refreshes and you have your new data > and that's that. A simple Select Case block, and as the app grows you add > two lines per growth, and another sproc to the BE. I'd rather do that and > gain the speed than write one generic sproc that can handle anything. > > A. > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Martin > Reid > Sent: Wednesday, August 13, 2003 3:56 AM > To: dba-sqlserver > Subject: [dba-SQLServer]Stored Procedures and Arrays? > > > Hi All > > Any comments on the following in terms of performance or anything else that > springs to mind. I have a couple of concerns over this approach re > recompiling of the SP every time it is called. > > Say I want to build a drop list on the form for the user to select from and > the drop list is from a table. Now, the application has many forms with > drop lists. Instead of having a separate SP for each drop list, we create a > generic SP that accepts the field names as a string separated by commas. In > my code, for each form, I would define what these fields would be in an > array. Then, with the VB join function, the array is made into a comma > separated string of strings that is passed, along with the table name, to > the generic stored procedure. The stored procedure will take these two > parameters and convert it into a select statement, process it and return the > data for my code to process into the drop list. Another parameter can be > passed for setting the field or fields that are used for ordering the data > (for example order by name). > > > Martin > > _______________________________________________ > 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 tuxedo_man at hotmail.com Wed Aug 13 15:58:08 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Wed, 13 Aug 2003 20:58:08 +0000 Subject: [dba-SQLServer]Truncate Transaction Log Message-ID: Hello: I have a database using FULL Recovery Model. The Transaction Log is about 10 times the size of the Data File. I just performed a Full Database Backup. How do I reuse the inactive portion of the Transaction Log? Thanks in advance, Billy _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From shait at mindspring.com Wed Aug 13 16:16:51 2003 From: shait at mindspring.com (Stephen Hait) Date: Wed, 13 Aug 2003 17:16:51 -0400 Subject: [dba-SQLServer]Truncate Transaction Log In-Reply-To: Message-ID: <3F3A7283.19368.5E6D61B@localhost> > Hello: > > I have a database using FULL Recovery Model. The Transaction Log is > about 10 times the size of the Data File. I just performed a Full > Database Backup. How do I reuse the inactive portion of the > Transaction Log? Here's one way I've accomplished this: - Run Truncate Transaction Log from EM for the database whose log you want to shrink (mydbname) - Run dbcc loginfo (mydbname) to see status of log file - status 2 = active log file - create a dummy table, DummyTrans and insert a lot of rows until active segment of log moves to top of list HTH, Stephen > Thanks in advance, > Billy > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > From ebarro at afsweb.com Wed Aug 13 16:15:05 2003 From: ebarro at afsweb.com (Eric Barro) Date: Wed, 13 Aug 2003 14:15:05 -0700 Subject: [dba-SQLServer]Truncate Transaction Log In-Reply-To: Message-ID: Billy, You need to shrink the Tlog. I would make sure that the Tlog doesn't grow over a certain size or it will eat up all the disk space you have. Depending on the volume of transactions you might want to back up the Tlog on a regular schedule and then schedule a job to shrink it every night. You will probably have to go through several shrink operations before you are able to recover back all the unused space. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Billy Pang Sent: Wednesday, August 13, 2003 1:58 PM To: dba-SQLServer at databaseadvisors.com Subject: [dba-SQLServer]Truncate Transaction Log Hello: I have a database using FULL Recovery Model. The Transaction Log is about 10 times the size of the Data File. I just performed a Full Database Backup. How do I reuse the inactive portion of the Transaction Log? Thanks in advance, Billy _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 From tuxedo_man at hotmail.com Wed Aug 13 18:07:12 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Wed, 13 Aug 2003 23:07:12 +0000 Subject: [dba-SQLServer]Truncate Transaction Log Message-ID: Thank you everyone for their responses but not sure if it is what I am looking for. I am looking for a way of maintaining the virtual size of the transaction log, not the physical size of the transaction log. After truncating the transaction log, the physical log file remains the same. It is not until you shrink the transaction log that the physical log reduces in physical size. If I understand this correctly, the transaction log consists of an active and inactive portion. The active portion is used to restore the database since last backup. The inactive portion is just old records that need to be deleted. When you backup the transaction log, SQL Server truncates the inactive portion so that it can be reused. Then how come the transaction log keeps physically growing in size even though full backups and transaction log backups are being applied daily? Because the transaction log is being backed up, the inactive portion is truncated and should be reused, thereby the transaction log physical size should remain the same. You shouldn't need to shrink down the transaction log if you are applying transaction log routinely, right? because the inactive portion of the log is reused. Thanks in advance, Billy >From: "Eric Barro" >Reply-To: dba-sqlserver at databaseadvisors.com >To: >Subject: RE: [dba-SQLServer]Truncate Transaction Log >Date: Wed, 13 Aug 2003 14:15:05 -0700 > >Billy, > >You need to shrink the Tlog. I would make sure that the Tlog doesn't grow >over a certain size or it will eat up all the disk space you have. >Depending on the volume of transactions you might want to back up the Tlog >on a regular schedule and then schedule a job to shrink it every night. You >will probably have to go through several shrink operations before you are >able to recover back all the unused space. > >--- >Eric Barro >Senior Systems Analyst >Advanced Field Services >(208) 772-7060 >http://www.afsweb.com > >-----Original Message----- >From: dba-sqlserver-bounces at databaseadvisors.com >[mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Billy >Pang >Sent: Wednesday, August 13, 2003 1:58 PM >To: dba-SQLServer at databaseadvisors.com >Subject: [dba-SQLServer]Truncate Transaction Log > > >Hello: > >I have a database using FULL Recovery Model. The Transaction Log is about >10 times the size of the Data File. I just performed a Full Database >Backup. How do I reuse the inactive portion of the Transaction Log? > >Thanks in advance, >Billy > >_________________________________________________________________ >Add photos to your e-mail with MSN 8. Get 2 months FREE*. >http://join.msn.com/?page=features/featuredemail > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > > > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 > > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From Robert.Djabarov at usaa.com Thu Aug 14 08:18:09 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Thu, 14 Aug 2003 08:18:09 -0500 Subject: [dba-SQLServer]Stored Procedures and Arrays? Message-ID: <5A31F89EC4C79B49B5030FF2EF58E9D20639FC85@ex02.eagle.usaa.com> Well, usual things like recompile (which you mentioned), security (having to explicitly grant select permissions to all underlying tables), and sql injection. Robert Djabarov Sr. SQL Server DBA Phone: (210) 913-3148 Pager: (210) 753-3148 -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, August 13, 2003 2:56 AM To: dba-sqlserver Subject: [dba-SQLServer]Stored Procedures and Arrays? Hi All Any comments on the following in terms of performance or anything else that springs to mind. I have a couple of concerns over this approach re recompiling of the SP every time it is called. Say I want to build a drop list on the form for the user to select from and the drop list is from a table. Now, the application has many forms with drop lists. Instead of having a separate SP for each drop list, we create a generic SP that accepts the field names as a string separated by commas. In my code, for each form, I would define what these fields would be in an array. Then, with the VB join function, the array is made into a comma separated string of strings that is passed, along with the table name, to the generic stored procedure. The stored procedure will take these two parameters and convert it into a select statement, process it and return the data for my code to process into the drop list. Another parameter can be passed for setting the field or fields that are used for ordering the data (for example order by name). Martin _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From subs at solution-providers.ie Fri Aug 15 11:35:35 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Fri, 15 Aug 2003 17:35:35 +0100 Subject: [dba-SQLServer]SQL Server 7 and SP 4 References: <000801c3633c$1b8933f0$14390cd8@hargrove.internal> Message-ID: <000b01c3634b$47cc3c50$6a1118ac@D8TZHN0J> Hello All, Firstly, I have had a good look at the knowledge base and also in Deja to check to see if my question has already been answered. There are a few similiar issues reported but I do not think that there is a matching one. I have SQL 7.0 SP 2 installed on Windows 2000 SP 2. Two days ago, I tried to install SQL 7.0 SP4 on the machine. Everything went smoothly except for an error message suggesting that 'something' is trying to overwrite the certain system files and that they are from an unknown source. The message box does offer the choice to ignore, which I presumed at the time allows the installtion to proceed. The remainder of the installation went without any other issues. When I finished the installation, the version is still the same, it appears that the SP2 has not been applied. I am confused because it appeared to have worked. Does anyone have any suggestions or similiar experience ? There seem to be a number of similiar issues with failed installations of SP's. Your help and time is appriciated, Thanks in advance, Mark Breen Ireland From djkr at msn.com Fri Aug 15 12:50:00 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Fri, 15 Aug 2003 18:50:00 +0100 Subject: [dba-SQLServer]SQL Server 7 and SP 4 In-Reply-To: <000b01c3634b$47cc3c50$6a1118ac@D8TZHN0J> Message-ID: <01b201c36355$a60c74b0$db00a8c0@dabsight> Mark I have heard (NB: hearsay, not personal first-hand experience) that SP4 does not leave the usual obvious evidence of having been installed. By which I mean that Help\About still says *after* successful installation whatever it said beforehand. But then of course it would also say that if the installation had totally failed. Maybe there is a bug clearance in SP4 that you could check fairly easily? - to gain some confidence that the installation may have succeeded, at least partly?! I may get the chance to try this myself over the weekend, and will report my experience if I do. HTH a bit John > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf > Of Mark L. Breen > Sent: 15 August 2003 17:36 > To: dba-sqlserver at databaseadvisors.com > Subject: [dba-SQLServer]SQL Server 7 and SP 4 > > > Hello All, > > Firstly, I have had a good look at the knowledge base and > also in Deja to check to see if my question has already been > answered. There are a few similiar issues reported but I do > not think that there is a matching one. > > I have SQL 7.0 SP 2 installed on Windows 2000 SP 2. > > Two days ago, I tried to install SQL 7.0 SP4 on the machine. > Everything went smoothly except for an error message > suggesting that 'something' is trying to overwrite the > certain system files and that they are from an unknown > source. The message box does offer the choice to ignore, > which I presumed at the time allows the installtion to proceed. > > The remainder of the installation went without any other > issues. When I finished the installation, the version is > still the same, it appears that the SP2 has not been applied. > I am confused because it appeared to have worked. > > Does anyone have any suggestions or similiar experience ? > There seem to be a number of similiar issues with failed > installations of SP's. > > Your help and time is appriciated, > > Thanks in advance, > > Mark Breen > Ireland > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > From Robert.Djabarov at usaa.com Fri Aug 15 13:12:11 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Fri, 15 Aug 2003 13:12:11 -0500 Subject: [dba-SQLServer]SQL Server 7 and SP 4 Message-ID: <5A31F89EC4C79B49B5030FF2EF58E9D20639FDC4@ex02.eagle.usaa.com> You need to go by @@version value. SP3 (no additional hot fixes) - 961 SP4 (no additional hot fixes) - 1063 -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of DJK(John) Robinson Sent: Friday, August 15, 2003 12:50 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]SQL Server 7 and SP 4 Mark I have heard (NB: hearsay, not personal first-hand experience) that SP4 does not leave the usual obvious evidence of having been installed. By which I mean that Help\About still says *after* successful installation whatever it said beforehand. But then of course it would also say that if the installation had totally failed. Maybe there is a bug clearance in SP4 that you could check fairly easily? - to gain some confidence that the installation may have succeeded, at least partly?! I may get the chance to try this myself over the weekend, and will report my experience if I do. HTH a bit John > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf > Of Mark L. Breen > Sent: 15 August 2003 17:36 > To: dba-sqlserver at databaseadvisors.com > Subject: [dba-SQLServer]SQL Server 7 and SP 4 > > > Hello All, > > Firstly, I have had a good look at the knowledge base and > also in Deja to check to see if my question has already been > answered. There are a few similiar issues reported but I do > not think that there is a matching one. > > I have SQL 7.0 SP 2 installed on Windows 2000 SP 2. > > Two days ago, I tried to install SQL 7.0 SP4 on the machine. > Everything went smoothly except for an error message > suggesting that 'something' is trying to overwrite the > certain system files and that they are from an unknown > source. The message box does offer the choice to ignore, > which I presumed at the time allows the installtion to proceed. > > The remainder of the installation went without any other > issues. When I finished the installation, the version is > still the same, it appears that the SP2 has not been applied. > I am confused because it appeared to have worked. > > Does anyone have any suggestions or similiar experience ? > There seem to be a number of similiar issues with failed > installations of SP's. > > Your help and time is appriciated, > > Thanks in advance, > > Mark Breen > Ireland > > > > _______________________________________________ > 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 djkr at msn.com Fri Aug 15 14:04:29 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Fri, 15 Aug 2003 20:04:29 +0100 Subject: [dba-SQLServer]SQL Server 7 and SP 4 In-Reply-To: <5A31F89EC4C79B49B5030FF2EF58E9D20639FDC4@ex02.eagle.usaa.com> Message-ID: <01c401c36360$0d953b80$db00a8c0@dabsight> Thanks for that, Robert. And I can now add SP2 - 7.00.623 John > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf > Of Djabarov, Robert > Sent: 15 August 2003 19:12 > To: dba-sqlserver at databaseadvisors.com > Subject: RE: [dba-SQLServer]SQL Server 7 and SP 4 > > > You need to go by @@version value. > > SP3 (no additional hot fixes) - 961 > SP4 (no additional hot fixes) - 1063 > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of > DJK(John) Robinson > Sent: Friday, August 15, 2003 12:50 PM > To: dba-sqlserver at databaseadvisors.com > Subject: RE: [dba-SQLServer]SQL Server 7 and SP 4 > > > Mark > > I have heard (NB: hearsay, not personal first-hand > experience) that SP4 does not leave the usual obvious > evidence of having been installed. By which I mean that > Help\About still says *after* successful installation > whatever it said beforehand. > > But then of course it would also say that if the installation > had totally failed. Maybe there is a bug clearance in SP4 > that you could check fairly easily? - to gain some confidence > that the installation may have succeeded, at least partly?! > > I may get the chance to try this myself over the weekend, and > will report my experience if I do. > > HTH a bit > John > > > > -----Original Message----- > > From: dba-sqlserver-bounces at databaseadvisors.com > > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf > > Of Mark L. Breen > > Sent: 15 August 2003 17:36 > > To: dba-sqlserver at databaseadvisors.com > > Subject: [dba-SQLServer]SQL Server 7 and SP 4 > > > > > > Hello All, > > > > Firstly, I have had a good look at the knowledge base and > also in Deja > > to check to see if my question has already been answered. > There are a > > few similiar issues reported but I do not think that there is a > > matching one. > > > > I have SQL 7.0 SP 2 installed on Windows 2000 SP 2. > > > > Two days ago, I tried to install SQL 7.0 SP4 on the machine. > > Everything went smoothly except for an error message > suggesting that > > 'something' is trying to overwrite the certain system files > and that > > they are from an unknown source. The message box does offer the > > choice to ignore, which I presumed at the time allows the > installtion > > to proceed. > > > > The remainder of the installation went without any other > issues. When > > I finished the installation, the version is still the same, > it appears > > that the SP2 has not been applied. I am confused because > it appeared > > to have worked. > > > > Does anyone have any suggestions or similiar experience ? > There seem > > to be a number of similiar issues with failed installations of SP's. > > > > Your help and time is appriciated, > > > > Thanks in advance, > > > > Mark Breen > > Ireland > > > > > > > > _______________________________________________ > > 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 subs at solution-providers.ie Fri Aug 15 14:51:11 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Fri, 15 Aug 2003 20:51:11 +0100 Subject: [dba-SQLServer]SQL Server 7 and SP 4 References: <01b201c36355$a60c74b0$db00a8c0@dabsight> Message-ID: <005a01c36367$89d31800$6a1118ac@D8TZHN0J> Hello John and Robert, Thank you very much, What we can all derive from this is that the build informs us that the SP is applied. What I do not understand is why the SP's are so wrong, on SQL Desktop edition, is returns SP1 even though it started out at SP 2 and I then reved it to SP4. Anyway, thank you guys for your help. Does anyone know of a way to rectify the incorrect reported verion number ? Possibly an update in the registry (much as I do not wish to do so) Regards from Ireland Mark Breen ----- Original Message ----- From: "DJK(John) Robinson" To: Sent: Friday, August 15, 2003 6:50 PM Subject: RE: [dba-SQLServer]SQL Server 7 and SP 4 > Mark > > I have heard (NB: hearsay, not personal first-hand experience) that SP4 does > not leave the usual obvious evidence of having been installed. By which I > mean that Help\About still says *after* successful installation whatever it > said beforehand. > > But then of course it would also say that if the installation had totally > failed. Maybe there is a bug clearance in SP4 that you could check fairly > easily? - to gain some confidence that the installation may have succeeded, > at least partly?! > > I may get the chance to try this myself over the weekend, and will report my > experience if I do. > > HTH a bit > John > > > > -----Original Message----- > > From: dba-sqlserver-bounces at databaseadvisors.com > > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf > > Of Mark L. Breen > > Sent: 15 August 2003 17:36 > > To: dba-sqlserver at databaseadvisors.com > > Subject: [dba-SQLServer]SQL Server 7 and SP 4 > > > > > > Hello All, > > > > Firstly, I have had a good look at the knowledge base and > > also in Deja to check to see if my question has already been > > answered. There are a few similiar issues reported but I do > > not think that there is a matching one. > > > > I have SQL 7.0 SP 2 installed on Windows 2000 SP 2. > > > > Two days ago, I tried to install SQL 7.0 SP4 on the machine. > > Everything went smoothly except for an error message > > suggesting that 'something' is trying to overwrite the > > certain system files and that they are from an unknown > > source. The message box does offer the choice to ignore, > > which I presumed at the time allows the installtion to proceed. > > > > The remainder of the installation went without any other > > issues. When I finished the installation, the version is > > still the same, it appears that the SP2 has not been applied. > > I am confused because it appeared to have worked. > > > > Does anyone have any suggestions or similiar experience ? > > There seem to be a number of similiar issues with failed > > installations of SP's. > > > > Your help and time is appriciated, > > > > Thanks in advance, > > > > Mark Breen > > Ireland > > > > > > > > _______________________________________________ > > 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 Robert.Djabarov at usaa.com Fri Aug 15 16:19:10 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Fri, 15 Aug 2003 16:19:10 -0500 Subject: [dba-SQLServer]SQL Server 7 and SP 4 Message-ID: <5A31F89EC4C79B49B5030FF2EF58E9D20639FDD9@ex02.eagle.usaa.com> First, I'd start making backups :) -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Mark L. Breen Sent: Friday, August 15, 2003 2:51 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer]SQL Server 7 and SP 4 Hello John and Robert, Thank you very much, What we can all derive from this is that the build informs us that the SP is applied. What I do not understand is why the SP's are so wrong, on SQL Desktop edition, is returns SP1 even though it started out at SP 2 and I then reved it to SP4. Anyway, thank you guys for your help. Does anyone know of a way to rectify the incorrect reported verion number ? Possibly an update in the registry (much as I do not wish to do so) Regards from Ireland Mark Breen ----- Original Message ----- From: "DJK(John) Robinson" To: Sent: Friday, August 15, 2003 6:50 PM Subject: RE: [dba-SQLServer]SQL Server 7 and SP 4 > Mark > > I have heard (NB: hearsay, not personal first-hand experience) that > SP4 does > not leave the usual obvious evidence of having been installed. By > which I mean that Help\About still says *after* successful > installation whatever it > said beforehand. > > But then of course it would also say that if the installation had > totally failed. Maybe there is a bug clearance in SP4 that you could > check fairly easily? - to gain some confidence that the installation > may have succeeded, > at least partly?! > > I may get the chance to try this myself over the weekend, and will > report my > experience if I do. > > HTH a bit > John > > > > -----Original Message----- > > From: dba-sqlserver-bounces at databaseadvisors.com > > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of > > Mark L. Breen > > Sent: 15 August 2003 17:36 > > To: dba-sqlserver at databaseadvisors.com > > Subject: [dba-SQLServer]SQL Server 7 and SP 4 > > > > > > Hello All, > > > > Firstly, I have had a good look at the knowledge base and also in > > Deja to check to see if my question has already been answered. > > There are a few similiar issues reported but I do not think that > > there is a matching one. > > > > I have SQL 7.0 SP 2 installed on Windows 2000 SP 2. > > > > Two days ago, I tried to install SQL 7.0 SP4 on the machine. > > Everything went smoothly except for an error message suggesting that > > 'something' is trying to overwrite the certain system files and that > > they are from an unknown source. The message box does offer the > > choice to ignore, which I presumed at the time allows the > > installtion to proceed. > > > > The remainder of the installation went without any other issues. > > When I finished the installation, the version is still the same, it > > appears that the SP2 has not been applied. I am confused because it > > appeared to have worked. > > > > Does anyone have any suggestions or similiar experience ? There seem > > to be a number of similiar issues with failed installations of SP's. > > > > Your help and time is appriciated, > > > > Thanks in advance, > > > > Mark Breen > > Ireland > > > > > > > > _______________________________________________ > > 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 mwp.reid at qub.ac.uk Mon Aug 18 03:53:09 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 18 Aug 2003 09:53:09 +0100 Subject: [dba-SQLServer]strComp References: Message-ID: <001f01c36566$2639d620$9111758f@aine> Anyone know of a similar function for use with SQL Server? Seems to coke on strComp Martin From stuart at lexacorp.com.pg Mon Aug 18 06:46:08 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 18 Aug 2003 21:46:08 +1000 Subject: [dba-SQLServer]strComp In-Reply-To: <001f01c36566$2639d620$9111758f@aine> Message-ID: <3F414920.27476.1DC830C@localhost> On 18 Aug 2003 at 9:53, Martin Reid wrote: > Anyone know of a similar function for use with SQL Server? Seems to coke on > strComp > > I think you need to roll your own. Something like this (air code, so may need a bit of tweaking) Select 'strComp' = Case When (String1 Is Null) or (String2 Is Null) Then Null When String1 < String2 Then -1 When String1 = String2 Then 0 When String 1 > String2 Then 1 End -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From knicholson at gpsx.net Mon Aug 18 07:53:13 2003 From: knicholson at gpsx.net (Nicholson, Karen) Date: Mon, 18 Aug 2003 07:53:13 -0500 Subject: [dba-SQLServer]strComp Message-ID: Or, this works: IF Convert(binary,'TEST') = Convert(binary,'TEST') PRINT 'Match' ELSE PRINT 'No Match' -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Monday, August 18, 2003 7:46 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer]strComp On 18 Aug 2003 at 9:53, Martin Reid wrote: > Anyone know of a similar function for use with SQL Server? Seems to coke on > strComp > > I think you need to roll your own. Something like this (air code, so may need a bit of tweaking) Select 'strComp' = Case When (String1 Is Null) or (String2 Is Null) Then Null When String1 < String2 Then -1 When String1 = String2 Then 0 When String 1 > String2 Then 1 End -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From tuxedo_man at hotmail.com Mon Aug 18 18:03:52 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Mon, 18 Aug 2003 23:03:52 +0000 Subject: [dba-SQLServer]How to suppress this warning message? Message-ID: "Warning: Null value is eliminated by an aggregate or other SET operation." Is there a way of suppressing this warning message? Thanks in advance, Billy _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From knicholson at gpsx.net Tue Aug 19 09:38:08 2003 From: knicholson at gpsx.net (Nicholson, Karen) Date: Tue, 19 Aug 2003 09:38:08 -0500 Subject: [dba-SQLServer]Visual Basic 6.0/Crystal Reports 7.5 Crystl32.ocx Message-ID: I know this is a bit OT - but..... I am trying to get the active X control to launch crystal reports from Visual Basic 6.0. I got the crystl32.ocx file, but when I try to register it, I get a load library failed the specified module could not be found. Are there associated .dll's with this OCX that I am missing? Am I trying to register it correctly by storing the regsvr32.exe and crystl32.ocx in the same directory, c:winnt\system32? Any help is appreciated. From mwp.reid at qub.ac.uk Tue Aug 19 08:56:27 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 19 Aug 2003 14:56:27 +0100 Subject: [dba-SQLServer]Security References: Message-ID: <000901c36659$af1ea710$9111758f@aine> We have a two DBs whcih contain very sensitive information. We have several SQL Server Admins. Is it possible to have the two DBs locked out to all but specific DBAs? Martin From my.lists at verizon.net Tue Aug 19 10:01:01 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Tue, 19 Aug 2003 08:01:01 -0700 Subject: [dba-SQLServer]Visual Basic 6.0/Crystal Reports 7.5 Crystl32.ocx (THREAD MOVED TO VB LIST) References: Message-ID: <000b01c36662$b4d65780$b615010a@FHTAPIA> Karen, I will forward your message to the approriate list :o), Now I woldn't go copying the regsvr32.exe over to winnt\system32 generally that file is already there unless someone or some bot deleted it. -Francisco http://rcm.netfirms.com On Tuesday, August 19, 2003 7:38 AM [GMT-8], Nicholson, Karen wrote: : I know this is a bit OT - but..... I am trying to get the active X : control to launch crystal reports from Visual Basic 6.0. I got the : crystl32.ocx file, but when I try to register it, I get a load : library failed the specified module could not be found. Are there : associated .dll's with this OCX that I am missing? Am I trying to : register it correctly by storing the regsvr32.exe and crystl32.ocx in : the same directory, c:winnt\system32? : : Any help is appreciated. From Robert.Djabarov at usaa.com Tue Aug 19 10:01:17 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Tue, 19 Aug 2003 10:01:17 -0500 Subject: [dba-SQLServer]Security Message-ID: <2B22DCB7D8DD724992945D5B947A2395081FAC@prodrim1w.eagle.usaa.com> Move those DBs to a dedicated server and lock them from the DBAs -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, August 19, 2003 8:56 AM To: dba-sqlserver Subject: [dba-SQLServer]Security We have a two DBs whcih contain very sensitive information. We have several SQL Server Admins. Is it possible to have the two DBs locked out to all but specific DBAs? Martin _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From Robert.Djabarov at usaa.com Tue Aug 19 10:04:40 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Tue, 19 Aug 2003 10:04:40 -0500 Subject: [dba-SQLServer]How to suppress this warning message? Message-ID: <2B22DCB7D8DD724992945D5B947A2395081FAD@prodrim1w.eagle.usaa.com> If you're getting this error after a query (S/I/U/D), then identify the field that is being aggregated and do an ISNUL(..., 0) prior to aggregating it, like this: SUM(isnull(, 0)) -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Billy Pang Sent: Monday, August 18, 2003 6:04 PM To: dba-SQLServer at databaseadvisors.com Subject: [dba-SQLServer]How to suppress this warning message? "Warning: Null value is eliminated by an aggregate or other SET operation." Is there a way of suppressing this warning message? Thanks in advance, Billy _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From my.lists at verizon.net Tue Aug 19 10:14:32 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Tue, 19 Aug 2003 08:14:32 -0700 Subject: [dba-SQLServer]Security References: <000901c36659$af1ea710$9111758f@aine> Message-ID: <001101c36664$986d2b80$b615010a@FHTAPIA> you can have a database user who is the *admin* of a database, but he must not be a member of the administrator's group. This would give him rights to only the db's that you would want him to be admin of, but adding users and deleting users would be a task for either a super admin or yet a 3rd. It is also possible to manage new users into the system if you simply use NT authentication, this way they simply just add the new users to the new groups and viola they have instant access to the db's they need. if the dba's are member's of the sysadmin group then they have access to everything. -Francisco http://rcm.netfirms.com On Tuesday, August 19, 2003 6:56 AM [GMT-8], Martin Reid wrote: : We have a two DBs whcih contain very sensitive information. We have : several SQL Server Admins. : : Is it possible to have the two DBs locked out to all but specific : DBAs? : : Martin From Robert.Djabarov at usaa.com Tue Aug 19 10:18:54 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Tue, 19 Aug 2003 10:18:54 -0500 Subject: [dba-SQLServer]Security Message-ID: <2B22DCB7D8DD724992945D5B947A2395081FB0@prodrim1w.eagle.usaa.com> It appears that he needs sysadmin rights to all but 2 databases for a specific DBA (-s). This requirement can only be met but putting those databases on a different server. -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Tuesday, August 19, 2003 10:15 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer]Security you can have a database user who is the *admin* of a database, but he must not be a member of the administrator's group. This would give him rights to only the db's that you would want him to be admin of, but adding users and deleting users would be a task for either a super admin or yet a 3rd. It is also possible to manage new users into the system if you simply use NT authentication, this way they simply just add the new users to the new groups and viola they have instant access to the db's they need. if the dba's are member's of the sysadmin group then they have access to everything. -Francisco http://rcm.netfirms.com On Tuesday, August 19, 2003 6:56 AM [GMT-8], Martin Reid wrote: : We have a two DBs whcih contain very sensitive information. We have : several SQL Server Admins. : : Is it possible to have the two DBs locked out to all but specific : DBAs? : : Martin _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Tue Aug 19 10:18:01 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 19 Aug 2003 16:18:01 +0100 Subject: [dba-SQLServer]Security References: <2B22DCB7D8DD724992945D5B947A2395081FAC@prodrim1w.eagle.usaa.com> Message-ID: <000901c36665$141b2840$9111758f@aine> Robert Is there no way to do this on the same server? Martin ----- Original Message ----- From: "Djabarov, Robert" To: "dba-sqlserver" Sent: Tuesday, August 19, 2003 4:01 PM Subject: RE: [dba-SQLServer]Security > Move those DBs to a dedicated server and lock them from the DBAs > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Tuesday, August 19, 2003 8:56 AM > To: dba-sqlserver > Subject: [dba-SQLServer]Security > > > We have a two DBs whcih contain very sensitive information. We have > several SQL Server Admins. > > Is it possible to have the two DBs locked out to all but specific DBAs? > > Martin > > _______________________________________________ > 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 Robert.Djabarov at usaa.com Tue Aug 19 10:21:38 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Tue, 19 Aug 2003 10:21:38 -0500 Subject: [dba-SQLServer]Security Message-ID: <2B22DCB7D8DD724992945D5B947A2395081FB1@prodrim1w.eagle.usaa.com> You can install a named instance and transfer those databases to it. In the new instance remove Buitin Administrators from System Administrators server role and set SA password to something other than what it is on your default instance. -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, August 19, 2003 10:18 AM To: dba-sqlserver Subject: Re: [dba-SQLServer]Security Robert Is there no way to do this on the same server? Martin ----- Original Message ----- From: "Djabarov, Robert" To: "dba-sqlserver" Sent: Tuesday, August 19, 2003 4:01 PM Subject: RE: [dba-SQLServer]Security > Move those DBs to a dedicated server and lock them from the DBAs > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Tuesday, August 19, 2003 8:56 AM > To: dba-sqlserver > Subject: [dba-SQLServer]Security > > > We have a two DBs whcih contain very sensitive information. We have > several SQL Server Admins. > > Is it possible to have the two DBs locked out to all but specific > DBAs? > > Martin > > _______________________________________________ > 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 artful at rogers.com Tue Aug 19 10:31:28 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 19 Aug 2003 11:31:28 -0400 Subject: [dba-SQLServer]Roles and Rules etc. In-Reply-To: Message-ID: It occurred to me today that I have never implemented a Rule in SQL 2K. I've always done everything I needed to do with roles and permissions. Who here has implemented some rules? Would you describe what they do? TIA, Arthur --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From Robert.Djabarov at usaa.com Tue Aug 19 10:36:06 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Tue, 19 Aug 2003 10:36:06 -0500 Subject: [dba-SQLServer]Roles and Rules etc. Message-ID: <2B22DCB7D8DD724992945D5B947A2395081FB3@prodrim1w.eagle.usaa.com> Rule doesn't have anything to do with roles and permissions. It's similar however to CHECK constraint. BOL: "Rules, a backward compatibility feature, perform some of the same functions as check constraints. CHECK constraints, created using the CHECK keyword of ALTER or CREATE TABLE, are the preferred, standard way to restrict the values in a column (multiple constraints can be defined on one or multiple columns)." -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, August 19, 2003 10:31 AM To: dba-sqlserver at databaseadvisors.com Subject: [dba-SQLServer]Roles and Rules etc. It occurred to me today that I have never implemented a Rule in SQL 2K. I've always done everything I needed to do with roles and permissions. Who here has implemented some rules? Would you describe what they do? TIA, Arthur --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From artful at rogers.com Tue Aug 19 11:23:45 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 19 Aug 2003 12:23:45 -0400 Subject: [dba-SQLServer]Roles and Rules etc. In-Reply-To: <2B22DCB7D8DD724992945D5B947A2395081FB3@prodrim1w.eagle.usaa.com> Message-ID: 1. So does that mean, forget about them and use check constraints exclusively? 2. Can a check constraint apply to multiple columns? Or is that by definition a failure to go to BCNF? A. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Djabarov, Robert Sent: Tuesday, August 19, 2003 11:36 AM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Roles and Rules etc. Rule doesn't have anything to do with roles and permissions. It's similar however to CHECK constraint. BOL: "Rules, a backward compatibility feature, perform some of the same functions as check constraints. CHECK constraints, created using the CHECK keyword of ALTER or CREATE TABLE, are the preferred, standard way to restrict the values in a column (multiple constraints can be defined on one or multiple columns)." --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From Robert.Djabarov at usaa.com Tue Aug 19 11:52:47 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Tue, 19 Aug 2003 11:52:47 -0500 Subject: [dba-SQLServer]Roles and Rules etc. Message-ID: <2B22DCB7D8DD724992945D5B947A2395081FBB@prodrim1w.eagle.usaa.com> Having rules and CHECK constraints may be an overkill and somewhat cumbursome to maintain. I would stick to one or the other. There's still a benefit of using rules because a rule can be bound to columns in different tables, while CHECK constraint will have to be re-created for each table and can be bound to multiple columns within a table. Another advantage is that you can bind a rule to a user-defined datatype which will be implicitly used wherever you use this datatype. Mind you though that it may be very hard to debug! Disadvantages of using rules are: (1) each column/datatype can have only one rule bound to it at a time; (2) If a rule is bound to more than one column (and even worse - more than 1 datatype) even existence of documentation on that would not ease the potential maintenance nightmare. I have to work with a lot of code that came all the way from 4.2a on OS/2, so I see rules all over the place and have internal usage diagrams and matrices that define each rule and its usage. Nightmare? Hell yeah! But some view it as job security :) What's BCNF? -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, August 19, 2003 11:24 AM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Roles and Rules etc. 1. So does that mean, forget about them and use check constraints exclusively? 2. Can a check constraint apply to multiple columns? Or is that by definition a failure to go to BCNF? A. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Djabarov, Robert Sent: Tuesday, August 19, 2003 11:36 AM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Roles and Rules etc. Rule doesn't have anything to do with roles and permissions. It's similar however to CHECK constraint. BOL: "Rules, a backward compatibility feature, perform some of the same functions as check constraints. CHECK constraints, created using the CHECK keyword of ALTER or CREATE TABLE, are the preferred, standard way to restrict the values in a column (multiple constraints can be defined on one or multiple columns)." --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From artful at rogers.com Tue Aug 19 14:03:06 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 19 Aug 2003 15:03:06 -0400 Subject: [dba-SQLServer]Roles and Rules etc. In-Reply-To: <2B22DCB7D8DD724992945D5B947A2395081FBB@prodrim1w.eagle.usaa.com> Message-ID: Thanks! It'll take me some time to sort out what you said with examples, but you've given me good leads and thanks for them. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Djabarov, Robert Sent: Tuesday, August 19, 2003 12:53 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Roles and Rules etc. Having rules and CHECK constraints may be an overkill and somewhat cumbursome to maintain. I would stick to one or the other. There's still a benefit of using rules because a rule can be bound to columns in different tables, while CHECK constraint will have to be re-created for each table and can be bound to multiple columns within a table. Another advantage is that you can bind a rule to a user-defined datatype which will be implicitly used wherever you use this datatype. Mind you though that it may be very hard to debug! Disadvantages of using rules are: (1) each column/datatype can have only one rule bound to it at a time; (2) If a rule is bound to more than one column (and even worse - more than 1 datatype) even existence of documentation on that would not ease the potential maintenance nightmare. I have to work with a lot of code that came all the way from 4.2a on OS/2, so I see rules all over the place and have internal usage diagrams and matrices that define each rule and its usage. Nightmare? Hell yeah! But some view it as job security :) What's BCNF? -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, August 19, 2003 11:24 AM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Roles and Rules etc. 1. So does that mean, forget about them and use check constraints exclusively? 2. Can a check constraint apply to multiple columns? Or is that by definition a failure to go to BCNF? A. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Djabarov, Robert Sent: Tuesday, August 19, 2003 11:36 AM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Roles and Rules etc. Rule doesn't have anything to do with roles and permissions. It's similar however to CHECK constraint. BOL: "Rules, a backward compatibility feature, perform some of the same functions as check constraints. CHECK constraints, created using the CHECK keyword of ALTER or CREATE TABLE, are the preferred, standard way to restrict the values in a column (multiple constraints can be defined on one or multiple columns)." --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 _______________________________________________ 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From tuxedo_man at hotmail.com Tue Aug 19 18:58:38 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Tue, 19 Aug 2003 23:58:38 +0000 Subject: [dba-SQLServer]How to suppress this warning message? Message-ID: Ok. Thanks. It is possible to monitor the occurance of this warning message from Profiler? Thanks in advance, Billy >From: "Djabarov, Robert" >Reply-To: dba-sqlserver at databaseadvisors.com >To: >Subject: RE: [dba-SQLServer]How to suppress this warning message? >Date: Tue, 19 Aug 2003 10:04:40 -0500 > >If you're getting this error after a query (S/I/U/D), then identify the >field that is being aggregated and do an ISNUL(..., 0) prior to >aggregating it, like this: SUM(isnull(, 0)) > >-----Original Message----- >From: dba-sqlserver-bounces at databaseadvisors.com >[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Billy >Pang >Sent: Monday, August 18, 2003 6:04 PM >To: dba-SQLServer at databaseadvisors.com >Subject: [dba-SQLServer]How to suppress this warning message? > > >"Warning: Null value is eliminated by an aggregate or other SET >operation." > >Is there a way of suppressing this warning message? > >Thanks in advance, >Billy > >_________________________________________________________________ >Help STOP SPAM with the new MSN 8 and get 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >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 > _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From knicholson at gpsx.net Wed Aug 20 09:27:39 2003 From: knicholson at gpsx.net (Nicholson, Karen) Date: Wed, 20 Aug 2003 09:27:39 -0500 Subject: [dba-SQLServer]Transaction Log *Notification* Message-ID: Does anyone know of a way that I can generate an email message to those in my group who oversee our database when the transaction log has reached 90% of its capacity? Thanks. From sgeller at cce.umn.edu Wed Aug 20 09:12:00 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Wed, 20 Aug 2003 09:12:00 -0500 Subject: [dba-SQLServer]Using DTS to get data from SQL to Access Message-ID: I have written a DTS that populates a table in my Access mdb. What I want is for the DTS to first delete all the data that is currently in the access mdb and then repopulate it with the data from my SQL table. I can't figure out how to do the delete part from the DTS. Does anybody know or where can I go to look for help on this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From paul.hartland at fsmail.net Wed Aug 20 09:18:30 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 20 Aug 2003 14:18:30 +0000 Subject: [dba-SQLServer]Using DTS to get data from SQL to Access Message-ID: <20030820141830.VBLZ18716.fep07-svc.ttys.com@localhost> Are you using Access or Visual Basic to run the DTS, or directly from SQL Server ? From: "Susan Geller" Date: Wed 20/Aug/2003 14:12 GMT To: Subject: [dba-SQLServer]Using DTS to get data from SQL to Access I have written a DTS that populates a table in my Access mdb. What I want is for the DTS to first delete all the data that is currently in the access mdb and then repopulate it with the data from my SQL table. I can't figure out how to do the delete part from the DTS. Does anybody know or where can I go to look for help on this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From sgeller at cce.umn.edu Wed Aug 20 09:26:43 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Wed, 20 Aug 2003 09:26:43 -0500 Subject: [dba-SQLServer]Using DTS to get data from SQL to Access Message-ID: I figured it out. I just added an Execute SQL task that deletes the data. Sometimes it's the simple things that stump me. Paul, I'm going to schedule the DTS to run nightly to refresh data in an mdb. The mdb is really just a copy of my SQL Server database data. The reason I'm doing this is so that my users can have a place to do ad-hoc query writing without needing to give them access to my SQL Server tables. I'm also doing some denormalizing to make it easier for them to do ad-hoc queries. In addition to scheduling this to run at a specific time during the night, I plan to let them execute the DTS from Access so they can have fresh data midday if they need it. I already have that part mostly worked out. --Susan -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, August 20, 2003 9:19 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer]Using DTS to get data from SQL to Access Are you using Access or Visual Basic to run the DTS, or directly from SQL Server ? From: "Susan Geller" Date: Wed 20/Aug/2003 14:12 GMT To: Subject: [dba-SQLServer]Using DTS to get data from SQL to Access I have written a DTS that populates a table in my Access mdb. What I want is for the DTS to first delete all the data that is currently in the access mdb and then repopulate it with the data from my SQL table. I can't figure out how to do the delete part from the DTS. Does anybody know or where can I go to look for help on this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com ________________________________________________________________________ __ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From Robert.Djabarov at usaa.com Wed Aug 20 09:43:07 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Wed, 20 Aug 2003 09:43:07 -0500 Subject: [dba-SQLServer]Using DTS to get data from SQL to Access Message-ID: <2B22DCB7D8DD724992945D5B947A2395081FF2@prodrim1w.eagle.usaa.com> Click on Execute SQL Task icon in the tool box on the left and specify your Access for existing connection. Type "delete " without quotes. Click on OK. Then click on the Execute SQL Task that you created in the previous step and while holding the control key click on the task that inserts data. Both will become highlighted. Right-mouse click and expand Workflow. Select On Success. Done! -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Wednesday, August 20, 2003 9:12 AM To: dba-SQLServer at databaseadvisors.com Subject: [dba-SQLServer]Using DTS to get data from SQL to Access I have written a DTS that populates a table in my Access mdb. What I want is for the DTS to first delete all the data that is currently in the access mdb and then repopulate it with the data from my SQL table. I can't figure out how to do the delete part from the DTS. Does anybody know or where can I go to look for help on this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From sgeller at cce.umn.edu Wed Aug 20 09:53:03 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Wed, 20 Aug 2003 09:53:03 -0500 Subject: [dba-SQLServer]Using DTS to get data from SQL to Access Message-ID: Robert, Thanks! I had just figured that out probably while you were writing this. But, it's good to have this confirmation that I did it right. --Susan -----Original Message----- From: Djabarov, Robert [mailto:Robert.Djabarov at usaa.com] Sent: Wednesday, August 20, 2003 9:43 AM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Using DTS to get data from SQL to Access Click on Execute SQL Task icon in the tool box on the left and specify your Access for existing connection. Type "delete " without quotes. Click on OK. Then click on the Execute SQL Task that you created in the previous step and while holding the control key click on the task that inserts data. Both will become highlighted. Right-mouse click and expand Workflow. Select On Success. Done! -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Wednesday, August 20, 2003 9:12 AM To: dba-SQLServer at databaseadvisors.com Subject: [dba-SQLServer]Using DTS to get data from SQL to Access I have written a DTS that populates a table in my Access mdb. What I want is for the DTS to first delete all the data that is currently in the access mdb and then repopulate it with the data from my SQL table. I can't figure out how to do the delete part from the DTS. Does anybody know or where can I go to look for help on this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ 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 artful at rogers.com Wed Aug 20 09:56:28 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 20 Aug 2003 10:56:28 -0400 Subject: [dba-SQLServer]Using DTS to get data from SQL to Access In-Reply-To: Message-ID: On a related subject, I have a bunch of DTS tasks, and regularly create new ones, to perform a similar operation. But what I do is stupid, because it's all literal. Imagine a relational tree, and that I want to pop the Access db with everything flowing down from the topmost table where PK = ###. What I currently do is copy one of my DTS tasks to a new name and then edit its several steps. In sum, the steps look like this (edited for brevity): SELECT * FROM Tours WHERE TourID = 123 SELECT * FROM Events WHERE TourID = 123 SELECT * FROM EventPackages WHERE EventID IN( SELECT * FROM Events WHERE TourID = 123 ) yada^3 Apparently there is a way to declare variables and pass in a value, which given the uniformity of my tasks would be 100 times simpler. But the NoHelp lives up to its name. Can anyone tell me how to do this? It should look, according to the docs, something like: SELECT * FROM Tours WHERE TourID = ? SELECT * FROM Events WHERE TourID = ? SELECT * FROM EventPackages WHERE EventID IN( SELECT * FROM Events WHERE TourID = ? ) yada^3 And then all you do is assign a value to your variable and it works. But I can't make it work. Suggestions? Guidance? Spare change? Arthur --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From sgeller at cce.umn.edu Wed Aug 20 10:02:25 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Wed, 20 Aug 2003 10:02:25 -0500 Subject: [dba-SQLServer]Using DTS to get data from SQL to Access Message-ID: Arthur, You can do this using Active X scripts which lets you pass parameters. It's very slick. I haven't actually done it yet. We are going over this right now in a SQL Server User Group I'm in. I have some stuff I can send you, but I'm not sure that it will make much sense. --Susan -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, August 20, 2003 9:56 AM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Using DTS to get data from SQL to Access On a related subject, I have a bunch of DTS tasks, and regularly create new ones, to perform a similar operation. But what I do is stupid, because it's all literal. Imagine a relational tree, and that I want to pop the Access db with everything flowing down from the topmost table where PK = ###. What I currently do is copy one of my DTS tasks to a new name and then edit its several steps. In sum, the steps look like this (edited for brevity): SELECT * FROM Tours WHERE TourID = 123 SELECT * FROM Events WHERE TourID = 123 SELECT * FROM EventPackages WHERE EventID IN( SELECT * FROM Events WHERE TourID = 123 ) yada^3 Apparently there is a way to declare variables and pass in a value, which given the uniformity of my tasks would be 100 times simpler. But the NoHelp lives up to its name. Can anyone tell me how to do this? It should look, according to the docs, something like: SELECT * FROM Tours WHERE TourID = ? SELECT * FROM Events WHERE TourID = ? SELECT * FROM EventPackages WHERE EventID IN( SELECT * FROM Events WHERE TourID = ? ) yada^3 And then all you do is assign a value to your variable and it works. But I can't make it work. Suggestions? Guidance? Spare change? Arthur --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From my.lists at verizon.net Wed Aug 20 10:25:54 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Wed, 20 Aug 2003 08:25:54 -0700 Subject: [dba-SQLServer]Transaction Log *Notification* References: Message-ID: <000b01c3672f$5920ee00$b615010a@FHTAPIA> It's called an Alert and you can have it do any number of things... Sql Server Enterprise Manager Management > Sql Server Agent > Alerts Create a new alert In the General Tab... Name : the name you want to give your alert Type: Sql Server Performance condition alert (make sure to enable this) Object: Sql Server:Databases Counter: Percent Log Used Instance: Your database Name Alert if counter: Rises above Value: 90 In the Response Tab... add the operators who will receive the alert... here you can do a numbe of trick things... on top of which you can execute a job, such as a backup the log with truncate. The methods for alerting is Email, Pager and Net Send, currently I only have net send enabled on my server but would like to enable the page setting but have not played w/ that option yet. simply add the users you want to have alerted and the method and you're done... if you want to execute a procedure or whatever just select the Execute Job and the name of the job you want to execute when the condition (alert) is met... You can also enable how long to wait before another alert will be sent again... I have mine set to 60% of log used and 0 minutes and 0 seconds delay between responses... -Francisco http://rcm.netfirms.com On Wednesday, August 20, 2003 7:27 AM [GMT-8], Nicholson, Karen wrote: : Does anyone know of a way that I can generate an email message to : those in my group who oversee our database when the transaction log : has reached 90% of its capacity? Thanks. From knicholson at gpsx.net Wed Aug 20 11:29:00 2003 From: knicholson at gpsx.net (Nicholson, Karen) Date: Wed, 20 Aug 2003 11:29:00 -0500 Subject: [dba-SQLServer]Transaction Log *Notification* Message-ID: Thank you. My head is spinning between learning VB, SQL Server, Crystal Reports and the company culture and needs. It is the most fun I have ever had but a bit overwhelming at times. -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Wednesday, August 20, 2003 11:26 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer]Transaction Log *Notification* It's called an Alert and you can have it do any number of things... Sql Server Enterprise Manager Management > Sql Server Agent > Alerts Create a new alert In the General Tab... Name : the name you want to give your alert Type: Sql Server Performance condition alert (make sure to enable this) Object: Sql Server:Databases Counter: Percent Log Used Instance: Your database Name Alert if counter: Rises above Value: 90 In the Response Tab... add the operators who will receive the alert... here you can do a numbe of trick things... on top of which you can execute a job, such as a backup the log with truncate. The methods for alerting is Email, Pager and Net Send, currently I only have net send enabled on my server but would like to enable the page setting but have not played w/ that option yet. simply add the users you want to have alerted and the method and you're done... if you want to execute a procedure or whatever just select the Execute Job and the name of the job you want to execute when the condition (alert) is met... You can also enable how long to wait before another alert will be sent again... I have mine set to 60% of log used and 0 minutes and 0 seconds delay between responses... -Francisco http://rcm.netfirms.com On Wednesday, August 20, 2003 7:27 AM [GMT-8], Nicholson, Karen wrote: : Does anyone know of a way that I can generate an email message to : those in my group who oversee our database when the transaction log : has reached 90% of its capacity? Thanks. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From sgeller at cce.umn.edu Wed Aug 20 10:53:55 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Wed, 20 Aug 2003 10:53:55 -0500 Subject: [dba-SQLServer]Execute a DTS from Access -- Sample Code Message-ID: Here's the code that executes the DTS: Dim objPackage2 As New DTS.Package objPackage2.LoadFromSQLServer "MyServerNameHere", , , DTSSQLStgFlag_UseTrustedConnection, , , , "MyDTSNameHere" objPackage2.FailOnError = True objPackage2.Execute objPackage2.UnInitialize Set objPackage2 = Nothing -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, August 20, 2003 10:43 AM To: Susan Geller Subject: Re: DTS Both would save me a bucket of time. Many Thanks Martin ----- Original Message ----- From: "Susan Geller" To: "Martin Reid" Sent: Wednesday, August 20, 2003 3:58 PM Subject: RE: DTS Do you want the code I am using in Access that executes the DTS or do you want the DTS? --Susan -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, August 20, 2003 9:37 AM To: Susan Geller Subject: DTS Susan Could I see your DTS script. I am about to do something very similar? Martin From my.lists at verizon.net Wed Aug 20 11:52:03 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Wed, 20 Aug 2003 09:52:03 -0700 Subject: [dba-SQLServer]Transaction Log *Notification* References: Message-ID: <001901c3673b$625d02e0$b615010a@FHTAPIA> Feel free to brainstorm any SQL related questions on the list... keep having fun :) -Francisco http://rcm.netfirms.com On Wednesday, August 20, 2003 9:29 AM [GMT-8], Nicholson, Karen wrote: : Thank you. My head is spinning between learning VB, SQL Server, : Crystal Reports and the company culture and needs. It is the most : fun I have ever had but a bit overwhelming at times. : : -----Original Message----- : From: Francisco H Tapia [mailto:my.lists at verizon.net] : Sent: Wednesday, August 20, 2003 11:26 AM : To: dba-sqlserver at databaseadvisors.com : Subject: Re: [dba-SQLServer]Transaction Log *Notification* : : : It's called an Alert and you can have it do any number of things... : Sql Server Enterprise Manager : : Management > Sql Server Agent > Alerts : : Create a new alert : : In the General Tab... : Name : the name you want to give your alert : Type: Sql Server Performance condition alert (make sure to enable : this) Object: Sql Server:Databases : Counter: Percent Log Used : Instance: Your database Name : Alert if counter: Rises above : Value: 90 : : In the Response Tab... : add the operators who will receive the alert... here you can do a : numbe of trick things... on top of which you can execute a job, such : as a backup the log with truncate. The methods for alerting is : Email, Pager and Net Send, currently I only have net send enabled on : my server but would like to enable the page setting but have not : played w/ that option yet. : : simply add the users you want to have alerted and the method and : you're done... if you want to execute a procedure or whatever just : select the Execute Job and the name of the job you want to execute : when the condition (alert) is met... : : You can also enable how long to wait before another alert will be sent : again... I have mine set to 60% of log used and 0 minutes and 0 : seconds delay between responses... : : -Francisco : http://rcm.netfirms.com : : On Wednesday, August 20, 2003 7:27 AM [GMT-8], : Nicholson, Karen wrote: : :: Does anyone know of a way that I can generate an email message to :: those in my group who oversee our database when the transaction log :: has reached 90% of its capacity? Thanks. From knicholson at gpsx.net Wed Aug 20 13:09:27 2003 From: knicholson at gpsx.net (Nicholson, Karen) Date: Wed, 20 Aug 2003 13:09:27 -0500 Subject: [dba-SQLServer]Transaction Log *Notification* Message-ID: OK. I will. I did all the steps and got an error message and am clueless but happy. When I went to test the email in the Response tab, I get an error messaged 22022: SQL Server Agent Error. The SQLServerAgent mail session is not running; check the male profile and/or the SQLServerAgent service startup account in the SQLServerAgent Properties box. So, I do as they say. Service account is checked as system account. Male profile has nothing in it and nothing to select in the drop-down box. Any ideas? -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Wednesday, August 20, 2003 12:52 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer]Transaction Log *Notification* Feel free to brainstorm any SQL related questions on the list... keep having fun :) -Francisco http://rcm.netfirms.com On Wednesday, August 20, 2003 9:29 AM [GMT-8], Nicholson, Karen wrote: : Thank you. My head is spinning between learning VB, SQL Server, : Crystal Reports and the company culture and needs. It is the most : fun I have ever had but a bit overwhelming at times. : : -----Original Message----- : From: Francisco H Tapia [mailto:my.lists at verizon.net] : Sent: Wednesday, August 20, 2003 11:26 AM : To: dba-sqlserver at databaseadvisors.com : Subject: Re: [dba-SQLServer]Transaction Log *Notification* : : : It's called an Alert and you can have it do any number of things... : Sql Server Enterprise Manager : : Management > Sql Server Agent > Alerts : : Create a new alert : : In the General Tab... : Name : the name you want to give your alert : Type: Sql Server Performance condition alert (make sure to enable : this) Object: Sql Server:Databases : Counter: Percent Log Used : Instance: Your database Name : Alert if counter: Rises above : Value: 90 : : In the Response Tab... : add the operators who will receive the alert... here you can do a : numbe of trick things... on top of which you can execute a job, such : as a backup the log with truncate. The methods for alerting is : Email, Pager and Net Send, currently I only have net send enabled on : my server but would like to enable the page setting but have not : played w/ that option yet. : : simply add the users you want to have alerted and the method and : you're done... if you want to execute a procedure or whatever just : select the Execute Job and the name of the job you want to execute : when the condition (alert) is met... : : You can also enable how long to wait before another alert will be sent : again... I have mine set to 60% of log used and 0 minutes and 0 : seconds delay between responses... : : -Francisco : http://rcm.netfirms.com : : On Wednesday, August 20, 2003 7:27 AM [GMT-8], : Nicholson, Karen wrote: : :: Does anyone know of a way that I can generate an email message to :: those in my group who oversee our database when the transaction log :: has reached 90% of its capacity? Thanks. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From andrew.haslett at ilc.gov.au Wed Aug 20 22:58:46 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Thu, 21 Aug 2003 13:28:46 +0930 Subject: [dba-SQLServer]Transaction Log *Notification* Message-ID: You need to have a MAPI client installed on the server. The way we did it, was to install Outlook on the server, create a profile in exchange and link it to the SQL Service (and SQL Agent) account (they are the same on our server). We may have even needed to restart the server for the settings to take effect. At minimum, we had to restart the SQL service. Cheers, Andrew -----Original Message----- From: Nicholson, Karen [mailto:knicholson at gpsx.net] Sent: Thursday, 21 August 2003 3:39 AM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* OK. I will. I did all the steps and got an error message and am clueless but happy. When I went to test the email in the Response tab, I get an error messaged 22022: SQL Server Agent Error. The SQLServerAgent mail session is not running; check the male profile and/or the SQLServerAgent service startup account in the SQLServerAgent Properties box. So, I do as they say. Service account is checked as system account. Male profile has nothing in it and nothing to select in the drop-down box. Any ideas? -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Wednesday, August 20, 2003 12:52 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer]Transaction Log *Notification* Feel free to brainstorm any SQL related questions on the list... keep having fun :) -Francisco http://rcm.netfirms.com On Wednesday, August 20, 2003 9:29 AM [GMT-8], Nicholson, Karen wrote: : Thank you. My head is spinning between learning VB, SQL Server, : Crystal Reports and the company culture and needs. It is the most : fun I have ever had but a bit overwhelming at times. : : -----Original Message----- : From: Francisco H Tapia [mailto:my.lists at verizon.net] : Sent: Wednesday, August 20, 2003 11:26 AM : To: dba-sqlserver at databaseadvisors.com : Subject: Re: [dba-SQLServer]Transaction Log *Notification* : : : It's called an Alert and you can have it do any number of things... : Sql Server Enterprise Manager : : Management > Sql Server Agent > Alerts : : Create a new alert : : In the General Tab... : Name : the name you want to give your alert : Type: Sql Server Performance condition alert (make sure to enable : this) Object: Sql Server:Databases : Counter: Percent Log Used : Instance: Your database Name : Alert if counter: Rises above : Value: 90 : : In the Response Tab... : add the operators who will receive the alert... here you can do a : numbe of trick things... on top of which you can execute a job, such : as a backup the log with truncate. The methods for alerting is : Email, Pager and Net Send, currently I only have net send enabled on : my server but would like to enable the page setting but have not : played w/ that option yet. : : simply add the users you want to have alerted and the method and : you're done... if you want to execute a procedure or whatever just : select the Execute Job and the name of the job you want to execute : when the condition (alert) is met... : : You can also enable how long to wait before another alert will be sent : again... I have mine set to 60% of log used and 0 minutes and 0 : seconds delay between responses... : : -Francisco : http://rcm.netfirms.com : : On Wednesday, August 20, 2003 7:27 AM [GMT-8], : Nicholson, Karen wrote: : :: Does anyone know of a way that I can generate an email message to :: those in my group who oversee our database when the transaction log :: has reached 90% of its capacity? Thanks. _______________________________________________ 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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From andrew.haslett at ilc.gov.au Wed Aug 20 22:48:56 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Thu, 21 Aug 2003 13:18:56 +0930 Subject: [dba-SQLServer]Transaction Log *Notification* Message-ID: You need to have a MAPI client installed on the server. The way we did it, was to install Outlook on the server, create a profile in exchange and link it to the SQL Service (and SQL Agent) account (they are the same on our server). We may have even needed to restart the server for the settings to take effect. At minimum, we had to restart the SQL service. Cheers, Andrew -----Original Message----- From: Nicholson, Karen [mailto:knicholson at gpsx.net] Sent: Thursday, 21 August 2003 3:39 AM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* OK. I will. I did all the steps and got an error message and am clueless but happy. When I went to test the email in the Response tab, I get an error messaged 22022: SQL Server Agent Error. The SQLServerAgent mail session is not running; check the male profile and/or the SQLServerAgent service startup account in the SQLServerAgent Properties box. So, I do as they say. Service account is checked as system account. Male profile has nothing in it and nothing to select in the drop-down box. Any ideas? -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Wednesday, August 20, 2003 12:52 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer]Transaction Log *Notification* Feel free to brainstorm any SQL related questions on the list... keep having fun :) -Francisco http://rcm.netfirms.com On Wednesday, August 20, 2003 9:29 AM [GMT-8], Nicholson, Karen wrote: : Thank you. My head is spinning between learning VB, SQL Server, : Crystal Reports and the company culture and needs. It is the most : fun I have ever had but a bit overwhelming at times. : : -----Original Message----- : From: Francisco H Tapia [mailto:my.lists at verizon.net] : Sent: Wednesday, August 20, 2003 11:26 AM : To: dba-sqlserver at databaseadvisors.com : Subject: Re: [dba-SQLServer]Transaction Log *Notification* : : : It's called an Alert and you can have it do any number of things... : Sql Server Enterprise Manager : : Management > Sql Server Agent > Alerts : : Create a new alert : : In the General Tab... : Name : the name you want to give your alert : Type: Sql Server Performance condition alert (make sure to enable : this) Object: Sql Server:Databases : Counter: Percent Log Used : Instance: Your database Name : Alert if counter: Rises above : Value: 90 : : In the Response Tab... : add the operators who will receive the alert... here you can do a : numbe of trick things... on top of which you can execute a job, such : as a backup the log with truncate. The methods for alerting is : Email, Pager and Net Send, currently I only have net send enabled on : my server but would like to enable the page setting but have not : played w/ that option yet. : : simply add the users you want to have alerted and the method and : you're done... if you want to execute a procedure or whatever just : select the Execute Job and the name of the job you want to execute : when the condition (alert) is met... : : You can also enable how long to wait before another alert will be sent : again... I have mine set to 60% of log used and 0 minutes and 0 : seconds delay between responses... : : -Francisco : http://rcm.netfirms.com : : On Wednesday, August 20, 2003 7:27 AM [GMT-8], : Nicholson, Karen wrote: : :: Does anyone know of a way that I can generate an email message to :: those in my group who oversee our database when the transaction log :: has reached 90% of its capacity? Thanks. _______________________________________________ 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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From andrew.haslett at ilc.gov.au Wed Aug 20 22:54:29 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Thu, 21 Aug 2003 13:24:29 +0930 Subject: [dba-SQLServer]Transaction Log *Notification* Message-ID: You need to have a MAPI client installed on the server. The way we did it, was to install Outlook on the server, create a profile in exchange and link it to the SQL Service (and SQL Agent) account (they are the same on our server). We may have even needed to restart the server for the settings to take effect. At minimum, we had to restart the SQL service. Cheers, Andrew -----Original Message----- From: Nicholson, Karen [mailto:knicholson at gpsx.net] Sent: Thursday, 21 August 2003 3:39 AM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* OK. I will. I did all the steps and got an error message and am clueless but happy. When I went to test the email in the Response tab, I get an error messaged 22022: SQL Server Agent Error. The SQLServerAgent mail session is not running; check the male profile and/or the SQLServerAgent service startup account in the SQLServerAgent Properties box. So, I do as they say. Service account is checked as system account. Male profile has nothing in it and nothing to select in the drop-down box. Any ideas? -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Wednesday, August 20, 2003 12:52 PM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer]Transaction Log *Notification* Feel free to brainstorm any SQL related questions on the list... keep having fun :) -Francisco http://rcm.netfirms.com On Wednesday, August 20, 2003 9:29 AM [GMT-8], Nicholson, Karen wrote: : Thank you. My head is spinning between learning VB, SQL Server, : Crystal Reports and the company culture and needs. It is the most : fun I have ever had but a bit overwhelming at times. : : -----Original Message----- : From: Francisco H Tapia [mailto:my.lists at verizon.net] : Sent: Wednesday, August 20, 2003 11:26 AM : To: dba-sqlserver at databaseadvisors.com : Subject: Re: [dba-SQLServer]Transaction Log *Notification* : : : It's called an Alert and you can have it do any number of things... : Sql Server Enterprise Manager : : Management > Sql Server Agent > Alerts : : Create a new alert : : In the General Tab... : Name : the name you want to give your alert : Type: Sql Server Performance condition alert (make sure to enable : this) Object: Sql Server:Databases : Counter: Percent Log Used : Instance: Your database Name : Alert if counter: Rises above : Value: 90 : : In the Response Tab... : add the operators who will receive the alert... here you can do a : numbe of trick things... on top of which you can execute a job, such : as a backup the log with truncate. The methods for alerting is : Email, Pager and Net Send, currently I only have net send enabled on : my server but would like to enable the page setting but have not : played w/ that option yet. : : simply add the users you want to have alerted and the method and : you're done... if you want to execute a procedure or whatever just : select the Execute Job and the name of the job you want to execute : when the condition (alert) is met... : : You can also enable how long to wait before another alert will be sent : again... I have mine set to 60% of log used and 0 minutes and 0 : seconds delay between responses... : : -Francisco : http://rcm.netfirms.com : : On Wednesday, August 20, 2003 7:27 AM [GMT-8], : Nicholson, Karen wrote: : :: Does anyone know of a way that I can generate an email message to :: those in my group who oversee our database when the transaction log :: has reached 90% of its capacity? Thanks. _______________________________________________ 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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From subs at solution-providers.ie Thu Aug 21 05:19:27 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Thu, 21 Aug 2003 11:19:27 +0100 Subject: [dba-SQLServer]Execute a DTS from Access -- Sample Code References: Message-ID: <001901c367ce$3bae04d0$026da8c0@D8TZHN0J> Hello Susan, Have you executed script in DTS packages? I am aware since the first time I saw them that you can run some kind of VB script but I have never done it. I know that Martin was seeking the VB code to execute the package, but do you have script? I would love to see some just to get the basic syntax Martin, I am using DTS to import about 100 files per week and I find it reliable, just to let you know. Thanks Susan, Mark ----- Original Message ----- From: "Susan Geller" To: Cc: "Martin Reid" Sent: Wednesday, August 20, 2003 4:53 PM Subject: [dba-SQLServer]Execute a DTS from Access -- Sample Code > Here's the code that executes the DTS: > > > Dim objPackage2 As New DTS.Package > objPackage2.LoadFromSQLServer "MyServerNameHere", , , > DTSSQLStgFlag_UseTrustedConnection, , , , "MyDTSNameHere" > objPackage2.FailOnError = True > objPackage2.Execute > objPackage2.UnInitialize > Set objPackage2 = Nothing > > > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, August 20, 2003 10:43 AM > To: Susan Geller > Subject: Re: DTS > > > Both would save me a bucket of time. > > Many Thanks > > Martin > > > ----- Original Message ----- > From: "Susan Geller" > To: "Martin Reid" > Sent: Wednesday, August 20, 2003 3:58 PM > Subject: RE: DTS > > > Do you want the code I am using in Access that executes the DTS or do > you want the DTS? > > --Susan > > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, August 20, 2003 9:37 AM > To: Susan Geller > Subject: DTS > > > Susan > > Could I see your DTS script. I am about to do something very similar? > > Martin > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From Rich_Lavsa at pghcorning.com Thu Aug 21 07:11:20 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Thu, 21 Aug 2003 08:11:20 -0400 Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Message-ID: <833956F5C117124A89417638FDB11290EBCF3E@goexchange.pghcorning.com> Hello all, I have a situation.. Setup is Win2K desktop, Win2k SErvers (mix mode Active Directory), SQL SErver 2000. The company I work for has a main office in Pittsburgh, and 2 manufacturing plants (one in Port Allegany, PA, and one Sedalia, Missouri). We are connected VIA a WAN. In our Port Plant, we are implementing new technology to gather defect information from the plant floor. This information will be held in a sql server database. The software company recommends this system be separated by a VLAN which has been set up and is working. They also recommend having this sql server, PLC, and 2 other machines be exclusively on their own network of which a workgroup was set up. I'm not a network kind of guy, know enough to get around but that's about it. So now I'm the SQL server person here. I'm new to it, learning it as I go with a 5 day class under my belt. We have quite a few sql server database servers doing various things, all of which I have taken responsibility for. I connect to all of them using Enterprise Manager on my machine. I cannot connect to the new SQL server that is on the VLAN. I can ping the server, however using the IP address I cannot register the server with my Enterprise Manager. Has anyone done this, or know how to do this? Rich From andrew.haslett at ilc.gov.au Thu Aug 21 07:12:40 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Thu, 21 Aug 2003 21:42:40 +0930 Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Message-ID: Are you trying to connect using integrated auth. or SQL auth. Do you have a firewall in between the LANS that could be blocking the required ports? 1433 I think... Cheers, Andrew -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Thursday, 21 August 2003 9:41 PM To: 'dba-sqlserver at databaseadvisors.com' Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Hello all, I have a situation.. Setup is Win2K desktop, Win2k SErvers (mix mode Active Directory), SQL SErver 2000. The company I work for has a main office in Pittsburgh, and 2 manufacturing plants (one in Port Allegany, PA, and one Sedalia, Missouri). We are connected VIA a WAN. In our Port Plant, we are implementing new technology to gather defect information from the plant floor. This information will be held in a sql server database. The software company recommends this system be separated by a VLAN which has been set up and is working. They also recommend having this sql server, PLC, and 2 other machines be exclusively on their own network of which a workgroup was set up. I'm not a network kind of guy, know enough to get around but that's about it. So now I'm the SQL server person here. I'm new to it, learning it as I go with a 5 day class under my belt. We have quite a few sql server database servers doing various things, all of which I have taken responsibility for. I connect to all of them using Enterprise Manager on my machine. I cannot connect to the new SQL server that is on the VLAN. I can ping the server, however using the IP address I cannot register the server with my Enterprise Manager. Has anyone done this, or know how to do this? Rich _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From Rich_Lavsa at pghcorning.com Thu Aug 21 07:28:19 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Thu, 21 Aug 2003 08:28:19 -0400 Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Message-ID: <833956F5C117124A89417638FDB11290EBCF3F@goexchange.pghcorning.com> I went to the highest level using the SA login just to make sure it was not the login at least at the sql server level. I'm not sure if its as simple as me not having the appropriate permissions on that server itself. I will check on the firewall, however I do not think there is a firewall between sites, just between us and the rest of the world. This workgroup was set up by the consultants not our staff. I'm not a network guy so I'm not sure if our network guys need to do anything to allow me to see this.. I wish they would just put it in our domain. I'll find out about the firewall and get back to you. -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, August 21, 2003 8:13 AM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup Are you trying to connect using integrated auth. or SQL auth. Do you have a firewall in between the LANS that could be blocking the required ports? 1433 I think... Cheers, Andrew -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Thursday, 21 August 2003 9:41 PM To: 'dba-sqlserver at databaseadvisors.com' Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Hello all, I have a situation.. Setup is Win2K desktop, Win2k SErvers (mix mode Active Directory), SQL SErver 2000. The company I work for has a main office in Pittsburgh, and 2 manufacturing plants (one in Port Allegany, PA, and one Sedalia, Missouri). We are connected VIA a WAN. In our Port Plant, we are implementing new technology to gather defect information from the plant floor. This information will be held in a sql server database. The software company recommends this system be separated by a VLAN which has been set up and is working. They also recommend having this sql server, PLC, and 2 other machines be exclusively on their own network of which a workgroup was set up. I'm not a network kind of guy, know enough to get around but that's about it. So now I'm the SQL server person here. I'm new to it, learning it as I go with a 5 day class under my belt. We have quite a few sql server database servers doing various things, all of which I have taken responsibility for. I connect to all of them using Enterprise Manager on my machine. I cannot connect to the new SQL server that is on the VLAN. I can ping the server, however using the IP address I cannot register the server with my Enterprise Manager. Has anyone done this, or know how to do this? Rich _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From andrew.haslett at ilc.gov.au Thu Aug 21 07:33:31 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Thu, 21 Aug 2003 22:03:31 +0930 Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Message-ID: OK. Perhaps a library configuration issue? Perhaps try creating your connection through the Client Utility (named pipes/TCP/etc..) Seems strange that you can PING it though... Wouldn't be as simple as that server not being run in mixed mode?? As you wouldn't be able to use Windows Auth across domains.. -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Thursday, 21 August 2003 9:58 PM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup I went to the highest level using the SA login just to make sure it was not the login at least at the sql server level. I'm not sure if its as simple as me not having the appropriate permissions on that server itself. I will check on the firewall, however I do not think there is a firewall between sites, just between us and the rest of the world. This workgroup was set up by the consultants not our staff. I'm not a network guy so I'm not sure if our network guys need to do anything to allow me to see this.. I wish they would just put it in our domain. I'll find out about the firewall and get back to you. -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, August 21, 2003 8:13 AM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup Are you trying to connect using integrated auth. or SQL auth. Do you have a firewall in between the LANS that could be blocking the required ports? 1433 I think... Cheers, Andrew -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Thursday, 21 August 2003 9:41 PM To: 'dba-sqlserver at databaseadvisors.com' Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Hello all, I have a situation.. Setup is Win2K desktop, Win2k SErvers (mix mode Active Directory), SQL SErver 2000. The company I work for has a main office in Pittsburgh, and 2 manufacturing plants (one in Port Allegany, PA, and one Sedalia, Missouri). We are connected VIA a WAN. In our Port Plant, we are implementing new technology to gather defect information from the plant floor. This information will be held in a sql server database. The software company recommends this system be separated by a VLAN which has been set up and is working. They also recommend having this sql server, PLC, and 2 other machines be exclusively on their own network of which a workgroup was set up. I'm not a network kind of guy, know enough to get around but that's about it. So now I'm the SQL server person here. I'm new to it, learning it as I go with a 5 day class under my belt. We have quite a few sql server database servers doing various things, all of which I have taken responsibility for. I connect to all of them using Enterprise Manager on my machine. I cannot connect to the new SQL server that is on the VLAN. I can ping the server, however using the IP address I cannot register the server with my Enterprise Manager. Has anyone done this, or know how to do this? Rich _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ 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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From sgeller at cce.umn.edu Thu Aug 21 09:09:12 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Thu, 21 Aug 2003 09:09:12 -0500 Subject: [dba-SQLServer]Execute a DTS from Access -- Sample Code Message-ID: Mark, Not sure what you are referring to. What I pasted below is the code in Access. I have seen, although have not written, Active X scripts to make DTS's more dynamic and make use of parameters. I have some samples of that. I know you can save a DTS as a VB script because I just did that for Martin yesterday. I could post what that looks like here, but you could do that yourself with any of your DTSs to see what it looks like. I'm not sure if any of this is answering your question. --Susan -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Thursday, August 21, 2003 5:19 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer]Execute a DTS from Access -- Sample Code Hello Susan, Have you executed script in DTS packages? I am aware since the first time I saw them that you can run some kind of VB script but I have never done it. I know that Martin was seeking the VB code to execute the package, but do you have script? I would love to see some just to get the basic syntax Martin, I am using DTS to import about 100 files per week and I find it reliable, just to let you know. Thanks Susan, Mark ----- Original Message ----- From: "Susan Geller" To: Cc: "Martin Reid" Sent: Wednesday, August 20, 2003 4:53 PM Subject: [dba-SQLServer]Execute a DTS from Access -- Sample Code > Here's the code that executes the DTS: > > > Dim objPackage2 As New DTS.Package > objPackage2.LoadFromSQLServer "MyServerNameHere", , , > DTSSQLStgFlag_UseTrustedConnection, , , , "MyDTSNameHere" > objPackage2.FailOnError = True > objPackage2.Execute > objPackage2.UnInitialize > Set objPackage2 = Nothing > > > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, August 20, 2003 10:43 AM > To: Susan Geller > Subject: Re: DTS > > > Both would save me a bucket of time. > > Many Thanks > > Martin > > > ----- Original Message ----- > From: "Susan Geller" > To: "Martin Reid" > Sent: Wednesday, August 20, 2003 3:58 PM > Subject: RE: DTS > > > Do you want the code I am using in Access that executes the DTS or do > you want the DTS? > > --Susan > > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, August 20, 2003 9:37 AM > To: Susan Geller > Subject: DTS > > > Susan > > Could I see your DTS script. I am about to do something very similar? > > Martin > > _______________________________________________ > 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 Rich_Lavsa at pghcorning.com Thu Aug 21 10:04:30 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Thu, 21 Aug 2003 11:04:30 -0400 Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Message-ID: <833956F5C117124A89417638FDB11290EBCF40@goexchange.pghcorning.com> Ok.. finally got answer... There is no firewall between main office and sites. I've never made connection using the Client Utility... I'll give it a try.. I was thinking.. I can ping the machine.. so I know its on the network. I however cannot see the computer through "network neighborhood". Now when I try to register the server it asks for a name and password, I give it the SA name and put in the correct password. Now at this point, how does it know I have any permission to view the contents of that server, meaning a login and permissions set so that as an administrator I can install, maintain.. etc. Am I to assume that I am trying to gain access to that domain using the login name from the domain I am coming from? Do I need to setup a local account on that machine or something. If so how do I get around this.. my network people are very very incompetent so please bear with me.. I'm trying to eventually wear that hat too.. but I'm just to busy to get into all that right now. Rich -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, August 21, 2003 8:34 AM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup OK. Perhaps a library configuration issue? Perhaps try creating your connection through the Client Utility (named pipes/TCP/etc..) Seems strange that you can PING it though... Wouldn't be as simple as that server not being run in mixed mode?? As you wouldn't be able to use Windows Auth across domains.. -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Thursday, 21 August 2003 9:58 PM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup I went to the highest level using the SA login just to make sure it was not the login at least at the sql server level. I'm not sure if its as simple as me not having the appropriate permissions on that server itself. I will check on the firewall, however I do not think there is a firewall between sites, just between us and the rest of the world. This workgroup was set up by the consultants not our staff. I'm not a network guy so I'm not sure if our network guys need to do anything to allow me to see this.. I wish they would just put it in our domain. I'll find out about the firewall and get back to you. -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, August 21, 2003 8:13 AM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup Are you trying to connect using integrated auth. or SQL auth. Do you have a firewall in between the LANS that could be blocking the required ports? 1433 I think... Cheers, Andrew -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Thursday, 21 August 2003 9:41 PM To: 'dba-sqlserver at databaseadvisors.com' Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Hello all, I have a situation.. Setup is Win2K desktop, Win2k SErvers (mix mode Active Directory), SQL SErver 2000. The company I work for has a main office in Pittsburgh, and 2 manufacturing plants (one in Port Allegany, PA, and one Sedalia, Missouri). We are connected VIA a WAN. In our Port Plant, we are implementing new technology to gather defect information from the plant floor. This information will be held in a sql server database. The software company recommends this system be separated by a VLAN which has been set up and is working. They also recommend having this sql server, PLC, and 2 other machines be exclusively on their own network of which a workgroup was set up. I'm not a network kind of guy, know enough to get around but that's about it. So now I'm the SQL server person here. I'm new to it, learning it as I go with a 5 day class under my belt. We have quite a few sql server database servers doing various things, all of which I have taken responsibility for. I connect to all of them using Enterprise Manager on my machine. I cannot connect to the new SQL server that is on the VLAN. I can ping the server, however using the IP address I cannot register the server with my Enterprise Manager. Has anyone done this, or know how to do this? Rich _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ 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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From ebarro at afsweb.com Thu Aug 21 10:32:31 2003 From: ebarro at afsweb.com (Eric Barro) Date: Thu, 21 Aug 2003 08:32:31 -0700 Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup In-Reply-To: <833956F5C117124A89417638FDB11290EBCF40@goexchange.pghcorning.com> Message-ID: Look for your HOSTS file and put an entry in for the remote SQL server machine like... xxx.xxx.xxx.xxx RemoteSQLServer where xxx.xxx.xxx.xxx is the IP address SQL server can be set to listen to named pipes (using UNC ex. \\MYSQLSERVER\....) and/or via TCPIP at port 1433 (standard). If you are using mixed authentication (Windows and SQL) make sure you have a Windows account on the domain where the SQL server is. If not use SQL server login. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Lavsa, Rich Sent: Thursday, August 21, 2003 8:05 AM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup Ok.. finally got answer... There is no firewall between main office and sites. I've never made connection using the Client Utility... I'll give it a try.. I was thinking.. I can ping the machine.. so I know its on the network. I however cannot see the computer through "network neighborhood". Now when I try to register the server it asks for a name and password, I give it the SA name and put in the correct password. Now at this point, how does it know I have any permission to view the contents of that server, meaning a login and permissions set so that as an administrator I can install, maintain.. etc. Am I to assume that I am trying to gain access to that domain using the login name from the domain I am coming from? Do I need to setup a local account on that machine or something. If so how do I get around this.. my network people are very very incompetent so please bear with me.. I'm trying to eventually wear that hat too.. but I'm just to busy to get into all that right now. Rich -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, August 21, 2003 8:34 AM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup OK. Perhaps a library configuration issue? Perhaps try creating your connection through the Client Utility (named pipes/TCP/etc..) Seems strange that you can PING it though... Wouldn't be as simple as that server not being run in mixed mode?? As you wouldn't be able to use Windows Auth across domains.. -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Thursday, 21 August 2003 9:58 PM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup I went to the highest level using the SA login just to make sure it was not the login at least at the sql server level. I'm not sure if its as simple as me not having the appropriate permissions on that server itself. I will check on the firewall, however I do not think there is a firewall between sites, just between us and the rest of the world. This workgroup was set up by the consultants not our staff. I'm not a network guy so I'm not sure if our network guys need to do anything to allow me to see this.. I wish they would just put it in our domain. I'll find out about the firewall and get back to you. -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, August 21, 2003 8:13 AM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup Are you trying to connect using integrated auth. or SQL auth. Do you have a firewall in between the LANS that could be blocking the required ports? 1433 I think... Cheers, Andrew -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Thursday, 21 August 2003 9:41 PM To: 'dba-sqlserver at databaseadvisors.com' Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Hello all, I have a situation.. Setup is Win2K desktop, Win2k SErvers (mix mode Active Directory), SQL SErver 2000. The company I work for has a main office in Pittsburgh, and 2 manufacturing plants (one in Port Allegany, PA, and one Sedalia, Missouri). We are connected VIA a WAN. In our Port Plant, we are implementing new technology to gather defect information from the plant floor. This information will be held in a sql server database. The software company recommends this system be separated by a VLAN which has been set up and is working. They also recommend having this sql server, PLC, and 2 other machines be exclusively on their own network of which a workgroup was set up. I'm not a network kind of guy, know enough to get around but that's about it. So now I'm the SQL server person here. I'm new to it, learning it as I go with a 5 day class under my belt. We have quite a few sql server database servers doing various things, all of which I have taken responsibility for. I connect to all of them using Enterprise Manager on my machine. I cannot connect to the new SQL server that is on the VLAN. I can ping the server, however using the IP address I cannot register the server with my Enterprise Manager. Has anyone done this, or know how to do this? Rich _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ 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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 From Robert.Djabarov at usaa.com Thu Aug 21 11:26:40 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Thu, 21 Aug 2003 11:26:40 -0500 Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Message-ID: <2B22DCB7D8DD724992945D5B947A239508206A@prodrim1w.eagle.usaa.com> Try to register it using its IP. If it works you can create an alias in Client Network utility and re-register it using the alias. -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Thursday, August 21, 2003 7:11 AM To: 'dba-sqlserver at databaseadvisors.com' Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Hello all, I have a situation.. Setup is Win2K desktop, Win2k SErvers (mix mode Active Directory), SQL SErver 2000. The company I work for has a main office in Pittsburgh, and 2 manufacturing plants (one in Port Allegany, PA, and one Sedalia, Missouri). We are connected VIA a WAN. In our Port Plant, we are implementing new technology to gather defect information from the plant floor. This information will be held in a sql server database. The software company recommends this system be separated by a VLAN which has been set up and is working. They also recommend having this sql server, PLC, and 2 other machines be exclusively on their own network of which a workgroup was set up. I'm not a network kind of guy, know enough to get around but that's about it. So now I'm the SQL server person here. I'm new to it, learning it as I go with a 5 day class under my belt. We have quite a few sql server database servers doing various things, all of which I have taken responsibility for. I connect to all of them using Enterprise Manager on my machine. I cannot connect to the new SQL server that is on the VLAN. I can ping the server, however using the IP address I cannot register the server with my Enterprise Manager. Has anyone done this, or know how to do this? Rich _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From tuxedo_man at hotmail.com Thu Aug 21 11:57:09 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Thu, 21 Aug 2003 16:57:09 +0000 Subject: [dba-SQLServer]Transaction Log *Notification* Message-ID: Maybe it is a male issue. >From: "Nicholson, Karen" > >So, I do as they say. Service account is checked as system account. >Male profile has nothing in it and nothing to select in the drop-down box. > _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From knicholson at gpsx.net Thu Aug 21 13:03:41 2003 From: knicholson at gpsx.net (Nicholson, Karen) Date: Thu, 21 Aug 2003 13:03:41 -0500 Subject: [dba-SQLServer]Transaction Log *Notification* Message-ID: It is ALWAYS a male issue. -----Original Message----- From: Billy Pang [mailto:tuxedo_man at hotmail.com] Sent: Thursday, August 21, 2003 12:57 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* Maybe it is a male issue. >From: "Nicholson, Karen" > >So, I do as they say. Service account is checked as system account. >Male profile has nothing in it and nothing to select in the drop-down box. > _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From Robert.Djabarov at usaa.com Thu Aug 21 12:19:31 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Thu, 21 Aug 2003 12:19:31 -0500 Subject: [dba-SQLServer]Transaction Log *Notification* Message-ID: <2B22DCB7D8DD724992945D5B947A239508206F@prodrim1w.eagle.usaa.com> Oh, come on, stop blaming us for everything :) -----Original Message----- From: Nicholson, Karen [mailto:knicholson at gpsx.net] Sent: Thursday, August 21, 2003 1:04 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* It is ALWAYS a male issue. -----Original Message----- From: Billy Pang [mailto:tuxedo_man at hotmail.com] Sent: Thursday, August 21, 2003 12:57 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* Maybe it is a male issue. >From: "Nicholson, Karen" > >So, I do as they say. Service account is checked as system account. >Male profile has nothing in it and nothing to select in the drop-down >box. > _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ 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 knicholson at gpsx.net Thu Aug 21 13:32:45 2003 From: knicholson at gpsx.net (Nicholson, Karen) Date: Thu, 21 Aug 2003 13:32:45 -0500 Subject: [dba-SQLServer]Transaction Log *Notification* Message-ID: Well right now I am blaming some man, Mr. Gates as I struggle to find some VB database that is just like Northwind so I can start programming stoopid stuff in VB. Harrible as my kid would say. Isn't northwind in every other product MS spews out - there is Northwind for SQL, Northwind for Access. Just trying to figure out how to open up a form where blaaahhh equals blaaah is impossible to find. -----Original Message----- From: Djabarov, Robert [mailto:Robert.Djabarov at usaa.com] Sent: Thursday, August 21, 2003 1:20 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* Oh, come on, stop blaming us for everything :) -----Original Message----- From: Nicholson, Karen [mailto:knicholson at gpsx.net] Sent: Thursday, August 21, 2003 1:04 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* It is ALWAYS a male issue. -----Original Message----- From: Billy Pang [mailto:tuxedo_man at hotmail.com] Sent: Thursday, August 21, 2003 12:57 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* Maybe it is a male issue. >From: "Nicholson, Karen" > >So, I do as they say. Service account is checked as system account. >Male profile has nothing in it and nothing to select in the drop-down >box. > _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ 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 Robert.Djabarov at usaa.com Thu Aug 21 13:10:35 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Thu, 21 Aug 2003 13:10:35 -0500 Subject: [dba-SQLServer]Transaction Log *Notification* Message-ID: <2B22DCB7D8DD724992945D5B947A2395082075@prodrim1w.eagle.usaa.com> Wow, your plate is full :) -----Original Message----- From: Nicholson, Karen [mailto:knicholson at gpsx.net] Sent: Thursday, August 21, 2003 1:33 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* Well right now I am blaming some man, Mr. Gates as I struggle to find some VB database that is just like Northwind so I can start programming stoopid stuff in VB. Harrible as my kid would say. Isn't northwind in every other product MS spews out - there is Northwind for SQL, Northwind for Access. Just trying to figure out how to open up a form where blaaahhh equals blaaah is impossible to find. -----Original Message----- From: Djabarov, Robert [mailto:Robert.Djabarov at usaa.com] Sent: Thursday, August 21, 2003 1:20 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* Oh, come on, stop blaming us for everything :) -----Original Message----- From: Nicholson, Karen [mailto:knicholson at gpsx.net] Sent: Thursday, August 21, 2003 1:04 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* It is ALWAYS a male issue. -----Original Message----- From: Billy Pang [mailto:tuxedo_man at hotmail.com] Sent: Thursday, August 21, 2003 12:57 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* Maybe it is a male issue. >From: "Nicholson, Karen" > >So, I do as they say. Service account is checked as system account. >Male profile has nothing in it and nothing to select in the drop-down >box. > _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From Rich_Lavsa at pghcorning.com Thu Aug 21 14:10:53 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Thu, 21 Aug 2003 15:10:53 -0400 Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Message-ID: <833956F5C117124A89417638FDB11290EBCF44@goexchange.pghcorning.com> I tried to use the IP Address.. No luck there... I tried adding the entry to the HOSTS file as suggested by Eric.. No luck there either.. and as far as connecting using the client utility.. I'm not sure what I'm looking at there.. options are TCP/IP and Named Pipes.. looks like it is set to what it should.. Am I missing something there.. How do I go about making a connection with this tool? -----Original Message----- From: Djabarov, Robert [mailto:Robert.Djabarov at usaa.com] Sent: Thursday, August 21, 2003 12:27 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup Try to register it using its IP. If it works you can create an alias in Client Network utility and re-register it using the alias. -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Thursday, August 21, 2003 7:11 AM To: 'dba-sqlserver at databaseadvisors.com' Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Hello all, I have a situation.. Setup is Win2K desktop, Win2k SErvers (mix mode Active Directory), SQL SErver 2000. The company I work for has a main office in Pittsburgh, and 2 manufacturing plants (one in Port Allegany, PA, and one Sedalia, Missouri). We are connected VIA a WAN. In our Port Plant, we are implementing new technology to gather defect information from the plant floor. This information will be held in a sql server database. The software company recommends this system be separated by a VLAN which has been set up and is working. They also recommend having this sql server, PLC, and 2 other machines be exclusively on their own network of which a workgroup was set up. I'm not a network kind of guy, know enough to get around but that's about it. So now I'm the SQL server person here. I'm new to it, learning it as I go with a 5 day class under my belt. We have quite a few sql server database servers doing various things, all of which I have taken responsibility for. I connect to all of them using Enterprise Manager on my machine. I cannot connect to the new SQL server that is on the VLAN. I can ping the server, however using the IP address I cannot register the server with my Enterprise Manager. Has anyone done this, or know how to do this? Rich _______________________________________________ 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 tuxedo_man at hotmail.com Thu Aug 21 15:30:24 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Thu, 21 Aug 2003 20:30:24 +0000 Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Message-ID: Also, make sure your client is using a port sql server is listening on. To determine which port sql server is listening on, on the host machine, run the Server Network Utility and double-click TCP/IP. HTH Billy >From: "Djabarov, Robert" >Reply-To: dba-sqlserver at databaseadvisors.com >To: >Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup >Date: Thu, 21 Aug 2003 11:26:40 -0500 > >Try to register it using its IP. If it works you can create an alias in >Client Network utility and re-register it using the alias. > >-----Original Message----- >From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] >Sent: Thursday, August 21, 2003 7:11 AM >To: 'dba-sqlserver at databaseadvisors.com' >Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup > > >Hello all, > >I have a situation.. > >Setup is Win2K desktop, Win2k SErvers (mix mode Active Directory), SQL >SErver 2000. > >The company I work for has a main office in Pittsburgh, and 2 >manufacturing plants (one in Port Allegany, PA, and one Sedalia, >Missouri). We are connected VIA a WAN. In our Port Plant, we are >implementing new technology to gather defect information from the plant >floor. This information will be held in a sql server database. The >software company recommends this system be separated by a VLAN which has >been set up and is working. They also recommend having this sql server, >PLC, and 2 other machines be exclusively on their own network of which a >workgroup was set up. I'm not a network kind of guy, know enough to get >around but that's about it. > >So now I'm the SQL server person here. I'm new to it, learning it as I >go with a 5 day class under my belt. We have quite a few sql server >database servers doing various things, all of which I have taken >responsibility for. I connect to all of them using Enterprise Manager on >my machine. I cannot connect to the new SQL server that is on the VLAN. >I can ping the server, however using the IP address I cannot register >the server with my Enterprise Manager. > >Has anyone done this, or know how to do this? > >Rich >_______________________________________________ >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 > _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From ebarro at afsweb.com Thu Aug 21 15:43:57 2003 From: ebarro at afsweb.com (Eric Barro) Date: Thu, 21 Aug 2003 13:43:57 -0700 Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup In-Reply-To: <833956F5C117124A89417638FDB11290EBCF44@goexchange.pghcorning.com> Message-ID: Rich, On enterprise manager use the name of the SQL server when connecting...not the IP. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Lavsa, Rich Sent: Thursday, August 21, 2003 12:11 PM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup I tried to use the IP Address.. No luck there... I tried adding the entry to the HOSTS file as suggested by Eric.. No luck there either.. and as far as connecting using the client utility.. I'm not sure what I'm looking at there.. options are TCP/IP and Named Pipes.. looks like it is set to what it should.. Am I missing something there.. How do I go about making a connection with this tool? -----Original Message----- From: Djabarov, Robert [mailto:Robert.Djabarov at usaa.com] Sent: Thursday, August 21, 2003 12:27 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup Try to register it using its IP. If it works you can create an alias in Client Network utility and re-register it using the alias. -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Thursday, August 21, 2003 7:11 AM To: 'dba-sqlserver at databaseadvisors.com' Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Hello all, I have a situation.. Setup is Win2K desktop, Win2k SErvers (mix mode Active Directory), SQL SErver 2000. The company I work for has a main office in Pittsburgh, and 2 manufacturing plants (one in Port Allegany, PA, and one Sedalia, Missouri). We are connected VIA a WAN. In our Port Plant, we are implementing new technology to gather defect information from the plant floor. This information will be held in a sql server database. The software company recommends this system be separated by a VLAN which has been set up and is working. They also recommend having this sql server, PLC, and 2 other machines be exclusively on their own network of which a workgroup was set up. I'm not a network kind of guy, know enough to get around but that's about it. So now I'm the SQL server person here. I'm new to it, learning it as I go with a 5 day class under my belt. We have quite a few sql server database servers doing various things, all of which I have taken responsibility for. I connect to all of them using Enterprise Manager on my machine. I cannot connect to the new SQL server that is on the VLAN. I can ping the server, however using the IP address I cannot register the server with my Enterprise Manager. Has anyone done this, or know how to do this? Rich _______________________________________________ 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 From stuart at lexacorp.com.pg Thu Aug 21 16:22:15 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 22 Aug 2003 07:22:15 +1000 Subject: [dba-SQLServer]Transaction Log *Notification* In-Reply-To: Message-ID: <3F45C4A7.20081.173B39@localhost> On 21 Aug 2003 at 13:32, Nicholson, Karen wrote: > Well right now I am blaming some man, Mr. Gates as I struggle to find some > VB database that is just like Northwind so I can start programming stoopid > stuff in VB. Harrible as my kid would say. Isn't northwind in every other > product MS spews out - there is Northwind for SQL, Northwind for Access. > Just trying to figure out how to open up a form where blaaahhh equals blaaah > is impossible to find. > Try Northwind.mdb. :-( They use that one as the example for data interfacing with VB. They just don't have a VB equivalent to the Access FrontEnd for the data. :-( -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Rich_Lavsa at pghcorning.com Fri Aug 22 07:02:11 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Fri, 22 Aug 2003 08:02:11 -0400 Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Message-ID: <833956F5C117124A89417638FDB11290EBCF45@goexchange.pghcorning.com> I checked the port which is ok. The server is not hidden. as far as the name of the machine, I cannot even ping the machine using the name, I must use the IP alone.. not sure if that is a result of it being on its own workgroup network and/or vlan... maybe that is a problem in itself... I'm stumped here.. I can connect to any and all other sql servers using only the IP address. These are all in the same domain so it wasn't much of a challenge.. Do I have to set up a trust between the domain and workgroup? In Mixed mode is that even possible, or do you have to build a Forest? Hoping someone may still have an idea!!! thanks, Rich -----Original Message----- From: Billy Pang [mailto:tuxedo_man at hotmail.com] Sent: Thursday, August 21, 2003 4:30 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup Also, make sure your client is using a port sql server is listening on. To determine which port sql server is listening on, on the host machine, run the Server Network Utility and double-click TCP/IP. HTH Billy >From: "Djabarov, Robert" >Reply-To: dba-sqlserver at databaseadvisors.com >To: >Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup >Date: Thu, 21 Aug 2003 11:26:40 -0500 > >Try to register it using its IP. If it works you can create an alias in >Client Network utility and re-register it using the alias. > >-----Original Message----- >From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] >Sent: Thursday, August 21, 2003 7:11 AM >To: 'dba-sqlserver at databaseadvisors.com' >Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup > > >Hello all, > >I have a situation.. > >Setup is Win2K desktop, Win2k SErvers (mix mode Active Directory), SQL >SErver 2000. > >The company I work for has a main office in Pittsburgh, and 2 >manufacturing plants (one in Port Allegany, PA, and one Sedalia, >Missouri). We are connected VIA a WAN. In our Port Plant, we are >implementing new technology to gather defect information from the plant >floor. This information will be held in a sql server database. The >software company recommends this system be separated by a VLAN which has >been set up and is working. They also recommend having this sql server, >PLC, and 2 other machines be exclusively on their own network of which a >workgroup was set up. I'm not a network kind of guy, know enough to get >around but that's about it. > >So now I'm the SQL server person here. I'm new to it, learning it as I >go with a 5 day class under my belt. We have quite a few sql server >database servers doing various things, all of which I have taken >responsibility for. I connect to all of them using Enterprise Manager on >my machine. I cannot connect to the new SQL server that is on the VLAN. >I can ping the server, however using the IP address I cannot register >the server with my Enterprise Manager. > >Has anyone done this, or know how to do this? > >Rich From knicholson at gpsx.net Fri Aug 22 08:20:45 2003 From: knicholson at gpsx.net (Nicholson, Karen) Date: Fri, 22 Aug 2003 08:20:45 -0500 Subject: [dba-SQLServer]Transaction Log *Notification* Message-ID: Well all. I now have the Northwind Database, 97 and A2K converted to Visual Basic. Ha ha. It is a good day in America. I did not realize how often I use that database as a reference even after all of these years of Access experience. I think I will be on my way now. Question, however, am I wasting my time doing this in VB6 or should I be looking at VB.net? -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, August 21, 2003 5:22 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* On 21 Aug 2003 at 13:32, Nicholson, Karen wrote: > Well right now I am blaming some man, Mr. Gates as I struggle to find some > VB database that is just like Northwind so I can start programming stoopid > stuff in VB. Harrible as my kid would say. Isn't northwind in every other > product MS spews out - there is Northwind for SQL, Northwind for Access. > Just trying to figure out how to open up a form where blaaahhh equals blaaah > is impossible to find. > Try Northwind.mdb. :-( They use that one as the example for data interfacing with VB. They just don't have a VB equivalent to the Access FrontEnd for the data. :-( -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From MPorter at acsalaska.com Fri Aug 22 12:19:29 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Fri, 22 Aug 2003 09:19:29 -0800 Subject: [dba-SQLServer]Execute a DTS from Access -- Sample Code Message-ID: check www.sqldts.com for just about all you want to know about DTS. Mark -----Original Message----- From: Mark L. Breen [mailto:subs at solution-providers.ie] Sent: Thursday, August 21, 2003 2:19 AM To: dba-sqlserver at databaseadvisors.com Subject: Re: [dba-SQLServer]Execute a DTS from Access -- Sample Code Hello Susan, Have you executed script in DTS packages? I am aware since the first time I saw them that you can run some kind of VB script but I have never done it. I know that Martin was seeking the VB code to execute the package, but do you have script? I would love to see some just to get the basic syntax Martin, I am using DTS to import about 100 files per week and I find it reliable, just to let you know. Thanks Susan, Mark ----- Original Message ----- From: "Susan Geller" To: Cc: "Martin Reid" Sent: Wednesday, August 20, 2003 4:53 PM Subject: [dba-SQLServer]Execute a DTS from Access -- Sample Code > Here's the code that executes the DTS: > > > Dim objPackage2 As New DTS.Package > objPackage2.LoadFromSQLServer "MyServerNameHere", , , > DTSSQLStgFlag_UseTrustedConnection, , , , "MyDTSNameHere" > objPackage2.FailOnError = True > objPackage2.Execute > objPackage2.UnInitialize > Set objPackage2 = Nothing > > > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, August 20, 2003 10:43 AM > To: Susan Geller > Subject: Re: DTS > > > Both would save me a bucket of time. > > Many Thanks > > Martin > > > ----- Original Message ----- > From: "Susan Geller" > To: "Martin Reid" > Sent: Wednesday, August 20, 2003 3:58 PM > Subject: RE: DTS > > > Do you want the code I am using in Access that executes the DTS or do > you want the DTS? > > --Susan > > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, August 20, 2003 9:37 AM > To: Susan Geller > Subject: DTS > > > Susan > > Could I see your DTS script. I am about to do something very similar? > > Martin > > _______________________________________________ > 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 This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From artful at rogers.com Sun Aug 24 17:41:49 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 24 Aug 2003 18:41:49 -0400 Subject: [dba-SQLServer]SSWUG member? In-Reply-To: Message-ID: Is anyone a member of sswug? There's an article I need to read but I'm not a full member. If you are and are willing to assist, e me off-list. TIA, Arthur --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From andrew.haslett at ilc.gov.au Sun Aug 24 21:20:29 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Mon, 25 Aug 2003 11:50:29 +0930 Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Message-ID: Rich, assuming you are authenticating through mixed mode, then you shouldn't have to set up a trust. The fact that you cannot ping the server by its name means that there is no DNS server resolving its name that you can access, which as I understand it, means that Names Pipes cannot be used (not sure about that though). Therefore you must ensure TCP/IP is setup in the Server network utility (and the network card on the server) and the client network utility on your machine to create an ALIAS. Are you sure the SQL account you are trying to connect to on the server is availiable and it is running in mixed mode? Is it running in 'Single-User-Mode'? Can you connect to the server FROM the server itself using this account? Have you tried connecting to the server using the IP address AND the port number eg. 192.168.0.44:1433? Perhaps you can tell us what the TCP/IP settings are on your network card (such as IP address, subnet, dns, gateway) and of the network card on the server. (You can also type ipconfig /all at a command prompt to get this info). Definitely a puzzling one! Cheers, Andrew -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Friday, 22 August 2003 9:32 PM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup I checked the port which is ok. The server is not hidden. as far as the name of the machine, I cannot even ping the machine using the name, I must use the IP alone.. not sure if that is a result of it being on its own workgroup network and/or vlan... maybe that is a problem in itself... I'm stumped here.. I can connect to any and all other sql servers using only the IP address. These are all in the same domain so it wasn't much of a challenge.. Do I have to set up a trust between the domain and workgroup? In Mixed mode is that even possible, or do you have to build a Forest? Hoping someone may still have an idea!!! thanks, Rich -----Original Message----- From: Billy Pang [mailto:tuxedo_man at hotmail.com] Sent: Thursday, August 21, 2003 4:30 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup Also, make sure your client is using a port sql server is listening on. To determine which port sql server is listening on, on the host machine, run the Server Network Utility and double-click TCP/IP. HTH Billy >From: "Djabarov, Robert" >Reply-To: dba-sqlserver at databaseadvisors.com >To: >Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup >Date: Thu, 21 Aug 2003 11:26:40 -0500 > >Try to register it using its IP. If it works you can create an alias in >Client Network utility and re-register it using the alias. > >-----Original Message----- >From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] >Sent: Thursday, August 21, 2003 7:11 AM >To: 'dba-sqlserver at databaseadvisors.com' >Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup > > >Hello all, > >I have a situation.. > >Setup is Win2K desktop, Win2k SErvers (mix mode Active Directory), SQL >SErver 2000. > >The company I work for has a main office in Pittsburgh, and 2 >manufacturing plants (one in Port Allegany, PA, and one Sedalia, >Missouri). We are connected VIA a WAN. In our Port Plant, we are >implementing new technology to gather defect information from the plant >floor. This information will be held in a sql server database. The >software company recommends this system be separated by a VLAN which has >been set up and is working. They also recommend having this sql server, >PLC, and 2 other machines be exclusively on their own network of which a >workgroup was set up. I'm not a network kind of guy, know enough to get >around but that's about it. > >So now I'm the SQL server person here. I'm new to it, learning it as I >go with a 5 day class under my belt. We have quite a few sql server >database servers doing various things, all of which I have taken >responsibility for. I connect to all of them using Enterprise Manager on >my machine. I cannot connect to the new SQL server that is on the VLAN. >I can ping the server, however using the IP address I cannot register >the server with my Enterprise Manager. > >Has anyone done this, or know how to do this? > >Rich _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From andrew.haslett at ilc.gov.au Sun Aug 24 23:18:26 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Mon, 25 Aug 2003 13:48:26 +0930 Subject: [dba-SQLServer]Transaction Log *Notification* Message-ID: So Karen, Did you get the notification working correctly? Install the MAPI client etc?? Cheers, Andrew -----Original Message----- From: Nicholson, Karen [mailto:knicholson at gpsx.net] Sent: Friday, 22 August 2003 10:51 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* Well all. I now have the Northwind Database, 97 and A2K converted to Visual Basic. Ha ha. It is a good day in America. I did not realize how often I use that database as a reference even after all of these years of Access experience. I think I will be on my way now. Question, however, am I wasting my time doing this in VB6 or should I be looking at VB.net? -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, August 21, 2003 5:22 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* On 21 Aug 2003 at 13:32, Nicholson, Karen wrote: > Well right now I am blaming some man, Mr. Gates as I struggle to find some > VB database that is just like Northwind so I can start programming stoopid > stuff in VB. Harrible as my kid would say. Isn't northwind in every other > product MS spews out - there is Northwind for SQL, Northwind for Access. > Just trying to figure out how to open up a form where blaaahhh equals blaaah > is impossible to find. > Try Northwind.mdb. :-( They use that one as the example for data interfacing with VB. They just don't have a VB equivalent to the Access FrontEnd for the data. :-( -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ 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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From knicholson at gpsx.net Mon Aug 25 07:53:24 2003 From: knicholson at gpsx.net (Nicholson, Karen) Date: Mon, 25 Aug 2003 07:53:24 -0500 Subject: [dba-SQLServer]Transaction Log *Notification* Message-ID: Everything is going just swimmingly. I work with all guys (a great perk, get things done, no complaints, efficient, no moodiness) and they had to do the outlook server thing for me. On VB - wow, what a nice toy. I am having a great time. But questions are going through my mind like: am I wasting my time using VB6? Should I be upping to Vb.net? -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Monday, August 25, 2003 12:18 AM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]Transaction Log *Notification* So Karen, Did you get the notification working correctly? Install the MAPI client etc?? Cheers, Andrew -----Original Message----- From: Nicholson, Karen [mailto:knicholson at gpsx.net] Sent: Friday, 22 August 2003 10:51 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* Well all. I now have the Northwind Database, 97 and A2K converted to Visual Basic. Ha ha. It is a good day in America. I did not realize how often I use that database as a reference even after all of these years of Access experience. I think I will be on my way now. Question, however, am I wasting my time doing this in VB6 or should I be looking at VB.net? -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, August 21, 2003 5:22 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* On 21 Aug 2003 at 13:32, Nicholson, Karen wrote: > Well right now I am blaming some man, Mr. Gates as I struggle to find some > VB database that is just like Northwind so I can start programming stoopid > stuff in VB. Harrible as my kid would say. Isn't northwind in every other > product MS spews out - there is Northwind for SQL, Northwind for Access. > Just trying to figure out how to open up a form where blaaahhh equals blaaah > is impossible to find. > Try Northwind.mdb. :-( They use that one as the example for data interfacing with VB. They just don't have a VB equivalent to the Access FrontEnd for the data. :-( -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ 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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From Rich_Lavsa at pghcorning.com Mon Aug 25 08:14:15 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Mon, 25 Aug 2003 09:14:15 -0400 Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Message-ID: <833956F5C117124A89417638FDB11290EBCF4A@goexchange.pghcorning.com> Thank you everyone for your responses.. I am embarrassed to say that the IP address that was given to me from the network administrator was completely wrong. I've wasted almost 2 whole days in time trying to figure this out and now can connect fine without any troubles. I wanted to shove my foot so far up his you know what.... but I thought he made a simple mistake, one that maybe I should've checked on myself in the first place.. I digress.. and apologize if I wasted anyone's time.. thanks, rich -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Sunday, August 24, 2003 10:20 PM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup Rich, assuming you are authenticating through mixed mode, then you shouldn't have to set up a trust. The fact that you cannot ping the server by its name means that there is no DNS server resolving its name that you can access, which as I understand it, means that Names Pipes cannot be used (not sure about that though). Therefore you must ensure TCP/IP is setup in the Server network utility (and the network card on the server) and the client network utility on your machine to create an ALIAS. Are you sure the SQL account you are trying to connect to on the server is availiable and it is running in mixed mode? Is it running in 'Single-User-Mode'? Can you connect to the server FROM the server itself using this account? Have you tried connecting to the server using the IP address AND the port number eg. 192.168.0.44:1433? Perhaps you can tell us what the TCP/IP settings are on your network card (such as IP address, subnet, dns, gateway) and of the network card on the server. (You can also type ipconfig /all at a command prompt to get this info). Definitely a puzzling one! Cheers, Andrew From fhtapia at hotmail.com Mon Aug 25 11:10:39 2003 From: fhtapia at hotmail.com (Francisco H Tapia) Date: Mon, 25 Aug 2003 09:10:39 -0700 Subject: [dba-SQLServer]SSWUG member? In-Reply-To: References: Message-ID: <3F4A34FF.1090100@hotmail.com> Arthur Fuller wrote: >Is anyone a member of sswug? There's an article I need to read but I'm not a >full member. If you are and are willing to assist, e me off-list. > I'm a registered member but not a full member there... which article is it? From Mwp.Reid at Queens-Belfast.AC.UK Mon Aug 25 11:30:15 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Mon, 25 Aug 2003 17:30:15 +0100 (BST) Subject: [dba-SQLServer]ADO FInd and SQL Server In-Reply-To: <3F4A34FF.1090100@hotmail.com> References: <3F4A34FF.1090100@hotmail.com> Message-ID: <1061829015.3f4a399777ecd@hosea.qub.ac.uk> We need to pass multipe values to FInd or Filter in ADO. Any ideas? rstBuilding.Open ("select * from tblBuilding"), cnn, adOpenKeyset, adLockPessimistic rstBuilding.Filter "fldClusterID = " & Val(Nz(txtClusterID)) & " AND fldBuildingNumber = '" _ & Nz(txtBuildingNumber) & "'" Martin From ebarro at afsweb.com Mon Aug 25 11:39:16 2003 From: ebarro at afsweb.com (Eric Barro) Date: Mon, 25 Aug 2003 09:39:16 -0700 Subject: [dba-SQLServer]ADO FInd and SQL Server In-Reply-To: <1061829015.3f4a399777ecd@hosea.qub.ac.uk> Message-ID: Try this... strSQL = "SELECT * FROM tblBuilding WHERE fldClusterID = " & Val(Nz(txtClusterID) & " AND fldBuildingNumber = '" & Nz(txtBuildingNumber) & "'" rstBuilding.Open strSQL, cnn, adOpenKeyset, adLockPessimistic --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Monday, August 25, 2003 9:30 AM To: dba-sqlserver at databaseadvisors.com Subject: [dba-SQLServer]ADO FInd and SQL Server We need to pass multipe values to FInd or Filter in ADO. Any ideas? rstBuilding.Open ("select * from tblBuilding"), cnn, adOpenKeyset, adLockPessimistic rstBuilding.Filter "fldClusterID = " & Val(Nz(txtClusterID)) & " AND fldBuildingNumber = '" _ & Nz(txtBuildingNumber) & "'" Martin _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 From my.lists at verizon.net Mon Aug 25 12:03:35 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon, 25 Aug 2003 10:03:35 -0700 Subject: [dba-SQLServer]ADO FInd and SQL Server In-Reply-To: References: Message-ID: <3F4A4167.7020308@verizon.net> If this is SQL Server I'd modify this to be a stored procedure then just use the command object Set CMD = New ADODB.Command With CMD .ActiveConnection = Cnn .CommandType = adCmdStoredProc .CommandText = "stp_MySproc" .Parameters.Append .CreateParameter("@ClusterID", adInteger, adParamInput, , Me.txtBuildingNumber) SET RS = .Execute .ActiveConnection = Nothing End With Eric Barro wrote: >Try this... > >strSQL = "SELECT * FROM tblBuilding WHERE fldClusterID = " & Val(Nz(txtClusterID) & " AND fldBuildingNumber = '" & Nz(txtBuildingNumber) & "'" > >rstBuilding.Open strSQL, cnn, adOpenKeyset, adLockPessimistic > >--- > >-----Original Message----- >From: dba-sqlserver-bounces at databaseadvisors.com >[mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of >Mwp.Reid at Queens-Belfast.AC.UK >Sent: Monday, August 25, 2003 9:30 AM >To: dba-sqlserver at databaseadvisors.com >Subject: [dba-SQLServer]ADO FInd and SQL Server > > >We need to pass multipe values to FInd or Filter in ADO. > >Any ideas? > > rstBuilding.Open ("select * from tblBuilding"), cnn, adOpenKeyset, >adLockPessimistic > > rstBuilding.Filter "fldClusterID = " & Val(Nz(txtClusterID)) & " AND >fldBuildingNumber = '" _ > & Nz(txtBuildingNumber) & "'" > > > > From artful at rogers.com Mon Aug 25 14:17:00 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon, 25 Aug 2003 15:17:00 -0400 Subject: [dba-SQLServer]ADO FInd and SQL Server In-Reply-To: <1061829015.3f4a399777ecd@hosea.qub.ac.uk> Message-ID: My fave approach to this is not to write it this way, simply because it's so hard to parse (for a human). I prefer this style: rstBuilding.Filter "fldClusterID = \\txtClusterID\\ AND fldBuildingNumber = \\txtBuildingNumber\\" Given such a string, it's trivial to call Replace() once for each text marker. Given an additional function that I call q(), which is a one-liner that adds single quotes before and after a given value, then the problem reduces to something quite trivial. strSQL = SELECT * FROM somewhere WHERE thisPK = \\myValue1\\ AND thisOtherPK = \\myValue2 AND so on. strSQL = Replace(strSQL, "\\myValue1\\", 123) strSQL = Replace(strSQL, "\\myValue2\\", q(CustomerID) and so on... Just my opinion. Could simply be that at my advanced age I have difficulty reading all those ampersands and form references :-) Arthur -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Mwp.Reid at Queens-Belfast.AC.UK Sent: Monday, August 25, 2003 12:30 PM To: dba-sqlserver at databaseadvisors.com Subject: [dba-SQLServer]ADO FInd and SQL Server We need to pass multipe values to FInd or Filter in ADO. Any ideas? rstBuilding.Open ("select * from tblBuilding"), cnn, adOpenKeyset, adLockPessimistic rstBuilding.Filter "fldClusterID = " & Val(Nz(txtClusterID)) & " AND fldBuildingNumber = '" _ & Nz(txtBuildingNumber) & "'" Martin --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From andrew.haslett at ilc.gov.au Mon Aug 25 17:41:20 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Tue, 26 Aug 2003 08:11:20 +0930 Subject: [dba-SQLServer]SQL server on VLAN, in own workgroup Message-ID: No probs. Not your fault. Main thing is that you've got it working. Cheers, Andrew -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Monday, 25 August 2003 10:44 PM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup Thank you everyone for your responses.. I am embarrassed to say that the IP address that was given to me from the network administrator was completely wrong. I've wasted almost 2 whole days in time trying to figure this out and now can connect fine without any troubles. I wanted to shove my foot so far up his you know what.... but I thought he made a simple mistake, one that maybe I should've checked on myself in the first place.. I digress.. and apologize if I wasted anyone's time.. thanks, rich -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Sunday, August 24, 2003 10:20 PM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]SQL server on VLAN, in own workgroup Rich, assuming you are authenticating through mixed mode, then you shouldn't have to set up a trust. The fact that you cannot ping the server by its name means that there is no DNS server resolving its name that you can access, which as I understand it, means that Names Pipes cannot be used (not sure about that though). Therefore you must ensure TCP/IP is setup in the Server network utility (and the network card on the server) and the client network utility on your machine to create an ALIAS. Are you sure the SQL account you are trying to connect to on the server is availiable and it is running in mixed mode? Is it running in 'Single-User-Mode'? Can you connect to the server FROM the server itself using this account? Have you tried connecting to the server using the IP address AND the port number eg. 192.168.0.44:1433? Perhaps you can tell us what the TCP/IP settings are on your network card (such as IP address, subnet, dns, gateway) and of the network card on the server. (You can also type ipconfig /all at a command prompt to get this info). Definitely a puzzling one! Cheers, Andrew _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From andrew.haslett at ilc.gov.au Mon Aug 25 17:44:25 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Tue, 26 Aug 2003 08:14:25 +0930 Subject: [dba-SQLServer]OT: VB/VB.Net WAS Transaction Log *Notificati on* Message-ID: They're pretty different. Language is different, syntax is different, methodology is different etc. Depends what you need it for, how much time you have/are willing to learn, what direction you're taking in the future.. Some great new features in the .Net framework but may be overkill for what you're doing?? Good luck! Andrew -----Original Message----- From: Nicholson, Karen [mailto:knicholson at gpsx.net] Sent: Monday, 25 August 2003 10:23 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* Everything is going just swimmingly. I work with all guys (a great perk, get things done, no complaints, efficient, no moodiness) and they had to do the outlook server thing for me. On VB - wow, what a nice toy. I am having a great time. But questions are going through my mind like: am I wasting my time using VB6? Should I be upping to Vb.net? -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Monday, August 25, 2003 12:18 AM To: 'dba-sqlserver at databaseadvisors.com' Subject: RE: [dba-SQLServer]Transaction Log *Notification* So Karen, Did you get the notification working correctly? Install the MAPI client etc?? Cheers, Andrew -----Original Message----- From: Nicholson, Karen [mailto:knicholson at gpsx.net] Sent: Friday, 22 August 2003 10:51 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* Well all. I now have the Northwind Database, 97 and A2K converted to Visual Basic. Ha ha. It is a good day in America. I did not realize how often I use that database as a reference even after all of these years of Access experience. I think I will be on my way now. Question, however, am I wasting my time doing this in VB6 or should I be looking at VB.net? -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, August 21, 2003 5:22 PM To: dba-sqlserver at databaseadvisors.com Subject: RE: [dba-SQLServer]Transaction Log *Notification* On 21 Aug 2003 at 13:32, Nicholson, Karen wrote: > Well right now I am blaming some man, Mr. Gates as I struggle to find some > VB database that is just like Northwind so I can start programming stoopid > stuff in VB. Harrible as my kid would say. Isn't northwind in every other > product MS spews out - there is Northwind for SQL, Northwind for Access. > Just trying to figure out how to open up a form where blaaahhh equals blaaah > is impossible to find. > Try Northwind.mdb. :-( They use that one as the example for data interfacing with VB. They just don't have a VB equivalent to the Access FrontEnd for the data. :-( -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ 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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From subs at solution-providers.ie Tue Aug 26 07:22:04 2003 From: subs at solution-providers.ie (Mark L. Breen) Date: Tue, 26 Aug 2003 13:22:04 +0100 Subject: [dba-SQLServer]Execute a DTS from Access -- Sample Code References: Message-ID: <007d01c36bcc$b08013f0$026da8c0@D8TZHN0J> Hello Susan, Yes I was referring to the script that happens within the DTS packages, but it is not so urgent for me. If was just curious whether people on the list ever do some kind of processing on a row by row basis. However, I will take a look at Mark Porters link, Thanks anyway, regards Mark ----- Original Message ----- From: "Susan Geller" To: Sent: Thursday, August 21, 2003 3:09 PM Subject: RE: [dba-SQLServer]Execute a DTS from Access -- Sample Code > Mark, > > Not sure what you are referring to. What I pasted below is the code in > Access. I have seen, although have not written, Active X scripts to > make DTS's more dynamic and make use of parameters. I have some samples > of that. I know you can save a DTS as a VB script because I just did > that for Martin yesterday. I could post what that looks like here, but > you could do that yourself with any of your DTSs to see what it looks > like. I'm not sure if any of this is answering your question. > > --Susan > > -----Original Message----- > From: Mark L. Breen [mailto:subs at solution-providers.ie] > Sent: Thursday, August 21, 2003 5:19 AM > To: dba-sqlserver at databaseadvisors.com > Subject: Re: [dba-SQLServer]Execute a DTS from Access -- Sample Code > > > Hello Susan, > > Have you executed script in DTS packages? > > I am aware since the first time I saw them that you can run some kind of > VB script but I have never done it. > > I know that Martin was seeking the VB code to execute the package, but > do you have script? I would love to see some just to get the basic > syntax > > Martin, I am using DTS to import about 100 files per week and I find it > reliable, just to let you know. > > Thanks Susan, > > Mark > > > ----- Original Message ----- > From: "Susan Geller" > To: > Cc: "Martin Reid" > Sent: Wednesday, August 20, 2003 4:53 PM > Subject: [dba-SQLServer]Execute a DTS from Access -- Sample Code > > > > Here's the code that executes the DTS: > > > > > > Dim objPackage2 As New DTS.Package > > objPackage2.LoadFromSQLServer "MyServerNameHere", , , > > DTSSQLStgFlag_UseTrustedConnection, , , , "MyDTSNameHere" > > objPackage2.FailOnError = True > > objPackage2.Execute > > objPackage2.UnInitialize > > Set objPackage2 = Nothing > > > > > > > > -----Original Message----- > > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > > Sent: Wednesday, August 20, 2003 10:43 AM > > To: Susan Geller > > Subject: Re: DTS > > > > > > Both would save me a bucket of time. > > > > Many Thanks > > > > Martin > > > > > > ----- Original Message ----- > > From: "Susan Geller" > > To: "Martin Reid" > > Sent: Wednesday, August 20, 2003 3:58 PM > > Subject: RE: DTS > > > > > > Do you want the code I am using in Access that executes the DTS or do > > you want the DTS? > > > > --Susan > > > > > > -----Original Message----- > > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > > Sent: Wednesday, August 20, 2003 9:37 AM > > To: Susan Geller > > Subject: DTS > > > > > > Susan > > > > Could I see your DTS script. I am about to do something very similar? > > > > Martin > > > > _______________________________________________ > > 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 knicholson at gpsx.net Tue Aug 26 08:44:18 2003 From: knicholson at gpsx.net (Nicholson, Karen) Date: Tue, 26 Aug 2003 08:44:18 -0500 Subject: [dba-SQLServer]CRYSTL32.OCX HE** Message-ID: OK, I give up. This is enough to drive one to drink. What is up with registering this ocx? I can see from google that I am not the only one that can not register this without a multitude of problems, but do not see a solution. I have downloaded all VB service packs and still it freaks. Any ideas? It is telling me it can not find crpe32.dll. From paul.hartland at fsmail.net Wed Aug 27 04:23:47 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 27 Aug 2003 11:23:47 +0200 (CEST) Subject: [dba-SQLServer] Message-ID: <1624266.1061976227558.JavaMail.www@wwinf3009.me-wanadoo.net> To all, I have a access query which will contain a range of dates and a shift number (1,2,3), which will normally have data similar to the following: Date Shift Quantity 26/08/03 1 34 26/08/03 1 32 26/08/03 2 12 26/08/03 3 56 26/08/03 3 43 I need to export this query out to Excel but stop after each shift number finishes and add sub-totals into the Excel sheet like so : Date Shift Quantity 26/08/03 1 34 26/08/03 1 32 Sub-Total Qty 66 26/08/03 2 12 Sub-Total Qty 12 26/08/03 3 56 26/08/03 3 43 Sub-Total Qty 99 Anyone know a way that this can be achieved........ Thanks in advance for any help..... Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.hartland at fsmail.net Wed Aug 27 04:23:47 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 27 Aug 2003 11:23:47 +0200 (CEST) Subject: [dba-SQLServer][AccessD] Message-ID: <1624266.1061976227558.JavaMail.www@wwinf3009.me-wanadoo.net> To all, I have a access query which will contain a range of dates and a shift number (1,2,3), which will normally have data similar to the following: Date Shift Quantity 26/08/03 1 34 26/08/03 1 32 26/08/03 2 12 26/08/03 3 56 26/08/03 3 43 I need to export this query out to Excel but stop after each shift number finishes and add sub-totals into the Excel sheet like so : Date Shift Quantity 26/08/03 1 34 26/08/03 1 32 Sub-Total Qty 66 26/08/03 2 12 Sub-Total Qty 12 26/08/03 3 56 26/08/03 3 43 Sub-Total Qty 99 Anyone know a way that this can be achieved........ Thanks in advance for any help..... Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From my.lists at verizon.net Fri Aug 29 14:44:25 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Fri, 29 Aug 2003 12:44:25 -0700 Subject: [dba-SQLServer]something about temp tables... Message-ID: <3F4FAD19.1060700@verizon.net> I have the following similar statement in a tsql procedure that errors out telling me that there already is a #tmp object in the database... if I read the TSQL correctly, the #TMP does not acctually get created on the ELSE statement if the 1=1 statement is true. So why the error? Thanks in advance.... IF 1= 1 BEGIN IF EXISTS (SELECT * FROM tempdb.dbo.sysobjects WHERE ID = OBJECT_ID(N'tempdb..#tmp')) BEGIN DROP TABLE #tmp END CREATE TABLE #tmp(tID INT IDENTITY (1,1) NOT NULL,Hcode VARCHAR(50)) END ELSE BEGIN IF EXISTS (SELECT * FROM tempdb.dbo.sysobjects WHERE ID = OBJECT_ID(N'tempdb..#tmp')) BEGIN DROP TABLE #tmp END CREATE TABLE #tmp(tID INT IDENTITY (1,1) NOT NULL,Hcode VARCHAR(50)) END -- -Francisco From Robert.Djabarov at usaa.com Fri Aug 29 15:55:44 2003 From: Robert.Djabarov at usaa.com (Djabarov, Robert) Date: Fri, 29 Aug 2003 15:55:44 -0500 Subject: [dba-SQLServer]something about temp tables... Message-ID: <3CCEA32DFF043C4CB99B835557E11B30595CFB@ex02.eagle.usaa.com> There is no need to check for existence of a temp table unless it's global (##tmp). Nor there is a need to DROP temp tables because they do get destroyed upon implicit or explicit RETURN from a stored procedure, or upon closing of the connection that created them (like QA session). The reason you're getting an error is because the optimizer is validating every referenced object. It does not do it in accordance with procedural logic, following IF's and ELSE's. -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Francisco H Tapia Sent: Friday, August 29, 2003 2:44 PM To: dba-SQLServer at databaseadvisors.com; SQL Server 2k List Subject: [dba-SQLServer]something about temp tables... I have the following similar statement in a tsql procedure that errors out telling me that there already is a #tmp object in the database... if I read the TSQL correctly, the #TMP does not acctually get created on the ELSE statement if the 1=1 statement is true. So why the error? Thanks in advance.... IF 1= 1 BEGIN IF EXISTS (SELECT * FROM tempdb.dbo.sysobjects WHERE ID = OBJECT_ID(N'tempdb..#tmp')) BEGIN DROP TABLE #tmp END CREATE TABLE #tmp(tID INT IDENTITY (1,1) NOT NULL,Hcode VARCHAR(50)) END ELSE BEGIN IF EXISTS (SELECT * FROM tempdb.dbo.sysobjects WHERE ID = OBJECT_ID(N'tempdb..#tmp')) BEGIN DROP TABLE #tmp END CREATE TABLE #tmp(tID INT IDENTITY (1,1) NOT NULL,Hcode VARCHAR(50)) END -- -Francisco _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From my.lists at verizon.net Fri Aug 29 16:06:43 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Fri, 29 Aug 2003 14:06:43 -0700 Subject: [dba-SQLServer]something about temp tables... In-Reply-To: <3CCEA32DFF043C4CB99B835557E11B30595CFB@ex02.eagle.usaa.com> References: <3CCEA32DFF043C4CB99B835557E11B30595CFB@ex02.eagle.usaa.com> Message-ID: <3F4FC063.7040207@verizon.net> Thanks Robert... I found a possible workaround :( tho not what I wanted... http://support.microsoft.com/default.aspx?scid=kb;en-us;295305 only reason I check for the existance of #temp tables is in case I ever plan to nest the procedure and I end up using the same #name... thus the check.. tho that will problably bring on a whole new set of problems :) -- -Francisco Djabarov, Robert wrote: > There is no need to check for existence of a temp table unless it's > global (##tmp). Nor there is a need to DROP temp tables because they do > get destroyed upon implicit or explicit RETURN from a stored procedure, > or upon closing of the connection that created them (like QA session). > The reason you're getting an error is because the optimizer is > validating every referenced object. It does not do it in accordance > with procedural logic, following IF's and ELSE's. > > -----Original Message----- > From: dba-sqlserver-bounces at databaseadvisors.com > [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of > Francisco H Tapia > Sent: Friday, August 29, 2003 2:44 PM > To: dba-SQLServer at databaseadvisors.com; SQL Server 2k List > Subject: [dba-SQLServer]something about temp tables... > > > I have the following similar statement in a tsql procedure that errors > out telling me that there already is a #tmp object in the database... if > > I read the TSQL correctly, the #TMP does not acctually get created on > the ELSE statement if the 1=1 statement is true. So why the error? > Thanks in advance.... > > IF 1= 1 BEGIN > IF EXISTS (SELECT * FROM tempdb.dbo.sysobjects WHERE ID = > OBJECT_ID(N'tempdb..#tmp')) BEGIN > DROP TABLE #tmp > END > > CREATE TABLE #tmp(tID INT IDENTITY (1,1) NOT NULL,Hcode > VARCHAR(50)) > END > ELSE BEGIN > IF EXISTS (SELECT * FROM tempdb.dbo.sysobjects WHERE ID = > OBJECT_ID(N'tempdb..#tmp')) BEGIN > DROP TABLE #tmp > END > CREATE TABLE #tmp(tID INT IDENTITY (1,1) NOT NULL,Hcode > VARCHAR(50)) END > > > From jcolby at colbyconsulting.com Sat Aug 30 21:25:17 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 30 Aug 2003 22:25:17 -0400 Subject: [dba-SQLServer]Moving SQL Server db Message-ID: I need to move my SQL Server databases from SQL Server running on my server to SQL Server running on my desktop. Is there an easy procedure for doing this? John W. Colby www.colbyconsulting.com From jcolby at colbyconsulting.com Sat Aug 30 21:25:17 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 30 Aug 2003 22:25:17 -0400 Subject: [dba-SQLServer][AccessD] Moving SQL Server db Message-ID: I need to move my SQL Server databases from SQL Server running on my server to SQL Server running on my desktop. Is there an easy procedure for doing this? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chris at denverdb.com Sat Aug 30 21:34:17 2003 From: chris at denverdb.com (Chris Mackin) Date: Sat, 30 Aug 2003 20:34:17 -0600 Subject: [dba-SQLServer][AccessD] Moving SQL Server db In-Reply-To: <1062297111.21162@server86.switchfast.com> Message-ID: <1062297419.30507@server86.switchfast.com> You can either look into the sp_attach and sp_detach procedures or simply back up the databse on the server running it and restore the backup on the other sql server. Either way is quite simple and effective. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, August 30, 2003 8:25 PM To: SQLServer; AccessD Subject: [dba-SQLServer][AccessD] Moving SQL Server db I need to move my SQL Server databases from SQL Server running on my server to SQL Server running on my desktop. Is there an easy procedure for doing this? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: 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 chris at denverdb.com Sat Aug 30 21:34:17 2003 From: chris at denverdb.com (Chris Mackin) Date: Sat, 30 Aug 2003 20:34:17 -0600 Subject: [dba-SQLServer][AccessD] Moving SQL Server db In-Reply-To: <1062297111.21162@server86.switchfast.com> Message-ID: <1062297419.30507@server86.switchfast.com> You can either look into the sp_attach and sp_detach procedures or simply back up the databse on the server running it and restore the backup on the other sql server. Either way is quite simple and effective. Chris Mackin Denver Database Consulting, LLC www.denverdb.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, August 30, 2003 8:25 PM To: SQLServer; AccessD Subject: [dba-SQLServer][AccessD] Moving SQL Server db I need to move my SQL Server databases from SQL Server running on my server to SQL Server running on my desktop. Is there an easy procedure for doing this? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebarro at afsweb.com Sun Aug 31 01:10:28 2003 From: ebarro at afsweb.com (Eric Barro) Date: Sat, 30 Aug 2003 23:10:28 -0700 Subject: [dba-SQLServer]Moving SQL Server db In-Reply-To: Message-ID: John, Backup the DB and then restore to the other machine. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, August 30, 2003 7:25 PM To: SQLServer; AccessD Subject: [dba-SQLServer]Moving SQL Server db I need to move my SQL Server databases from SQL Server running on my server to SQL Server running on my desktop. Is there an easy procedure for doing this? John W. Colby www.colbyconsulting.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003 From tuxedo_man at hotmail.com Sun Aug 31 14:35:12 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Sun, 31 Aug 2003 19:35:12 +0000 Subject: [dba-SQLServer]Moving SQL Server db Message-ID: Or detach/reattach. >From: "Eric Barro" >Reply-To: dba-sqlserver at databaseadvisors.com >To: >Subject: RE: [dba-SQLServer]Moving SQL Server db >Date: Sat, 30 Aug 2003 23:10:28 -0700 > >John, > >Backup the DB and then restore to the other machine. > >--- >Eric Barro >Senior Systems Analyst >Advanced Field Services >(208) 772-7060 >http://www.afsweb.com > >-----Original Message----- >From: dba-sqlserver-bounces at databaseadvisors.com >[mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of John >Colby >Sent: Saturday, August 30, 2003 7:25 PM >To: SQLServer; AccessD >Subject: [dba-SQLServer]Moving SQL Server db > > >I need to move my SQL Server databases from SQL Server running on my server >to SQL Server running on my desktop. Is there an easy procedure for doing >this? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > > > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003 > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003 > > >_______________________________________________ >dba-SQLServer mailing list >dba-SQLServer at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >http://www.databaseadvisors.com > _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus