From andrew.haslett at ilc.gov.au Mon Aug 1 02:36:01 2005
From: andrew.haslett at ilc.gov.au (Haslett, Andrew)
Date: Mon, 1 Aug 2005 17:06:01 +0930
Subject: [dba-SQLServer] FOR XML EXPLICIT
Message-ID: <0A870603A2A816459078203FC07F4CD22122B9@adl01s055.ilcorp.gov.au>
Hey all.
I need to output a query in a given XML format and I figure I'd have a
stab using the FOR XML clause of SQL 2000 first rather than in code.
I've worked out the basics using the FOR XML EXPLICIT clause and am able
to output a structure such as this:
Prop1
35
Prop2
55
....
However I haven't worked out how to add 'empty' surrounding tags (I
think they may be called 'associations' in XML speak), so the schema
would become:
(note the addition of the and tags)
Prop1
35
Prop2
55
....
(apologies if the formatting doesn't stick)
Any ideas? Anyone familiar with using XML in SS?
For reference, my actual current query is below - I figured the above
example was easier to use.
SELECT
1 as Tag,
NULL as Parent,
c.textstate as [state!1!idstate],
null as [property!2!name!element],
null as [property!2!areaHA!element],
null as [property!2!dateGranted!element],
null as
[property!2!titleHoldingBody!element],
null as [property!2!idproperty]
FROM
dbo.tblStates c
Where
c.IDState<>0
union all
SELECT
2,
1,
b.textstate,
a.ShortLandName,
a.area,
a.GrantDate,
a.THBName,
a.IDProperty
FROM
dbo.tblStates b, dbo.vw_LandPurchases_WebsiteExport_Prop a
where
a.IDState = b.IDState
Order By
[state!1!idstate],[property!2!idproperty]
for xml explicit
Cheers,
Andrew
IMPORTANT - PLEASE READ *** This email any 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 Mark.Whittinghill at protective.com Mon Aug 1 10:02:24 2005
From: Mark.Whittinghill at protective.com (Mark.Whittinghill at protective.com)
Date: Mon, 1 Aug 2005 10:02:24 -0500
Subject: [dba-SQLServer] Book recommendations
In-Reply-To:
Message-ID:
Thanks for the recommendations.
Here's a site that our network admin uses for online learning.
www.mindleaders.com
It seems to be focused on certifications, but I'll toss it out in case
someone finds it useful.
Mark
-----------------------------------------
Confidentiality Notice: This e-mail communication and any attachments may
contain confidential and privileged information for the use of the
designated recipients named above. If you are not the intended recipient,
you are hereby notified that you have received this communication in error
and that any review, disclosure, dissemination, distribution or copying of
it or its contents is prohibited. If you have received this communication
in error, please notify me immediately by replying to this message and
deleting it from your computer. Thank you.
From cfoust at infostatsystems.com Mon Aug 1 11:22:22 2005
From: cfoust at infostatsystems.com (Charlotte Foust)
Date: Mon, 1 Aug 2005 09:22:22 -0700
Subject: [dba-SQLServer] FOR XML EXPLICIT
Message-ID:
I don't see what purpose is served by the states and properties
entities. Why do you need them at all?
Charlotte Foust
-----Original Message-----
From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au]
Sent: Monday, August 01, 2005 12:36 AM
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] FOR XML EXPLICIT
Hey all.
I need to output a query in a given XML format and I figure I'd have a
stab using the FOR XML clause of SQL 2000 first rather than in code.
I've worked out the basics using the FOR XML EXPLICIT clause and am able
to output a structure such as this:
Prop1
35
Prop2
55
....
However I haven't worked out how to add 'empty' surrounding tags (I
think they may be called 'associations' in XML speak), so the schema
would become:
(note the addition of the and tags)
Prop1
35
Prop2
55
....
(apologies if the formatting doesn't stick)
Any ideas? Anyone familiar with using XML in SS?
For reference, my actual current query is below - I figured the above
example was easier to use.
SELECT
1 as Tag,
NULL as Parent,
c.textstate as [state!1!idstate],
null as [property!2!name!element],
null as [property!2!areaHA!element],
null as [property!2!dateGranted!element],
null as
[property!2!titleHoldingBody!element],
null as [property!2!idproperty]
FROM
dbo.tblStates c
Where
c.IDState<>0
union all
SELECT
2,
1,
b.textstate,
a.ShortLandName,
a.area,
a.GrantDate,
a.THBName,
a.IDProperty
FROM
dbo.tblStates b, dbo.vw_LandPurchases_WebsiteExport_Prop a where
a.IDState = b.IDState
Order By
[state!1!idstate],[property!2!idproperty]
for xml explicit
Cheers,
Andrew
IMPORTANT - PLEASE READ *** This email any 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 ssharkins at bellsouth.net Mon Aug 1 16:39:00 2005
From: ssharkins at bellsouth.net (Susan Harkins)
Date: Mon, 1 Aug 2005 17:39:00 -0400
Subject: [dba-SQLServer] 2005 -- the demise of system tables
Message-ID: <20050801214008.OEOC19628.ibm56aec.bellsouth.net@SUSANONE>
Is this going to matter to any of you?
Susan H.
From jwcolby at colbyconsulting.com Mon Aug 1 17:13:21 2005
From: jwcolby at colbyconsulting.com (John W. Colby)
Date: Mon, 01 Aug 2005 18:13:21 -0400
Subject: [dba-SQLServer] 2005 -- the demise of system tables
In-Reply-To: <20050801214008.OEOC19628.ibm56aec.bellsouth.net@SUSANONE>
Message-ID: <001101c596e6$3d5b3840$6c7aa8c0@ColbyM6805>
LOL, only if you want to be able to populate combos with lists of forms,
reports etc. All that can be done quite easily using data in one of the
system tables.
John W. Colby
www.ColbyConsulting.com
Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan
Harkins
Sent: Monday, August 01, 2005 5:39 PM
To: SQLList
Subject: [dba-SQLServer] 2005 -- the demise of system tables
Is this going to matter to any of you?
Susan H.
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
From stuart at lexacorp.com.pg Mon Aug 1 17:22:43 2005
From: stuart at lexacorp.com.pg (Stuart McLachlan)
Date: Tue, 02 Aug 2005 08:22:43 +1000
Subject: [dba-SQLServer] 2005 -- the demise of system tables
In-Reply-To: <001101c596e6$3d5b3840$6c7aa8c0@ColbyM6805>
References: <20050801214008.OEOC19628.ibm56aec.bellsouth.net@SUSANONE>
Message-ID: <42EF2D53.17253.9B19595@stuart.lexacorp.com.pg>
On 1 Aug 2005 at 18:13, John W. Colby wrote:
> LOL, only if you want to be able to populate combos with lists of forms,
> reports etc. All that can be done quite easily using data in one of the
> system tables.
>
List of forms,reports from SQL-Server System tables?
--
Stuart
From tuxedo_man at hotmail.com Mon Aug 1 18:02:47 2005
From: tuxedo_man at hotmail.com (Billy Pang)
Date: Mon, 01 Aug 2005 23:02:47 +0000
Subject: [dba-SQLServer] 2005 -- the demise of system tables
In-Reply-To: <20050801214008.OEOC19628.ibm56aec.bellsouth.net@SUSANONE>
Message-ID:
I haven't used ss 2005 yet but what do you mean "demise" of system tables?
Can no longer query them or can no longer edit them directly?
In ss2k, I query the system tables occasionally but never ever modify them
directly (with the exception of the dtproperties table but not sure if the
dtproperties table really qualifies as a system table). If I want
information about objects, I first query the information-schema views;
anything I can't get from those views I get it myself by querying the system
tables directly.
Billy
>From: "Susan Harkins"
>Reply-To: dba-sqlserver at databaseadvisors.com
>To: "SQLList"
>Subject: [dba-SQLServer] 2005 -- the demise of system tables
>Date: Mon, 1 Aug 2005 17:39:00 -0400
>
>Is this going to matter to any of you?
>
>Susan H.
>
>_______________________________________________
>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 Mon Aug 1 18:33:11 2005
From: andrew.haslett at ilc.gov.au (Haslett, Andrew)
Date: Tue, 2 Aug 2005 09:03:11 +0930
Subject: [dba-SQLServer] FOR XML EXPLICIT
Message-ID: <0A870603A2A816459078203FC07F4CD22122BC@adl01s055.ilcorp.gov.au>
Data needs to go to an external party who have existing automated
process requiring data in this format.
I'm currently in contact with them to see if this can be changed.
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of
Charlotte Foust
Sent: Tuesday, 2 August 2005 1:52 AM
To: dba-sqlserver at databaseadvisors.com
Subject: RE: [dba-SQLServer] FOR XML EXPLICIT
I don't see what purpose is served by the states and properties
entities. Why do you need them at all?
Charlotte Foust
-----Original Message-----
From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au]
Sent: Monday, August 01, 2005 12:36 AM
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] FOR XML EXPLICIT
Hey all.
I need to output a query in a given XML format and I figure I'd have a
stab using the FOR XML clause of SQL 2000 first rather than in code.
I've worked out the basics using the FOR XML EXPLICIT clause and am able
to output a structure such as this:
Prop1
35
Prop2
55
....
However I haven't worked out how to add 'empty' surrounding tags (I
think they may be called 'associations' in XML speak), so the schema
would become:
(note the addition of the and tags)
Prop1
35
Prop2
55
....
(apologies if the formatting doesn't stick)
Any ideas? Anyone familiar with using XML in SS?
For reference, my actual current query is below - I figured the above
example was easier to use.
SELECT
1 as Tag,
NULL as Parent,
c.textstate as [state!1!idstate],
null as [property!2!name!element],
null as [property!2!areaHA!element],
null as [property!2!dateGranted!element],
null as
[property!2!titleHoldingBody!element],
null as [property!2!idproperty]
FROM
dbo.tblStates c
Where
c.IDState<>0
union all
SELECT
2,
1,
b.textstate,
a.ShortLandName,
a.area,
a.GrantDate,
a.THBName,
a.IDProperty
FROM
dbo.tblStates b, dbo.vw_LandPurchases_WebsiteExport_Prop a where
a.IDState = b.IDState
Order By
[state!1!idstate],[property!2!idproperty]
for xml explicit
Cheers,
Andrew
IMPORTANT - PLEASE READ *** This email any 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 any 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 jwcolby at colbyconsulting.com Mon Aug 1 18:36:59 2005
From: jwcolby at colbyconsulting.com (John W. Colby)
Date: Mon, 01 Aug 2005 19:36:59 -0400
Subject: [dba-SQLServer] 2005 -- the demise of system tables
In-Reply-To: <42EF2D53.17253.9B19595@stuart.lexacorp.com.pg>
Message-ID: <001401c596f1$e9318ab0$6c7aa8c0@ColbyM6805>
Oooops sorry, I thought this was in the AccessD forum.
John W. Colby
www.ColbyConsulting.com
Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Stuart
McLachlan
Sent: Monday, August 01, 2005 6:23 PM
To: dba-sqlserver at databaseadvisors.com
Subject: RE: [dba-SQLServer] 2005 -- the demise of system tables
On 1 Aug 2005 at 18:13, John W. Colby wrote:
> LOL, only if you want to be able to populate combos with lists of
> forms, reports etc. All that can be done quite easily using data in
> one of the system tables.
>
List of forms,reports from SQL-Server System tables?
--
Stuart
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
From ssharkins at bellsouth.net Mon Aug 1 20:19:52 2005
From: ssharkins at bellsouth.net (Susan Harkins)
Date: Mon, 1 Aug 2005 21:19:52 -0400
Subject: [dba-SQLServer] 2005 -- the demise of system tables
In-Reply-To:
Message-ID: <20050802011952.KECG12809.ibm62aec.bellsouth.net@SUSANONE>
Whatever works in 2000 should work in 2005, but they've changed the internal
structure -- that may not be true in the next upgrade. It's one of those
"...start doing it the new way now because later..." kind of deals I think.
Susan H.
I haven't used ss 2005 yet but what do you mean "demise" of system tables?
Can no longer query them or can no longer edit them directly?
In ss2k, I query the system tables occasionally but never ever modify them
directly (with the exception of the dtproperties table but not sure if the
dtproperties table really qualifies as a system table). If I want
information about objects, I first query the information-schema views;
anything I can't get from those views I get it myself by querying the system
tables directly.
From fhtapia at gmail.com Mon Aug 1 22:32:41 2005
From: fhtapia at gmail.com (Francisco Tapia)
Date: Mon, 1 Aug 2005 20:32:41 -0700
Subject: [dba-SQLServer] Re: [dba-OT] xp_sqlagent_proxy_account
In-Reply-To: <000501c59711$ba6cd520$6101a8c0@jisshowsbs.local>
References:
<000501c59711$ba6cd520$6101a8c0@jisshowsbs.local>
Message-ID:
damn... that's the last time I go drinking and emailing ;-) well I checked
the owner of both services as I suspected that first, they are both running
on system admin accounts, and the agent proxy is set to a domain user. There
seems to be some kind of mis-configuration that I missed when we installed
this beast :S
On 8/1/05, William Hindman wrote:
>
> Francisco
>
> ...you might do better on the dba sql server list ...but for what its
> worth,
> take a look at who the owner is on your new server and what the group
> policies are ...I would tend to suspect the problem is in the server os
> configuration rather than the ss based upon what you described.
>
> William
>
> ----- Original Message -----
> From: "Francisco Tapia"
> To: ; "SQL Server 2k List"
>
> Sent: Monday, August 01, 2005 10:25 PM
> Subject: [dba-OT] xp_sqlagent_proxy_account
>
>
> I seem to be having a bit of trouble. my sql server crashed on thursday
> and
> we were able to migrate the data over to a new server, one thing that
> didn't
> come over well (i haven't been able to reproduce) is the call to the
> xp_cmdshell. I ran the xp_sqlagent_proxy_account sproc pointing to a valid
> nt domain user, our companies sqlcmd user. however even after I've applied
> this user and double checked that the option for only sysadmins can run
> xp_cmdshell is off, i keep getting the following error for my non-sysadmin
> users:
> Server: Msg 229, Level 14, State 5, Procedure xp_cmdshell, Line 2
> EXECUTE permission denied on object 'xp_cmdshell', database 'master',
> owner
> 'dbo'.
>
> I cannot do a "dir" or anything, which that part sounds fine, I only need
> to
> be able to execute a particular command. Thanks for your help in advance.
> --
> -Francisco
> http://pcthis.blogspot.com |PC news with out the jargon!
> http://sqlthis.blogspot.com | Tsql and More...
> _______________________________________________
> dba-OT mailing list
> dba-OT at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-ot
> Website: http://www.databaseadvisors.com
>
>
> _______________________________________________
> dba-OT mailing list
> dba-OT at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-ot
> Website: http://www.databaseadvisors.com
>
--
-Francisco
http://pcthis.blogspot.com |PC news with out the jargon!
http://sqlthis.blogspot.com | Tsql and More...
From fhtapia at gmail.com Tue Aug 2 12:28:26 2005
From: fhtapia at gmail.com (Francisco Tapia)
Date: Tue, 2 Aug 2005 10:28:26 -0700
Subject: [dba-SQLServer] Re: xp_sqlagent_proxy_account
In-Reply-To:
References:
Message-ID:
FYI, the system is Sql server 2000 SP4 on windows 2003.
I modified the sql agent proxy to be an administrator and it works fine. I
can log into another pc w/ the sqlagentproxy domain user account and get
access to the files I need. but if I switch the sql agent proxy to this
account I receive an "access denied" for the files I want to run.
On 8/2/05, oj wrote:
>
> SP3 and above add a new flag. You want to set it accordingly for your
> environment.
> --restrict to admin only. 1=yes, 0=no
> EXECUTE msdb..sp_set_sqlagent_properties @sysadmin_only = 0
> go
> Though, the error is pointing to something else. Try allow non-admin
> users execute permission.
> use master
> grant execute on xp_cmdshell to public
> --
> -oj
>
>
>
> ------------------------------
> *From:* bounce-sql2k-8507114 at ls.sswug.org [mailto:
> bounce-sql2k-8507114 at ls.sswug.org] *On Behalf Of *Francisco Tapia
> *Sent:* Monday, August 01, 2005 7:25 PM
> *To:* SQL Server 2k List
> *Subject:* xp_sqlagent_proxy_account
>
> I seem to be having a bit of trouble. my sql server crashed on thursday
> and we were able to migrate the data over to a new server, one thing that
> didn't come over well (i haven't been able to reproduce) is the call to the
> xp_cmdshell. I ran the xp_sqlagent_proxy_account sproc pointing to a valid
> nt domain user, our companies sqlcmd user. however even after I've applied
> this user and double checked that the option for only sysadmins can run
> xp_cmdshell is off, i keep getting the following error for my non-sysadmin
> users:
> Server: Msg 229, Level 14, State 5, Procedure xp_cmdshell, Line 2
> EXECUTE permission denied on object 'xp_cmdshell', database 'master',
> owner 'dbo'.
>
> I cannot do a "dir" or anything, which that part sounds fine, I only need
> to be able to execute a particular command. Thanks for your help in advance.
> --
> -Francisco
> http://pcthis.blogspot.com |PC news with out the jargon!
> http://sqlthis.blogspot.com | Tsql and More...
> --- You are currently subscribed to sql2k as: ojngo at rac4sql.net To
> unsubscribe send a blank email to leave-sql2k-9078501N at ls.sswug.org------------- See
> http://www.sswug.org/archives for list archives. mailto:
> listadmin at sswug.org with list issues. ---
> You are currently subscribed to sql2k as: fhtapia at gmail.com
> To unsubscribe send a blank email to leave-sql2k-9078501N at ls.sswug.org
> -------------
> See http://www.sswug.org/archives for list archives.
> mailto:listadmin at sswug.org with list issues.
>
--
-Francisco
http://pcthis.blogspot.com |PC news with out the jargon!
http://sqlthis.blogspot.com | Tsql and More...
From Paul.Hartland at orridge.co.uk Wed Aug 3 05:32:13 2005
From: Paul.Hartland at orridge.co.uk (Paul Hartland)
Date: Wed, 3 Aug 2005 11:32:13 +0100
Subject: [dba-SQLServer] SQL Server Database Security
Message-ID: <14A7AB003EFD444BBB193A23128DA20E4A475A@AL-PRI.Aldridge.local>
To all,
I need to set up a database on SQL Server, which will only allow access
through specific logons (about 10) excluding the good old SA logon etc.
How would I go about doing this, as I can't seem to set it up at the
moment that only I have access to it.....
Thanks in advance for any help
PAUL HARTLAND
Database Designer/Programmer
paul.hartland at isharp.co.uk
ISHARP
DDI - 01922 472031
Mobile - 07730 523179
ISHARP (Information Services for Hospitality, Audit, Retail and
Pharmacy) provide IT resources for the Christie Group Stock & Inventory
Services companies.
_______________________________________________
* This message is confidential.
* This email, its content and any files transmitted with it are intended solely for the addressee and may be legally privileged and/or confidential.
* Access by any other party is unauthorised without the express written permission of the sender.
* If you have received this email in error you may not copy or use the contents, attachments or information in any way and any review, use, dissemination, forwarding, disclosure, alteration, printing of this information is strictly prohibited. Please destroy it and notify the sender via return e-mail.
* This email has been prepared using information believed by Paul Hartland to be reliable and accurate, but the company makes no warranty as to accuracy or completeness. In particular the author does not accept responsibility for changes made to this email after it was sent.
* Any opinions expressed in this document are those of the author and do not necessarily reflect the opinions of the company or its affiliates.
The Orridge web site can be found at:
http://www.orridge.co.uk
From ebarro at afsweb.com Wed Aug 3 09:28:37 2005
From: ebarro at afsweb.com (Eric Barro)
Date: Wed, 3 Aug 2005 07:28:37 -0700
Subject: [dba-SQLServer] SQL Server Database Security
In-Reply-To: <14A7AB003EFD444BBB193A23128DA20E4A475A@AL-PRI.Aldridge.local>
Message-ID:
In Enterprise Manager you can set the db to single user only so that you
have exclusive access to it.
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Paul
Hartland
Sent: Wednesday, August 03, 2005 3:32 AM
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] SQL Server Database Security
To all,
I need to set up a database on SQL Server, which will only allow access
through specific logons (about 10) excluding the good old SA logon etc.
How would I go about doing this, as I can't seem to set it up at the moment
that only I have access to it.....
Thanks in advance for any help
PAUL HARTLAND
Database Designer/Programmer
paul.hartland at isharp.co.uk
ISHARP
DDI - 01922 472031
Mobile - 07730 523179
ISHARP (Information Services for Hospitality, Audit, Retail and
Pharmacy) provide IT resources for the Christie Group Stock & Inventory
Services companies.
_______________________________________________
* This message is confidential.
* This email, its content and any files transmitted with it are intended
solely for the addressee and may be legally privileged and/or confidential.
* Access by any other party is unauthorised without the express written
permission of the sender.
* If you have received this email in error you may not copy or use the
contents, attachments or information in any way and any review, use,
dissemination, forwarding, disclosure, alteration, printing of this
information is strictly prohibited. Please destroy it and notify the sender
via return e-mail.
* This email has been prepared using information believed by Paul Hartland
to be reliable and accurate, but the company makes no warranty as to
accuracy or completeness. In particular the author does not accept
responsibility for changes made to this email after it was sent.
* Any opinions expressed in this document are those of the author and do
not necessarily reflect the opinions of the company or its affiliates.
The Orridge web site can be found at:
http://www.orridge.co.uk
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
----------------------------------------------------------------
The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted
herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be
disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the
sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you
are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any
disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY
PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of
email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not
to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is
contrary to company policy. The company will not accept any liability in respect of such communication.
From accessd at shaw.ca Fri Aug 5 07:30:33 2005
From: accessd at shaw.ca (Jim Lawrence)
Date: Fri, 05 Aug 2005 05:30:33 -0700
Subject: [dba-SQLServer] Using a timestamp field
In-Reply-To:
Message-ID: <0IKR00A1X1EW9T@l-daemon>
Hi All:
Has anyone had a reason to use the timestamp type fields and is there any
best way to seed those fields and best practices to use.
TIA
Jim
From artful at rogers.com Fri Aug 5 09:10:34 2005
From: artful at rogers.com (Arthur Fuller)
Date: Fri, 5 Aug 2005 10:10:34 -0400
Subject: [dba-SQLServer] Using a timestamp field
In-Reply-To: <0IKR00A1X1EW9T@l-daemon>
Message-ID: <200508051410.j75EAfR23084@databaseadvisors.com>
It depends on what you are after. The main thing about a timestamp is that
it is updated every time you update the row. This can be useful,
particularly in a replicated database.
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Jim
Lawrence
Sent: August 5, 2005 8:31 AM
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] Using a timestamp field
Hi All:
Has anyone had a reason to use the timestamp type fields and is there any
best way to seed those fields and best practices to use.
TIA
Jim
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
From Clay.Passick at minneapolis.edu Thu Aug 4 14:13:11 2005
From: Clay.Passick at minneapolis.edu (Clay Passick)
Date: Thu, 04 Aug 2005 14:13:11 -0500
Subject: [dba-SQLServer] Hardware Upgrade ?
Message-ID:
Hi to all
We are in the process of upgrading to a SAN. As part of this our SQL
Server is going to new server hardware as well. My question is about
the best way to migrate data. I have always had the impression that you
had to back up inside SQL and then use the backup file (.bak) in SQL for
a restore rather than backing up the .mdf and .ldf files. Part of this
SAN is software that is supposed to do a low level copy from current
volumes to new volumes. Once all data is migrated the new server will
be named the same as the old server and given the same IP address.
That should prevent applications from going fits, I hope. Any
suggestions on the best route to take or things to watch out for.
Clay
From mikedorism at verizon.net Fri Aug 5 11:53:03 2005
From: mikedorism at verizon.net (Mike & Doris Manning)
Date: Fri, 05 Aug 2005 12:53:03 -0400
Subject: [dba-SQLServer] Hardware Upgrade ?
In-Reply-To:
Message-ID: <000601c599de$26582ef0$2e01a8c0@dorismanning>
I recommend detaching your databases, moving their files to the new SAN
location, and then reattaching them. That strategy worked extremely well
for us when we moved our data files out to our SAN.
Doris Manning
Database Administrator
Hargrove Inc.
From fhtapia at gmail.com Fri Aug 5 13:15:58 2005
From: fhtapia at gmail.com (Francisco Tapia)
Date: Fri, 5 Aug 2005 11:15:58 -0700
Subject: [dba-SQLServer] Hardware Upgrade ?
In-Reply-To: <000601c599de$26582ef0$2e01a8c0@dorismanning>
References:
<000601c599de$26582ef0$2e01a8c0@dorismanning>
Message-ID:
We did it by taking the .bak file and restoring it in the new system. You'll
need to fix the users either way..
EXEC sp_change_users_login 'Auto_Fix', 'SqluserID', NULL, 'PWD'
On 8/5/05, Mike & Doris Manning wrote:
>
> I recommend detaching your databases, moving their files to the new SAN
> location, and then reattaching them. That strategy worked extremely well
> for us when we moved our data files out to our SAN.
>
> Doris Manning
> Database Administrator
> Hargrove Inc.
>
>
>
> _______________________________________________
> dba-SQLServer mailing list
> dba-SQLServer at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
> http://www.databaseadvisors.com
>
>
--
-Francisco
http://pcthis.blogspot.com |PC news with out the jargon!
http://sqlthis.blogspot.com | Tsql and More...
From tuxedo_man at hotmail.com Sat Aug 6 16:59:24 2005
From: tuxedo_man at hotmail.com (Billy Pang)
Date: Sat, 06 Aug 2005 21:59:24 +0000
Subject: [dba-SQLServer] mushroom database (cross post db-ot/dba-SQLServer)
Message-ID:
Hello:
Does anyone know where to download a copy of mushroom database that is
referenced in Chapter 5 of the book "Data Mining with Microsoft SQL Server
2000"?
I have visited the following locations but could not find it there:
http://www.ics.uci.edu/~mlearn/MLRepository.html
ftp://ftp.ics.uci.edu/pub/machine-learning-databases/mushroom
Thanks in advance,
Billy
From paul.hartland at fsmail.net Tue Aug 9 08:47:36 2005
From: paul.hartland at fsmail.net (paul.hartland at fsmail.net)
Date: Tue, 9 Aug 2005 15:47:36 +0200 (CEST)
Subject: [dba-SQLServer] Slightly OT - Reports Slow To Open VB6 SQL Server
Message-ID: <10480907.1123595256090.JavaMail.www@wwinf3203>
To all,
I have a VB application that over the last two days the majority of users have encountered dramatic page file size increases when opening a report, I use the same application and mine hardly moves....
Has anyone come across a similar problem to this, in the past and got any possible solutions...
Many thanks in advance for any help on this
Paul Hartland
From martyconnelly at shaw.ca Tue Aug 9 13:55:27 2005
From: martyconnelly at shaw.ca (MartyConnelly)
Date: Tue, 09 Aug 2005 11:55:27 -0700
Subject: [dba-SQLServer] Slightly OT - Reports Slow To Open VB6 SQL Server
References: <10480907.1123595256090.JavaMail.www@wwinf3203>
Message-ID: <42F8FC1F.2030400@shaw.ca>
Are you running on a developer machine with a gig of RAM and all your
users on 256 or 128 Meg machines.
Did some modify a login script that sets a low page file size.
Did someone recently install or upgrade a constantly running program
like a virus checker or office workflow program.
Heck are people running 2 virus checkers at same time.
Here are some hints on page file sizing for people who do photo or sound
editing with large page file requirements.
http://www.soundonsound.com/sos/oct03/articles/pcnotes.htm
paul.hartland at fsmail.net wrote:
>To all,
>I have a VB application that over the last two days the majority of users have encountered dramatic page file size increases when opening a report, I use the same application and mine hardly moves....
>Has anyone come across a similar problem to this, in the past and got any possible solutions...
>Many thanks in advance for any help on this
>
>Paul Hartland
>_______________________________________________
>dba-SQLServer mailing list
>dba-SQLServer at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
>http://www.databaseadvisors.com
>
>
>
>
>
--
Marty Connelly
Victoria, B.C.
Canada
From Paul.Hartland at orridge.co.uk Wed Aug 10 08:46:59 2005
From: Paul.Hartland at orridge.co.uk (Paul Hartland)
Date: Wed, 10 Aug 2005 14:46:59 +0100
Subject: [dba-SQLServer] Slightly OT - Reports Slow To Open VB6 SQL Server
Message-ID: <14A7AB003EFD444BBB193A23128DA20E5B630A@AL-PRI.Aldridge.local>
Thanks for the tips, but it was far more simple than that, I downloaded
the latest updates for Active Reports (by DataDynamics), and created
just the executables...Forgot that when I update my DLL/OCX I have to
create a new package and install on other peoples machines (hides head
in shame)
PAUL HARTLAND
Database Designer/Programmer
paul.hartland at isharp.co.uk
ISHARP
DDI - 01922 472031
Mobile - 07730 523179
ISHARP (Information Services for Hospitality, Audit, Retail and
Pharmacy) provide IT resources for the Christie Group Stock & Inventory
Services companies.
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of
MartyConnelly
Sent: 09 August 2005 19:55
To: dba-sqlserver at databaseadvisors.com
Subject: Re: [dba-SQLServer] Slightly OT - Reports Slow To Open VB6 SQL
Server
Are you running on a developer machine with a gig of RAM and all your
users on 256 or 128 Meg machines.
Did some modify a login script that sets a low page file size.
Did someone recently install or upgrade a constantly running program
like a virus checker or office workflow program.
Heck are people running 2 virus checkers at same time.
Here are some hints on page file sizing for people who do photo or sound
editing with large page file requirements.
http://www.soundonsound.com/sos/oct03/articles/pcnotes.htm
paul.hartland at fsmail.net wrote:
>To all,
>I have a VB application that over the last two days the majority of
users have encountered dramatic page file size increases when opening a
report, I use the same application and mine hardly moves....
>Has anyone come across a similar problem to this, in the past and got
any possible solutions...
>Many thanks in advance for any help on this
>
>Paul Hartland
>_______________________________________________
>dba-SQLServer mailing list
>dba-SQLServer at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
>http://www.databaseadvisors.com
>
>
>
>
>
--
Marty Connelly
Victoria, B.C.
Canada
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
_______________________________________________
* This message is confidential.
* This email, its content and any files transmitted with it are intended solely for the addressee and may be legally privileged and/or confidential.
* Access by any other party is unauthorised without the express written permission of the sender.
* If you have received this email in error you may not copy or use the contents, attachments or information in any way and any review, use, dissemination, forwarding, disclosure, alteration, printing of this information is strictly prohibited. Please destroy it and notify the sender via return e-mail.
* This email has been prepared using information believed by Paul Hartland to be reliable and accurate, but the company makes no warranty as to accuracy or completeness. In particular the author does not accept responsibility for changes made to this email after it was sent.
* Any opinions expressed in this document are those of the author and do not necessarily reflect the opinions of the company or its affiliates.
The Orridge web site can be found at:
http://www.orridge.co.uk
From ssharkins at bellsouth.net Wed Aug 10 08:51:37 2005
From: ssharkins at bellsouth.net (Susan Harkins)
Date: Wed, 10 Aug 2005 09:51:37 -0400
Subject: [dba-SQLServer] Using SET to debug
Message-ID: <20050810135142.FCN225.ibm65aec.bellsouth.net@SUSANONE>
I'm writing a short article on using SET STATISTICS IO and SET STATISTICS
TIME to debug inefficient code -- do you guys use others? It has to be a SET
option -- that's the focus of the article.
Susan H.
From accessd at shaw.ca Wed Aug 10 11:41:33 2005
From: accessd at shaw.ca (Jim Lawrence)
Date: Wed, 10 Aug 2005 09:41:33 -0700
Subject: [dba-SQLServer] Building tables
In-Reply-To: <42F8FC1F.2030400@shaw.ca>
Message-ID: <0IL000J3UMD8HN@l-daemon>
Hi All:
I have been porting a legacy database into a new MS SQL set of tables. In
the process the data is added and removed several times as improvements are
made on the table structures and the DTS is tested. Each time the import
process is re-ran the auto ID identity values, of course, continue to
increment.
The field can be re-set manually by changing the ID field type, clearing the
table content and changing the field type back; all very labour intensive.
Is there a simple way, in code, to initialize the auto ID identity values so
it re-start at the initial seed value?
MTIA
Jim
From HARVEYF1 at WESTAT.com Wed Aug 10 12:22:35 2005
From: HARVEYF1 at WESTAT.com (Francis Harvey)
Date: Wed, 10 Aug 2005 13:22:35 -0400
Subject: [dba-SQLServer] Building tables
Message-ID: <403593359CA56C4CAE1F8F4F00DCFE7D014C7033@MAILBE2.westat.com>
Jim,
Assuming you have the necessary permissions, I find:
DBCC CHECKIDENT ('table_name', RESEED, 0)
works well for reseeding the identity value.
Francis R Harvey III
WB 303, (301)294-3952
harveyf1 at westat.com
> -----Original Message-----
> From: dba-sqlserver-bounces at databaseadvisors.com
> [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf
> Of Jim Lawrence
> Sent: Wednesday, August 10, 2005 12:42 PM
> To: dba-sqlserver at databaseadvisors.com
> Subject: [dba-SQLServer] Building tables
>
>
> Hi All:
>
> I have been porting a legacy database into a new MS SQL set
> of tables. In
> the process the data is added and removed several times as
> improvements are
> made on the table structures and the DTS is tested. Each time
> the import
> process is re-ran the auto ID identity values, of course, continue to
> increment.
>
> The field can be re-set manually by changing the ID field
> type, clearing the
> table content and changing the field type back; all very
> labour intensive.
> Is there a simple way, in code, to initialize the auto ID
> identity values so
> it re-start at the initial seed value?
>
> MTIA
> Jim
From James at fcidms.com Wed Aug 10 12:27:23 2005
From: James at fcidms.com (James Barash)
Date: Wed, 10 Aug 2005 13:27:23 -0400
Subject: [dba-SQLServer] Building tables
In-Reply-To: <0IL000J3UMD8HN@l-daemon>
Message-ID: <0IL0006M5OHND0R0@mta5.srv.hcvlny.cv.net>
Jim
If you use Truncate Table to clear the table contents, that will reset the
Identity back to the initial seed.
You can also use DBCC CHECKIDENT(tablename, RESEED,1) to reset the Identity
back to 1 or whatever value you need.
Hope that helps.
James Barash
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Jim
Lawrence
Sent: Wednesday, August 10, 2005 12:42 PM
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] Building tables
Hi All:
I have been porting a legacy database into a new MS SQL set of tables. In
the process the data is added and removed several times as improvements are
made on the table structures and the DTS is tested. Each time the import
process is re-ran the auto ID identity values, of course, continue to
increment.
The field can be re-set manually by changing the ID field type, clearing the
table content and changing the field type back; all very labour intensive.
Is there a simple way, in code, to initialize the auto ID identity values so
it re-start at the initial seed value?
MTIA
Jim
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
From dmcafee at pacbell.net Wed Aug 10 12:44:58 2005
From: dmcafee at pacbell.net (David Mcafee)
Date: Wed, 10 Aug 2005 10:44:58 -0700 (PDT)
Subject: [dba-SQLServer] Building tables
In-Reply-To: <0IL0006M5OHND0R0@mta5.srv.hcvlny.cv.net>
Message-ID: <20050810174458.86740.qmail@web80804.mail.yahoo.com>
Jim, as James mentioned, I would use the TRUNCATE
command in your DTS. The only thing is if you have
relationships connecting to the table in question, you
will have to drop them before the truncate and
recreate them afterwards.
--- James Barash wrote:
> Jim
>
> If you use Truncate Table to clear the table
> contents, that will reset the
> Identity back to the initial seed.
> You can also use DBCC CHECKIDENT(tablename,
> RESEED,1) to reset the Identity
> back to 1 or whatever value you need.
>
> Hope that helps.
>
> James Barash
>
> -----Original Message-----
> From: dba-sqlserver-bounces at databaseadvisors.com
> [mailto:dba-sqlserver-bounces at databaseadvisors.com]
> On Behalf Of Jim
> Lawrence
> Sent: Wednesday, August 10, 2005 12:42 PM
> To: dba-sqlserver at databaseadvisors.com
> Subject: [dba-SQLServer] Building tables
>
> Hi All:
>
> I have been porting a legacy database into a new MS
> SQL set of tables. In
> the process the data is added and removed several
> times as improvements are
> made on the table structures and the DTS is tested.
> Each time the import
> process is re-ran the auto ID identity values, of
> course, continue to
> increment.
>
> The field can be re-set manually by changing the ID
> field type, clearing the
> table content and changing the field type back; all
> very labour intensive.
> Is there a simple way, in code, to initialize the
> auto ID identity values so
> it re-start at the initial seed value?
>
> MTIA
> Jim
From ssharkins at bellsouth.net Wed Aug 10 17:30:52 2005
From: ssharkins at bellsouth.net (Susan Harkins)
Date: Wed, 10 Aug 2005 18:30:52 -0400
Subject: [dba-SQLServer] Execution statistics
Message-ID: <20050810223231.SICU27018.ibm68aec.bellsouth.net@SUSANONE>
If you an add an index that improves the execution time, but also increases
the logical reads -- is that a problem for the future? It seems to me that
as you add data those page hits are going to eventually slow you down,
despite the index. Am I analyzing this correctly?
Or, do indexes always increase the logical reads -- that would make sense to
me too.
Susan H.
From accessd at shaw.ca Wed Aug 10 17:58:08 2005
From: accessd at shaw.ca (Jim Lawrence)
Date: Wed, 10 Aug 2005 15:58:08 -0700
Subject: [dba-SQLServer] Building tables
In-Reply-To: <20050810174458.86740.qmail@web80804.mail.yahoo.com>
Message-ID: <0IL100K233SWPX@l-daemon>
Francis, James and David:
Thanks very much for you help! Much appreciated. I will implement the code
immediately and see how it works.
Jim
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of David
Mcafee
Sent: Wednesday, August 10, 2005 10:45 AM
To: dba-sqlserver at databaseadvisors.com
Subject: RE: [dba-SQLServer] Building tables
Jim, as James mentioned, I would use the TRUNCATE
command in your DTS. The only thing is if you have
relationships connecting to the table in question, you
will have to drop them before the truncate and
recreate them afterwards.
--- James Barash wrote:
> Jim
>
> If you use Truncate Table to clear the table
> contents, that will reset the
> Identity back to the initial seed.
> You can also use DBCC CHECKIDENT(tablename,
> RESEED,1) to reset the Identity
> back to 1 or whatever value you need.
>
> Hope that helps.
>
> James Barash
>
> -----Original Message-----
> From: dba-sqlserver-bounces at databaseadvisors.com
> [mailto:dba-sqlserver-bounces at databaseadvisors.com]
> On Behalf Of Jim
> Lawrence
> Sent: Wednesday, August 10, 2005 12:42 PM
> To: dba-sqlserver at databaseadvisors.com
> Subject: [dba-SQLServer] Building tables
>
> Hi All:
>
> I have been porting a legacy database into a new MS
> SQL set of tables. In
> the process the data is added and removed several
> times as improvements are
> made on the table structures and the DTS is tested.
> Each time the import
> process is re-ran the auto ID identity values, of
> course, continue to
> increment.
>
> The field can be re-set manually by changing the ID
> field type, clearing the
> table content and changing the field type back; all
> very labour intensive.
> Is there a simple way, in code, to initialize the
> auto ID identity values so
> it re-start at the initial seed value?
>
> MTIA
> Jim
_______________________________________________
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 10 20:11:29 2005
From: tuxedo_man at hotmail.com (Billy Pang)
Date: Thu, 11 Aug 2005 01:11:29 +0000
Subject: [dba-SQLServer] Execution statistics
In-Reply-To: <20050810223231.SICU27018.ibm68aec.bellsouth.net@SUSANONE>
Message-ID:
How much more logical reads? If it is a lot more logical reads, I am
betting that it might be a problem in the future since the more reads
translates to higher execution (#of reads is probably more important on a
slower disk). Using a new index for a query I thought usually decreases
reads in most cases (because don't have to get the data from the table or
from another "not so good" index which can be more expensive).
I wonder why the logical reads went up even though execution time went down.
Maybe the optimizer found that it was cheaper to create an executin plan
that gets most of the data from the index and the rest from the table? Was
the fillfactor of the new index set to low percentage (index created over
many pages)?
Billy
>From: "Susan Harkins"
>Reply-To: dba-sqlserver at databaseadvisors.com
>To: "SQLList"
>Subject: [dba-SQLServer] Execution statistics
>Date: Wed, 10 Aug 2005 18:30:52 -0400
>
>If you an add an index that improves the execution time, but also increases
>the logical reads -- is that a problem for the future? It seems to me that
>as you add data those page hits are going to eventually slow you down,
>despite the index. Am I analyzing this correctly?
>
>Or, do indexes always increase the logical reads -- that would make sense
>to
>me too.
>
>Susan H.
>
>_______________________________________________
>dba-SQLServer mailing list
>dba-SQLServer at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
>http://www.databaseadvisors.com
>
From ssharkins at bellsouth.net Thu Aug 11 08:43:59 2005
From: ssharkins at bellsouth.net (Susan Harkins)
Date: Thu, 11 Aug 2005 09:43:59 -0400
Subject: [dba-SQLServer] Execution statistics
In-Reply-To:
Message-ID: <20050811134406.NPRL225.ibm65aec.bellsouth.net@SUSANONE>
I wonder why the logical reads went up even though execution time went down.
Maybe the optimizer found that it was cheaper to create an executin plan
that gets most of the data from the index and the rest from the table? Was
the fillfactor of the new index set to low percentage (index created over
many pages)?
===========This was my expectation too -- it's a very simple example query
-- but there's one JOIN and one WHERE clause. Just to experiment, I added an
index to the column specified in the WHERE clause. Ordinarily, this column
would not be a good candidate for an index. The reads increase on the table
specified in the WHERE clause (region), the one with the new index.
Execution time does go down.
I know that inappropriate indexes can be a serious performance problem.
Another interesting side-product was that even after I removed the new index
on the region column the execution stayed down -- once it went down, it
stayed down. I hadn't expected that.
USE northwind
SET STATISTICS IO ON
SET STATISTICS TIME ON
SELECT lastname, firstname, orderid
FROM Employees
INNER JOIN ORDERS
ON Employees.EmployeeID = Orders.EmployeeID
WHERE region = 'WA'
SET STATISTICS IO ON
SET STATISTICS TIME OFF
Before Index:
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 0 ms.
(606 row(s) affected)
Table 'Orders'. Scan count 5, logical reads 11, physical reads 0, read-ahead
reads 0.
Table 'Employees'. Scan count 1, logical reads 2, physical reads 0,
read-ahead reads 0.
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 15 ms.
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 0 ms.
After Index:
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 0 ms.
(606 row(s) affected)
Table 'Orders'. Scan count 5, logical reads 11, physical reads 0, read-ahead
reads 0.
Table 'Employees'. Scan count 1, logical reads 11, physical reads 0,
read-ahead reads 0.
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 6 ms.
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 0 ms.
From ssharkins at bellsouth.net Thu Aug 11 12:11:58 2005
From: ssharkins at bellsouth.net (Susan Harkins)
Date: Thu, 11 Aug 2005 13:11:58 -0400
Subject: [dba-SQLServer] explanation for differences in option naming scheme?
Message-ID: <20050811171204.ZMKR8550.ibm56aec.bellsouth.net@SUSANONE>
Can anyone explain why sometimes SQL Server options and properties have
underscores and sometimes they don't? I'm sure this has to do with some
naming scheme that I'm just not following.
Example:
SET optionnames:
SET STATISTICS IO
SET SHOWPLAN_ALL
I see this alot and I don't understand it.
Susan H.
From tuxedo_man at hotmail.com Thu Aug 11 15:34:02 2005
From: tuxedo_man at hotmail.com (Billy Pang)
Date: Thu, 11 Aug 2005 20:34:02 +0000
Subject: [dba-SQLServer] Execution statistics
In-Reply-To: <20050811134406.NPRL225.ibm65aec.bellsouth.net@SUSANONE>
Message-ID:
Not sure how much signficance to attach to the execution time of this
example since it is mostly less than 20 milliseconds because there might be
something running in background that can affect its execution time (although
after repeated running the query with and without the index, with the new
region index I can get it under 10ms a few times but not at all without the
region index).
The query with the region index looks like it is getting region data from
the region index you created and then getting the rest of the employee data
via bookmark lookup (a sign for improvement?). It might be better for this
query if your region index includes the other columns (ie. firstname
lastname) of your query instead of just the region column column; to
experiment, if you create a second region index (without dropping the first)
but this time include the name columns, the optimzer will see that there are
two region indexes to choose from but will choose the second index because
it is cheaper execution plan.
CREATE INDEX IX_EMPLOYEES_region2 on employees(region, LASTNAME, FIRSTNAME)
Table 'Orders'. Scan count 5, logical reads 11, physical reads 0, read-ahead
reads 0.
Table 'Employees'. Scan count 1, logical reads 1, physical reads 0,
read-ahead reads 0.
With the second new index, I can now get the query execution time under
10ms.
HTH
Billy
>From: "Susan Harkins"
>Reply-To: dba-sqlserver at databaseadvisors.com
>To:
>Subject: RE: [dba-SQLServer] Execution statistics
>Date: Thu, 11 Aug 2005 09:43:59 -0400
>
>I wonder why the logical reads went up even though execution time went
>down.
>
> Maybe the optimizer found that it was cheaper to create an executin plan
>that gets most of the data from the index and the rest from the table? Was
>the fillfactor of the new index set to low percentage (index created over
>many pages)?
>
>===========This was my expectation too -- it's a very simple example query
>-- but there's one JOIN and one WHERE clause. Just to experiment, I added
>an
>index to the column specified in the WHERE clause. Ordinarily, this column
>would not be a good candidate for an index. The reads increase on the table
>specified in the WHERE clause (region), the one with the new index.
>Execution time does go down.
>
>I know that inappropriate indexes can be a serious performance problem.
>
>Another interesting side-product was that even after I removed the new
>index
>on the region column the execution stayed down -- once it went down, it
>stayed down. I hadn't expected that.
>
>
>
>USE northwind
>SET STATISTICS IO ON
>SET STATISTICS TIME ON
>SELECT lastname, firstname, orderid
>FROM Employees
>INNER JOIN ORDERS
>ON Employees.EmployeeID = Orders.EmployeeID
>WHERE region = 'WA'
>SET STATISTICS IO ON
>SET STATISTICS TIME OFF
>
>
>Before Index:
>
>SQL Server Execution Times:
> CPU time = 0 ms, elapsed time = 0 ms.
>
>(606 row(s) affected)
>
>Table 'Orders'. Scan count 5, logical reads 11, physical reads 0,
>read-ahead
>reads 0.
>Table 'Employees'. Scan count 1, logical reads 2, physical reads 0,
>read-ahead reads 0.
>
>SQL Server Execution Times:
> CPU time = 0 ms, elapsed time = 15 ms.
>
>SQL Server Execution Times:
> CPU time = 0 ms, elapsed time = 0 ms.
>
>After Index:
>
>SQL Server Execution Times:
> CPU time = 0 ms, elapsed time = 0 ms.
>
>(606 row(s) affected)
>
>Table 'Orders'. Scan count 5, logical reads 11, physical reads 0,
>read-ahead
>reads 0.
>Table 'Employees'. Scan count 1, logical reads 11, physical reads 0,
>read-ahead reads 0.
>
>SQL Server Execution Times:
> CPU time = 0 ms, elapsed time = 6 ms.
>
>SQL Server Execution Times:
> CPU time = 0 ms, elapsed time = 0 ms.
>
>_______________________________________________
>dba-SQLServer mailing list
>dba-SQLServer at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
>http://www.databaseadvisors.com
>
From ssharkins at bellsouth.net Thu Aug 11 16:33:56 2005
From: ssharkins at bellsouth.net (Susan Harkins)
Date: Thu, 11 Aug 2005 17:33:56 -0400
Subject: [dba-SQLServer] Execution statistics
In-Reply-To:
Message-ID: <20050811213355.DEGO8550.ibm56aec.bellsouth.net@SUSANONE>
With the second new index, I can now get the query execution time under
10ms.
=========Seems to me that it's as much hit and miss as anything else. :) I
know there's a rhyme to everything that's going on under the hood -- right
now, I'm just guessing.
Susan H.
From tuxedo_man at hotmail.com Thu Aug 11 17:20:51 2005
From: tuxedo_man at hotmail.com (Billy Pang)
Date: Thu, 11 Aug 2005 22:20:51 +0000
Subject: [dba-SQLServer] Execution statistics
In-Reply-To: <20050811213355.DEGO8550.ibm56aec.bellsouth.net@SUSANONE>
Message-ID:
I usually don't pay too much attention to execution time (especially when it
is a small query) because there are so many factors that can affect it that
are outside of the database. Number of reads provides more of a reliable
and measureable benchmark in terms of fine tuning queries.
>From: "Susan Harkins"
>Reply-To: dba-sqlserver at databaseadvisors.com
>To:
>Subject: RE: [dba-SQLServer] Execution statistics
>Date: Thu, 11 Aug 2005 17:33:56 -0400
>
>
>With the second new index, I can now get the query execution time under
>10ms.
>
>=========Seems to me that it's as much hit and miss as anything else. :) I
>know there's a rhyme to everything that's going on under the hood -- right
>now, I'm just guessing.
>
>Susan H.
>
>_______________________________________________
>dba-SQLServer mailing list
>dba-SQLServer at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
>http://www.databaseadvisors.com
>
From fhtapia at gmail.com Fri Aug 12 12:02:35 2005
From: fhtapia at gmail.com (Francisco Tapia)
Date: Fri, 12 Aug 2005 10:02:35 -0700
Subject: [dba-SQLServer] FOR XML EXPLICIT
Message-ID:
Happy Friday to all,
This is not really that long, but I've included code to help simplfy what
I'm talking about...
I have the following FOR XML Select, it produces the a valid XML object.
SELECT Top 1
1 as TAG,
0 AS Parent,
PONUM [Header!1!PONUM!element],
RRDate [Header!1!RRDate!element],
NULL [OrderItems!2!CPN!element],
NULL [OrderItems!2!AddedDate!element]
FROM tbl_RR WHERE PONUM = '50803-01HB'
UNION ALL
SELECT 2 AS TAG,
1 AS Parent,
R.PONUM [OrderItems!2!PONUM!element],
NULL,
CPN [OrderItems!2!CPN!element],
AddedDate [OrderItems!2!AddedDate!element]
FROM tbl_RR R
INNER JOIN tbl_RRLineItems RL
ON R.RRID = RL.RRID
WHERE R.PONUM = '50803-01HB'
FOR XML EXPLICIT
The XML object looks like this:
5080301HB
20050810T07:51:40.633
925
20050810T07:51:40.680
This is almost where I need this, the xml that I'm trying to match is
formated in this manner:
5080301HB
20050810T07:51:40.633
925
20050810T07:51:40.680
Since I'm almost there, I'm sure I just need to modify my Select (For XML)
with maybe 2 more union alls, but I was wondering if anyone has done it this
way before and could lend a pointer in the right direction :)
Thanks,
--
-Francisco
http://pcthis.blogspot.com |PC news with out the jargon!
http://sqlthis.blogspot.com | Tsql and More...
From andrew.haslett at ilc.gov.au Fri Aug 12 18:14:58 2005
From: andrew.haslett at ilc.gov.au (Haslett, Andrew)
Date: Sat, 13 Aug 2005 08:44:58 +0930
Subject: [dba-SQLServer] FOR XML EXPLICIT
Message-ID: <0A870603A2A816459078203FC07F4CD2212342@adl01s055.ilcorp.gov.au>
Wow - two FOR XML EXPLICIT questions in 2 weeks!
Had the same problem - basically you want to add the surrounding empty
elements of and ?
The root one isn't too hard to do. The other one seems a bit tricker
but according to those who helped me in the below post, should be doable
by adding another UNION statement as you mentioned:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=53050
Post back if these don't help you out.
Cheers,
Andrew
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of
Francisco Tapia
Sent: Saturday, 13 August 2005 2:33 AM
To: SQL Server 2k List; dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] FOR XML EXPLICIT
Happy Friday to all,
This is not really that long, but I've included code to help simplfy
what I'm talking about...
I have the following FOR XML Select, it produces the a valid XML object.
SELECT Top 1
1 as TAG,
0 AS Parent,
PONUM [Header!1!PONUM!element],
RRDate [Header!1!RRDate!element],
NULL [OrderItems!2!CPN!element],
NULL [OrderItems!2!AddedDate!element]
FROM tbl_RR WHERE PONUM = '50803-01HB'
UNION ALL
SELECT 2 AS TAG,
1 AS Parent,
R.PONUM [OrderItems!2!PONUM!element],
NULL,
CPN [OrderItems!2!CPN!element],
AddedDate [OrderItems!2!AddedDate!element] FROM tbl_RR R INNER JOIN
tbl_RRLineItems RL ON R.RRID = RL.RRID WHERE R.PONUM = '50803-01HB'
FOR XML EXPLICIT
The XML object looks like this:
5080301HB
20050810T07:51:40.633
925
20050810T07:51:40.680
This is almost where I need this, the xml that I'm trying to match is
formated in this manner:
5080301HB
20050810T07:51:40.633
925
20050810T07:51:40.680
Since I'm almost there, I'm sure I just need to modify my Select (For
XML) with maybe 2 more union alls, but I was wondering if anyone has
done it this way before and could lend a pointer in the right direction
:)
Thanks,
--
-Francisco
http://pcthis.blogspot.com |PC news with out the jargon!
http://sqlthis.blogspot.com | Tsql and More...
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
IMPORTANT - PLEASE READ *** This email any any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not.
From listmaster at databaseadvisors.com Sun Aug 14 08:50:58 2005
From: listmaster at databaseadvisors.com (Bryan Carbonnell)
Date: Sun, 14 Aug 2005 09:50:58 -0400
Subject: [dba-SQLServer] Administrivia - Lists Temporarily Down
Message-ID: <42FF1402.5531.150D8B@listmaster.databaseadvisors.com>
The company that hosts our lists will be doing some maintenance on
their network from 11PM Aug 16 to 6 AM Aug 17 CST (04:00 to 11:00 on
Aug 17 UTC - http://www.timezoneconverter.com/cgi-bin/tzc.tzc to find
out what time it is in your timezone))
They are upgrading their core routers, which will cause dba's list,
and associated web pages (not the Website, but the list pages,
including archives) to be down, anywhere from a few minutes to an
hour.
Hopefully this does not cause anyone too much of an inconvenience.
--
Bryan Carbonnell - listmaster at databaseadvisors.com
If you can't be a good example, then you'll just have to be a
horrible warning.
From fhtapia at gmail.com Mon Aug 15 23:05:53 2005
From: fhtapia at gmail.com (Francisco Tapia)
Date: Mon, 15 Aug 2005 21:05:53 -0700
Subject: [dba-SQLServer] FOR XML EXPLICIT
In-Reply-To: <0A870603A2A816459078203FC07F4CD2212342@adl01s055.ilcorp.gov.au>
References: <0A870603A2A816459078203FC07F4CD2212342@adl01s055.ilcorp.gov.au>
Message-ID:
That link has all the answers, and a cleaner way to write this query from
hell ;). Thanks for the tip
On 8/12/05, Haslett, Andrew wrote:
>
> Wow - two FOR XML EXPLICIT questions in 2 weeks!
>
> Had the same problem - basically you want to add the surrounding empty
> elements of and ?
>
> The root one isn't too hard to do. The other one seems a bit tricker
> but according to those who helped me in the below post, should be doable
> by adding another UNION statement as you mentioned:
> http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=53050
>
> Post back if these don't help you out.
>
> Cheers,
> Andrew
>
> -----Original Message-----
> From: dba-sqlserver-bounces at databaseadvisors.com
> [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of
> Francisco Tapia
> Sent: Saturday, 13 August 2005 2:33 AM
> To: SQL Server 2k List; dba-sqlserver at databaseadvisors.com
> Subject: [dba-SQLServer] FOR XML EXPLICIT
>
> Happy Friday to all,
> This is not really that long, but I've included code to help simplfy
> what I'm talking about...
>
> I have the following FOR XML Select, it produces the a valid XML object.
>
> SELECT Top 1
> 1 as TAG,
> 0 AS Parent,
> PONUM [Header!1!PONUM!element],
> RRDate [Header!1!RRDate!element],
> NULL [OrderItems!2!CPN!element],
> NULL [OrderItems!2!AddedDate!element]
> FROM tbl_RR WHERE PONUM = '50803-01HB'
>
> UNION ALL
>
> SELECT 2 AS TAG,
> 1 AS Parent,
> R.PONUM [OrderItems!2!PONUM!element],
> NULL,
> CPN [OrderItems!2!CPN!element],
> AddedDate [OrderItems!2!AddedDate!element] FROM tbl_RR R INNER JOIN
> tbl_RRLineItems RL ON R.RRID = RL.RRID WHERE R.PONUM = '50803-01HB'
> FOR XML EXPLICIT
>
> The XML object looks like this:
>
> 5080301HB
> 20050810T07:51:40.633
>
> 925
> 20050810T07:51:40.680
>
>
>
> This is almost where I need this, the xml that I'm trying to match is
> formated in this manner:
>
>
> 5080301HB
> 20050810T07:51:40.633
>
>
>
> 925
> 20050810T07:51:40.680
>
>
>
>
> Since I'm almost there, I'm sure I just need to modify my Select (For
> XML) with maybe 2 more union alls, but I was wondering if anyone has
> done it this way before and could lend a pointer in the right direction
> :)
>
> Thanks,
> --
> -Francisco
> http://pcthis.blogspot.com |PC news with out the jargon!
> http://sqlthis.blogspot.com | Tsql and More...
> _______________________________________________
> dba-SQLServer mailing list
> dba-SQLServer at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
> http://www.databaseadvisors.com
>
>
>
> IMPORTANT - PLEASE READ *** This email any 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
>
>
--
-Francisco
http://pcthis.blogspot.com |PC news with out the jargon!
http://sqlthis.blogspot.com | Tsql and More...
From roz.clarke at donnslaw.co.uk Tue Aug 16 08:22:31 2005
From: roz.clarke at donnslaw.co.uk (Roz Clarke)
Date: Tue, 16 Aug 2005 14:22:31 +0100
Subject: [dba-SQLServer] Moving databases (SQL Server 7)
Message-ID: <61F915314798D311A2F800A0C9C8318807225EB9@dibble.observatory.donnslaw.co.uk>
Hi all
I have 2 databases that I need to transfer from one SQL Server server to
another. I need the data, but I also need the logins, security settings,
maintenance plans, jobs etc.
Up to now I have only ever used backup and restore to copy databases (data
only) on a single server.
What is the best way to do this? I have been asked to do it in the next 2
hours.
ha ha ha ha ha ha
TIA
Roz
-------------- next part --------------
The contents of this message and any attachments are the property of Donns Solicitors
and are intended for the confidential use of the named recipient only. They may be legally
privileged and should not be communicated to, or relied upon, by any other party without
our written consent. If you are not the addressee, please notify us immediately so that we
can make arrangements for its return. You should not show this e-mail to any person or
take copies as you may be committing a criminal or civil offence for which you may be
liable. The statement and opinions expressed in this e-mail message are those of the
writer, and do not necessarily represent that of Donns Solicitors. Although any files attached
to this e-mail will have been checked with virus protection software prior to transmission,
you should carry out your own virus check before opening any attachment.
Donns Solicitors does not accept any liability for any damage or loss which may be caused
by software viruses...
From mwp.reid at qub.ac.uk Tue Aug 16 08:27:00 2005
From: mwp.reid at qub.ac.uk (Martin Reid)
Date: Tue, 16 Aug 2005 14:27:00 +0100
Subject: [dba-SQLServer] Moving databases (SQL Server 7)
References: <61F915314798D311A2F800A0C9C8318807225EB9@dibble.observatory.donnslaw.co.uk>
Message-ID: <002b01c5a266$2efa0bb0$9111758f@aine>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adminsql/ad_onmigwiz_0z50.asp
Martin
----- Original Message -----
From: "Roz Clarke"
To:
Sent: Tuesday, August 16, 2005 2:22 PM
Subject: [dba-SQLServer] Moving databases (SQL Server 7)
> Hi all
>
> I have 2 databases that I need to transfer from one SQL Server server to
> another. I need the data, but I also need the logins, security settings,
> maintenance plans, jobs etc.
>
> Up to now I have only ever used backup and restore to copy databases (data
> only) on a single server.
>
> What is the best way to do this? I have been asked to do it in the next 2
> hours.
>
> ha ha ha ha ha ha
>
> TIA
>
> Roz
>
--------------------------------------------------------------------------------
>
> The contents of this message and any attachments are the property of Donns
> Solicitors
> and are intended for the confidential use of the named recipient only.
> They may be legally
> privileged and should not be communicated to, or relied upon, by any other
> party without
> our written consent. If you are not the addressee, please notify us
> immediately so that we
> can make arrangements for its return. You should not show this e-mail to
> any person or
> take copies as you may be committing a criminal or civil offence for which
> you may be
> liable. The statement and opinions expressed in this e-mail message are
> those of the
> writer, and do not necessarily represent that of Donns Solicitors.
> Although any files attached
> to this e-mail will have been checked with virus protection software prior
> to transmission,
> you should carry out your own virus check before opening any attachment.
> Donns Solicitors does not accept any liability for any damage or loss
> which may be caused
> by software viruses...
>
--------------------------------------------------------------------------------
> _______________________________________________
> dba-SQLServer mailing list
> dba-SQLServer at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
> http://www.databaseadvisors.com
>
>
From DElam at jenkens.com Tue Aug 16 08:47:00 2005
From: DElam at jenkens.com (Elam, Debbie)
Date: Tue, 16 Aug 2005 08:47:00 -0500
Subject: [dba-SQLServer] Moving databases (SQL Server 7)
Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492CC7C@natexch.jenkens.com>
I have used the export data command to transfer from one server to another.
Choose Copy objects and data, and leave the default of all objects. I have
gotten everything transferred including logins.
Debbie
-----Original Message-----
From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk]
Sent: Tuesday, August 16, 2005 8:23 AM
To: 'dba-sqlserver at databaseadvisors.com'
Subject: [dba-SQLServer] Moving databases (SQL Server 7)
Hi all
I have 2 databases that I need to transfer from one SQL Server server to
another. I need the data, but I also need the logins, security settings,
maintenance plans, jobs etc.
Up to now I have only ever used backup and restore to copy databases (data
only) on a single server.
What is the best way to do this? I have been asked to do it in the next 2
hours.
ha ha ha ha ha ha
TIA
Roz
- 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 roz.clarke at donnslaw.co.uk Tue Aug 16 09:11:33 2005
From: roz.clarke at donnslaw.co.uk (Roz Clarke)
Date: Tue, 16 Aug 2005 15:11:33 +0100
Subject: [dba-SQLServer] Moving databases (SQL Server 7)
Message-ID: <61F915314798D311A2F800A0C9C8318807225EBB@dibble.observatory.donnslaw.co.uk>
Thanks Martin
That says it is a SQL 2000 wizard though :(
-----Original Message-----
From: Martin Reid [mailto:mwp.reid at qub.ac.uk]
Sent: 16 August 2005 14:27
To: dba-sqlserver at databaseadvisors.com
Subject: Re: [dba-SQLServer] Moving databases (SQL Server 7)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adminsql/ad
_onmigwiz_0z50.asp
Martin
----- Original Message -----
From: "Roz Clarke"
To:
Sent: Tuesday, August 16, 2005 2:22 PM
Subject: [dba-SQLServer] Moving databases (SQL Server 7)
> Hi all
>
> I have 2 databases that I need to transfer from one SQL Server server
> to another. I need the data, but I also need the logins, security
> settings, maintenance plans, jobs etc.
>
> Up to now I have only ever used backup and restore to copy databases
> (data
> only) on a single server.
>
> What is the best way to do this? I have been asked to do it in the
> next 2 hours.
>
> ha ha ha ha ha ha
>
> TIA
>
> Roz
>
----------------------------------------------------------------------------
----
>
> The contents of this message and any attachments are the property of
> Donns
> Solicitors
> and are intended for the confidential use of the named recipient only.
> They may be legally
> privileged and should not be communicated to, or relied upon, by any other
> party without
> our written consent. If you are not the addressee, please notify us
> immediately so that we
> can make arrangements for its return. You should not show this e-mail to
> any person or
> take copies as you may be committing a criminal or civil offence for which
> you may be
> liable. The statement and opinions expressed in this e-mail message are
> those of the
> writer, and do not necessarily represent that of Donns Solicitors.
> Although any files attached
> to this e-mail will have been checked with virus protection software prior
> to transmission,
> you should carry out your own virus check before opening any attachment.
> Donns Solicitors does not accept any liability for any damage or loss
> which may be caused
> by software viruses...
>
----------------------------------------------------------------------------
----
> _______________________________________________
> 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
-------------- next part --------------
The contents of this message and any attachments are the property of Donns Solicitors
and are intended for the confidential use of the named recipient only. They may be legally
privileged and should not be communicated to, or relied upon, by any other party without
our written consent. If you are not the addressee, please notify us immediately so that we
can make arrangements for its return. You should not show this e-mail to any person or
take copies as you may be committing a criminal or civil offence for which you may be
liable. The statement and opinions expressed in this e-mail message are those of the
writer, and do not necessarily represent that of Donns Solicitors. Although any files attached
to this e-mail will have been checked with virus protection software prior to transmission,
you should carry out your own virus check before opening any attachment.
Donns Solicitors does not accept any liability for any damage or loss which may be caused
by software viruses...
From fhtapia at gmail.com Tue Aug 16 11:09:25 2005
From: fhtapia at gmail.com (Francisco Tapia)
Date: Tue, 16 Aug 2005 09:09:25 -0700
Subject: [dba-SQLServer] Moving databases (SQL Server 7)
In-Reply-To: <61F915314798D311A2F800A0C9C8318807225EBB@dibble.observatory.donnslaw.co.uk>
References: <61F915314798D311A2F800A0C9C8318807225EBB@dibble.observatory.donnslaw.co.uk>
Message-ID:
You'll need to move over the maintenace jobs manually, you can do it easily
enough though, in the msdb look for the sysjobs tables and derivatives...
depending on how many jobs you have this might be a bit timeconsuming
matching up everything.
On 8/16/05, Roz Clarke wrote:
>
> Thanks Martin
>
> That says it is a SQL 2000 wizard though :(
>
> -----Original Message-----
> From: Martin Reid [mailto:mwp.reid at qub.ac.uk]
> Sent: 16 August 2005 14:27
> To: dba-sqlserver at databaseadvisors.com
> Subject: Re: [dba-SQLServer] Moving databases (SQL Server 7)
>
>
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adminsql/ad
> _onmigwiz_0z50.asp
>
>
>
> Martin
>
>
>
> ----- Original Message -----
> From: "Roz Clarke"
> To:
> Sent: Tuesday, August 16, 2005 2:22 PM
> Subject: [dba-SQLServer] Moving databases (SQL Server 7)
>
>
> > Hi all
> >
> > I have 2 databases that I need to transfer from one SQL Server server
> > to another. I need the data, but I also need the logins, security
> > settings, maintenance plans, jobs etc.
> >
> > Up to now I have only ever used backup and restore to copy databases
> > (data
> > only) on a single server.
> >
> > What is the best way to do this? I have been asked to do it in the
> > next 2 hours.
> >
> > ha ha ha ha ha ha
> >
> > TIA
> >
> > Roz
> >
>
>
>
> ----------------------------------------------------------------------------
> ----
>
>
> >
> > The contents of this message and any attachments are the property of
> > Donns
> > Solicitors
> > and are intended for the confidential use of the named recipient only.
> > They may be legally
> > privileged and should not be communicated to, or relied upon, by any
> other
>
> > party without
> > our written consent. If you are not the addressee, please notify us
> > immediately so that we
> > can make arrangements for its return. You should not show this e-mail to
> > any person or
> > take copies as you may be committing a criminal or civil offence for
> which
>
> > you may be
> > liable. The statement and opinions expressed in this e-mail message are
> > those of the
> > writer, and do not necessarily represent that of Donns Solicitors.
> > Although any files attached
> > to this e-mail will have been checked with virus protection software
> prior
>
> > to transmission,
> > you should carry out your own virus check before opening any attachment.
> > Donns Solicitors does not accept any liability for any damage or loss
> > which may be caused
> > by software viruses...
> >
>
>
>
> ----------------------------------------------------------------------------
> ----
>
>
> > _______________________________________________
> > 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
>
>
> The contents of this message and any attachments are the property of Donns
> Solicitors
> and are intended for the confidential use of the named recipient only.
> They may be legally
> privileged and should not be communicated to, or relied upon, by any other
> party without
> our written consent. If you are not the addressee, please notify us
> immediately so that we
> can make arrangements for its return. You should not show this e-mail to
> any person or
> take copies as you may be committing a criminal or civil offence for which
> you may be
> liable. The statement and opinions expressed in this e-mail message are
> those of the
> writer, and do not necessarily represent that of Donns Solicitors.
> Although any files attached
> to this e-mail will have been checked with virus protection software prior
> to transmission,
> you should carry out your own virus check before opening any attachment.
> Donns Solicitors does not accept any liability for any damage or loss
> which may be caused
> by software viruses...
>
>
> _______________________________________________
> dba-SQLServer mailing list
> dba-SQLServer at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
> http://www.databaseadvisors.com
>
>
>
>
--
-Francisco
http://pcthis.blogspot.com |PC news with out the jargon!
http://sqlthis.blogspot.com | Tsql and More...
From roz.clarke at donnslaw.co.uk Wed Aug 17 03:23:05 2005
From: roz.clarke at donnslaw.co.uk (Roz Clarke)
Date: Wed, 17 Aug 2005 09:23:05 +0100
Subject: [dba-SQLServer] Moving databases (SQL Server 7)
Message-ID: <61F915314798D311A2F800A0C9C8318807225EC2@dibble.observatory.donnslaw.co.uk>
Thanks Francisco, Debbie & Martin
The Export wizard got my data & logins across, and although there was an
error at the end (properties for objects in the Master could not be changed?
something like that) it seems to have brought everything over. Got lots of
checking to do now...
We don't have too many jobs, and this is a temporary home for the database
anyway, so I may leave setting those up until the 'real' server is upgraded
and the database goes back.
Thanks again
-----Original Message-----
From: Francisco Tapia [mailto:fhtapia at gmail.com]
Sent: 16 August 2005 17:09
To: dba-sqlserver at databaseadvisors.com
Subject: Re: [dba-SQLServer] Moving databases (SQL Server 7)
You'll need to move over the maintenace jobs manually, you can do it easily
enough though, in the msdb look for the sysjobs tables and derivatives...
depending on how many jobs you have this might be a bit timeconsuming
matching up everything.
On 8/16/05, Roz Clarke wrote:
>
> Thanks Martin
>
> That says it is a SQL 2000 wizard though :(
>
> -----Original Message-----
> From: Martin Reid [mailto:mwp.reid at qub.ac.uk]
> Sent: 16 August 2005 14:27
> To: dba-sqlserver at databaseadvisors.com
> Subject: Re: [dba-SQLServer] Moving databases (SQL Server 7)
>
>
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/admin
> sql/ad
> _onmigwiz_0z50.asp
>
>
>
> Martin
>
>
>
> ----- Original Message -----
> From: "Roz Clarke"
> To:
> Sent: Tuesday, August 16, 2005 2:22 PM
> Subject: [dba-SQLServer] Moving databases (SQL Server 7)
>
>
> > Hi all
> >
> > I have 2 databases that I need to transfer from one SQL Server
> > server to another. I need the data, but I also need the logins,
> > security settings, maintenance plans, jobs etc.
> >
> > Up to now I have only ever used backup and restore to copy databases
> > (data
> > only) on a single server.
> >
> > What is the best way to do this? I have been asked to do it in the
> > next 2 hours.
> >
> > ha ha ha ha ha ha
> >
> > TIA
> >
> > Roz
> >
>
>
>
> ----------------------------------------------------------------------
> ------
> ----
>
>
> >
> > The contents of this message and any attachments are the property of
> > Donns Solicitors
> > and are intended for the confidential use of the named recipient only.
> > They may be legally
> > privileged and should not be communicated to, or relied upon, by any
> other
>
> > party without
> > our written consent. If you are not the addressee, please notify us
> > immediately so that we
> > can make arrangements for its return. You should not show this e-mail to
> > any person or
> > take copies as you may be committing a criminal or civil offence for
> which
>
> > you may be
> > liable. The statement and opinions expressed in this e-mail message are
> > those of the
> > writer, and do not necessarily represent that of Donns Solicitors.
> > Although any files attached
> > to this e-mail will have been checked with virus protection software
> prior
>
> > to transmission,
> > you should carry out your own virus check before opening any attachment.
> > Donns Solicitors does not accept any liability for any damage or loss
> > which may be caused
> > by software viruses...
> >
>
>
>
>
----------------------------------------------------------------------------
> ----
>
>
> > _______________________________________________
> > 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
>
>
> The contents of this message and any attachments are the property of Donns
> Solicitors
> and are intended for the confidential use of the named recipient only.
> They may be legally
> privileged and should not be communicated to, or relied upon, by any other
> party without
> our written consent. If you are not the addressee, please notify us
> immediately so that we
> can make arrangements for its return. You should not show this e-mail to
> any person or
> take copies as you may be committing a criminal or civil offence for which
> you may be
> liable. The statement and opinions expressed in this e-mail message are
> those of the
> writer, and do not necessarily represent that of Donns Solicitors.
> Although any files attached
> to this e-mail will have been checked with virus protection software prior
> to transmission,
> you should carry out your own virus check before opening any attachment.
> Donns Solicitors does not accept any liability for any damage or loss
> which may be caused
> by software viruses...
>
>
> _______________________________________________
> dba-SQLServer mailing list
> dba-SQLServer at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
> http://www.databaseadvisors.com
>
>
>
>
--
-Francisco
http://pcthis.blogspot.com |PC news with out the jargon!
http://sqlthis.blogspot.com | Tsql and More...
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
-------------- next part --------------
The contents of this message and any attachments are the property of Donns Solicitors
and are intended for the confidential use of the named recipient only. They may be legally
privileged and should not be communicated to, or relied upon, by any other party without
our written consent. If you are not the addressee, please notify us immediately so that we
can make arrangements for its return. You should not show this e-mail to any person or
take copies as you may be committing a criminal or civil offence for which you may be
liable. The statement and opinions expressed in this e-mail message are those of the
writer, and do not necessarily represent that of Donns Solicitors. Although any files attached
to this e-mail will have been checked with virus protection software prior to transmission,
you should carry out your own virus check before opening any attachment.
Donns Solicitors does not accept any liability for any damage or loss which may be caused
by software viruses...
From chris at denverdb.com Wed Aug 17 08:33:01 2005
From: chris at denverdb.com (Chris Mackin)
Date: Wed, 17 Aug 2005 07:33:01 -0600
Subject: [dba-SQLServer] Moving databases (SQL Server 7)
In-Reply-To: <61F915314798D311A2F800A0C9C8318807225EC2@dibble.observatory.donnslaw.co.uk>
Message-ID:
If you're using SQL authentication then the logins may have been orphaned
(Windows Authnticated logins will remain fine). So if you do have orphaned
users (valid in the database but not in on the server) just do a search on
resolving orphaned logins and you should get several scripts on how to
resolve.
-Chris Mackin
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of Roz
Clarke
Sent: Wednesday, August 17, 2005 2:23 AM
To: 'dba-sqlserver at databaseadvisors.com'
Subject: RE: [dba-SQLServer] Moving databases (SQL Server 7)
Thanks Francisco, Debbie & Martin
The Export wizard got my data & logins across, and although there was an
error at the end (properties for objects in the Master could not be changed?
something like that) it seems to have brought everything over. Got lots of
checking to do now...
We don't have too many jobs, and this is a temporary home for the database
anyway, so I may leave setting those up until the 'real' server is upgraded
and the database goes back.
Thanks again
-----Original Message-----
From: Francisco Tapia [mailto:fhtapia at gmail.com]
Sent: 16 August 2005 17:09
To: dba-sqlserver at databaseadvisors.com
Subject: Re: [dba-SQLServer] Moving databases (SQL Server 7)
You'll need to move over the maintenace jobs manually, you can do it easily
enough though, in the msdb look for the sysjobs tables and derivatives...
depending on how many jobs you have this might be a bit timeconsuming
matching up everything.
On 8/16/05, Roz Clarke wrote:
>
> Thanks Martin
>
> That says it is a SQL 2000 wizard though :(
>
> -----Original Message-----
> From: Martin Reid [mailto:mwp.reid at qub.ac.uk]
> Sent: 16 August 2005 14:27
> To: dba-sqlserver at databaseadvisors.com
> Subject: Re: [dba-SQLServer] Moving databases (SQL Server 7)
>
>
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/admin
> sql/ad
> _onmigwiz_0z50.asp
>
>
>
> Martin
>
>
>
> ----- Original Message -----
> From: "Roz Clarke"
> To:
> Sent: Tuesday, August 16, 2005 2:22 PM
> Subject: [dba-SQLServer] Moving databases (SQL Server 7)
>
>
> > Hi all
> >
> > I have 2 databases that I need to transfer from one SQL Server
> > server to another. I need the data, but I also need the logins,
> > security settings, maintenance plans, jobs etc.
> >
> > Up to now I have only ever used backup and restore to copy databases
> > (data
> > only) on a single server.
> >
> > What is the best way to do this? I have been asked to do it in the
> > next 2 hours.
> >
> > ha ha ha ha ha ha
> >
> > TIA
> >
> > Roz
> >
>
>
>
> ----------------------------------------------------------------------
> ------
> ----
>
>
> >
> > The contents of this message and any attachments are the property of
> > Donns Solicitors
> > and are intended for the confidential use of the named recipient only.
> > They may be legally
> > privileged and should not be communicated to, or relied upon, by any
> other
>
> > party without
> > our written consent. If you are not the addressee, please notify us
> > immediately so that we
> > can make arrangements for its return. You should not show this e-mail to
> > any person or
> > take copies as you may be committing a criminal or civil offence for
> which
>
> > you may be
> > liable. The statement and opinions expressed in this e-mail message are
> > those of the
> > writer, and do not necessarily represent that of Donns Solicitors.
> > Although any files attached
> > to this e-mail will have been checked with virus protection software
> prior
>
> > to transmission,
> > you should carry out your own virus check before opening any attachment.
> > Donns Solicitors does not accept any liability for any damage or loss
> > which may be caused
> > by software viruses...
> >
>
>
>
>
----------------------------------------------------------------------------
> ----
>
>
> > _______________________________________________
> > 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
>
>
> The contents of this message and any attachments are the property of Donns
> Solicitors
> and are intended for the confidential use of the named recipient only.
> They may be legally
> privileged and should not be communicated to, or relied upon, by any other
> party without
> our written consent. If you are not the addressee, please notify us
> immediately so that we
> can make arrangements for its return. You should not show this e-mail to
> any person or
> take copies as you may be committing a criminal or civil offence for which
> you may be
> liable. The statement and opinions expressed in this e-mail message are
> those of the
> writer, and do not necessarily represent that of Donns Solicitors.
> Although any files attached
> to this e-mail will have been checked with virus protection software prior
> to transmission,
> you should carry out your own virus check before opening any attachment.
> Donns Solicitors does not accept any liability for any damage or loss
> which may be caused
> by software viruses...
>
>
> _______________________________________________
> dba-SQLServer mailing list
> dba-SQLServer at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
> http://www.databaseadvisors.com
>
>
>
>
--
-Francisco
http://pcthis.blogspot.com |PC news with out the jargon!
http://sqlthis.blogspot.com | Tsql and More...
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
From Clay.Passick at minneapolis.edu Thu Aug 18 11:43:36 2005
From: Clay.Passick at minneapolis.edu (Clay Passick)
Date: Thu, 18 Aug 2005 11:43:36 -0500
Subject: [dba-SQLServer] Backup/Restore Question
Message-ID:
Hi to all
I am trying to restore a database from a server file backup. I do not
have a backup through SQL Server as it is a database in development and
not production at this point. Is there a way to take the restored from
backup files of database A
(A_data.mdf and A_log.ldf) and rename those files as B_data.mdf and
B_log.ldf and restore them to a newly created database B. I don't want
to restore over this database in development just retrieve a table or
two. Everything I have tried at this point either errors out or looks
like it will overwrite the original database because it knows that
originally it was database A.
Clay
From kens.programming at verizon.net Thu Aug 18 12:01:46 2005
From: kens.programming at verizon.net (kens.programming)
Date: Thu, 18 Aug 2005 10:01:46 -0700
Subject: [dba-SQLServer] Backup/Restore Question
In-Reply-To:
Message-ID: <0ILF00FRMGFQ9RR0@vms048.mailsrvcs.net>
Clay,
You would right click on a database, select "All Tasks" and "Restore
Database". First thing I like to do so that I don't forget is to change the
database name in the drop down labeled "Restore as database:" to the name I
want to give it. Then, select the radio button on the General tab labeled
"From Device". The General tab will change with this selection and you will
need to click on the button labeled "Select Devices", at which point you
will need to drill down to the location of your backup file. Then you need
to go to the Options tab and change the Move to Physical File Name to an
appropriate path for it to create the new mdf and ldf files. I always like
to check the "Force Restore over existing database" checkbox, but that is
just me.
Hope this helps
Ken
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Clay
Passick
Sent: Thursday, August 18, 2005 9:44 AM
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] Backup/Restore Question
Hi to all
I am trying to restore a database from a server file backup. I do not
have a backup through SQL Server as it is a database in development and
not production at this point. Is there a way to take the restored from
backup files of database A
(A_data.mdf and A_log.ldf) and rename those files as B_data.mdf and
B_log.ldf and restore them to a newly created database B. I don't want
to restore over this database in development just retrieve a table or
two. Everything I have tried at this point either errors out or looks
like it will overwrite the original database because it knows that
originally it was database A.
Clay
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 8/18/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 8/18/2005
From kens.programming at verizon.net Thu Aug 18 12:11:22 2005
From: kens.programming at verizon.net (kens.programming)
Date: Thu, 18 Aug 2005 10:11:22 -0700
Subject: [dba-SQLServer] Backup/Restore Question
In-Reply-To: <0ILF00FRMGFQ9RR0@vms048.mailsrvcs.net>
Message-ID: <0ILF0051IGVRRWC7@vms042.mailsrvcs.net>
Sorry, now that I have read this again, I see that this is not what you were
asking for.
Ken
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of
kens.programming
Sent: Thursday, August 18, 2005 10:02 AM
To: dba-sqlserver at databaseadvisors.com
Subject: RE: [dba-SQLServer] Backup/Restore Question
Clay,
You would right click on a database, select "All Tasks" and "Restore
Database". First thing I like to do so that I don't forget is to change the
database name in the drop down labeled "Restore as database:" to the name I
want to give it. Then, select the radio button on the General tab labeled
"From Device". The General tab will change with this selection and you will
need to click on the button labeled "Select Devices", at which point you
will need to drill down to the location of your backup file. Then you need
to go to the Options tab and change the Move to Physical File Name to an
appropriate path for it to create the new mdf and ldf files. I always like
to check the "Force Restore over existing database" checkbox, but that is
just me.
Hope this helps
Ken
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Clay
Passick
Sent: Thursday, August 18, 2005 9:44 AM
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] Backup/Restore Question
Hi to all
I am trying to restore a database from a server file backup. I do not
have a backup through SQL Server as it is a database in development and
not production at this point. Is there a way to take the restored from
backup files of database A
(A_data.mdf and A_log.ldf) and rename those files as B_data.mdf and
B_log.ldf and restore them to a newly created database B. I don't want
to restore over this database in development just retrieve a table or
two. Everything I have tried at this point either errors out or looks
like it will overwrite the original database because it knows that
originally it was database A.
Clay
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 8/18/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 8/18/2005
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 8/18/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 8/18/2005
From artful at rogers.com Thu Aug 18 16:22:27 2005
From: artful at rogers.com (Arthur Fuller)
Date: Thu, 18 Aug 2005 17:22:27 -0400
Subject: [dba-SQLServer] Backup/Restore Question
In-Reply-To: <0ILF0051IGVRRWC7@vms042.mailsrvcs.net>
Message-ID: <200508182122.j7ILMQR04104@databaseadvisors.com>
Consult sp_attach_single_file_db in BOL. It will supply the arguments you
need to attach such a database to your server.
HTH,
Arthur
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of
kens.programming
Sent: August 18, 2005 1:11 PM
To: dba-sqlserver at databaseadvisors.com
Subject: RE: [dba-SQLServer] Backup/Restore Question
Sorry, now that I have read this again, I see that this is not what you were
asking for.
Ken
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of
kens.programming
Sent: Thursday, August 18, 2005 10:02 AM
To: dba-sqlserver at databaseadvisors.com
Subject: RE: [dba-SQLServer] Backup/Restore Question
Clay,
You would right click on a database, select "All Tasks" and "Restore
Database". First thing I like to do so that I don't forget is to change the
database name in the drop down labeled "Restore as database:" to the name I
want to give it. Then, select the radio button on the General tab labeled
"From Device". The General tab will change with this selection and you will
need to click on the button labeled "Select Devices", at which point you
will need to drill down to the location of your backup file. Then you need
to go to the Options tab and change the Move to Physical File Name to an
appropriate path for it to create the new mdf and ldf files. I always like
to check the "Force Restore over existing database" checkbox, but that is
just me.
Hope this helps
Ken
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Clay
Passick
Sent: Thursday, August 18, 2005 9:44 AM
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] Backup/Restore Question
Hi to all
I am trying to restore a database from a server file backup. I do not
have a backup through SQL Server as it is a database in development and
not production at this point. Is there a way to take the restored from
backup files of database A
(A_data.mdf and A_log.ldf) and rename those files as B_data.mdf and
B_log.ldf and restore them to a newly created database B. I don't want
to restore over this database in development just retrieve a table or
two. Everything I have tried at this point either errors out or looks
like it will overwrite the original database because it knows that
originally it was database A.
Clay
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 8/18/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 8/18/2005
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 8/18/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 8/18/2005
_______________________________________________
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 18 16:40:54 2005
From: tuxedo_man at hotmail.com (Billy Pang)
Date: Thu, 18 Aug 2005 21:40:54 +0000
Subject: [dba-SQLServer] Backup/Restore Question
In-Reply-To:
Message-ID:
you want a copy of the same db on the same server without affecting the
existing db, right?
the following code restores a db from backup file; the new user db will use
the physical db file names you give to it....
RESTORE DATABASE [b] FROM
DISK = N'c:\the_backup_file_name_of_a_db.bak' WITH FILE = 1,
NOUNLOAD , STATS = 10, RECOVERY ,
MOVE N'a_Data' TO N'c:\Program Files\Microsoft SQL
Server\MSSQL\data\b_data.mdf',
MOVE N'a_Log' TO N'c:\Program Files\Microsoft SQL
Server\MSSQL\data\b_log.ldf'
the most important part is the "RESTORE DATABASE [b]" since this will tell
you the name of the db you are trying to restore. that is, if it is
"RESTORE DATABASE [a]", you will overwriting the existing database "a"
(which is something you don't want). the last two lines with the MOVE
option indicates the new physical file names to use for the logical data
files that are already present in the backed up db. To be thorough, look up
"restore" in BOL to make sure you understand before proceeding.
hth
Billy
>From: "Clay Passick"
>Reply-To: dba-sqlserver at databaseadvisors.com
>To:
>Subject: [dba-SQLServer] Backup/Restore Question
>Date: Thu, 18 Aug 2005 11:43:36 -0500
>
>Hi to all
>
>I am trying to restore a database from a server file backup. I do not
>have a backup through SQL Server as it is a database in development and
>not production at this point. Is there a way to take the restored from
>backup files of database A
>(A_data.mdf and A_log.ldf) and rename those files as B_data.mdf and
>B_log.ldf and restore them to a newly created database B. I don't want
>to restore over this database in development just retrieve a table or
>two. Everything I have tried at this point either errors out or looks
>like it will overwrite the original database because it knows that
>originally it was database A.
>
>Clay
>_______________________________________________
>dba-SQLServer mailing list
>dba-SQLServer at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
>http://www.databaseadvisors.com
>
From ssharkins at bellsouth.net Fri Aug 19 11:23:28 2005
From: ssharkins at bellsouth.net (Susan Harkins)
Date: Fri, 19 Aug 2005 12:23:28 -0400
Subject: [dba-SQLServer] importing Access data
Message-ID: <20050819162329.UHCL9746.ibm58aec.bellsouth.net@SUSANONE>
I've got an existing SQL Server database and an Access database. The client
wants to dump the Access data into the SQL Sever database and dump the .mdb
file completely. This is a one-time job.
I figure I have two approaches:
1. We can clear a block of time to manually import the Access data. I'd be
working with a backup copy and they'd have to agree not to use the SQL
Server database while I was importing --
2. After reviewing the backup, I could write the necessary stored procedures
and let them run them to import the data themselves. That way, they wouldn't
have any downtime.
Any comments? Any other suggestions? I don't have to convert anything other
that Access datatypes that won't import as is -- any comments about that? I
don't anticipate much trouble outside of maybe having to dump some dates,
but I haven't reviewed the Access data yet, so that might not be necessary.
Susan H.
From fhtapia at gmail.com Fri Aug 19 12:01:15 2005
From: fhtapia at gmail.com (Francisco Tapia)
Date: Fri, 19 Aug 2005 10:01:15 -0700
Subject: [dba-SQLServer] importing Access data
In-Reply-To: <20050819162329.UHCL9746.ibm58aec.bellsouth.net@SUSANONE>
References: <20050819162329.UHCL9746.ibm58aec.bellsouth.net@SUSANONE>
Message-ID:
The way we did it is write some DTS jobs that would truncate the Sql Server
tables before the import, this afforded us the ability to import fresh data
at a whim while still developing stored procedures for data access. Will the
customer still be using the current FE? If so the import process ought to be
a huge breeze, since you're just importing data, you would not need to write
any sprocs, just perhaps views so that the end users do not hit the actual
datatabales themselves.
On 8/19/05, Susan Harkins wrote:
>
> I've got an existing SQL Server database and an Access database. The
> client
> wants to dump the Access data into the SQL Sever database and dump the
> .mdb
> file completely. This is a one-time job.
>
> I figure I have two approaches:
>
> 1. We can clear a block of time to manually import the Access data. I'd be
> working with a backup copy and they'd have to agree not to use the SQL
> Server database while I was importing --
> 2. After reviewing the backup, I could write the necessary stored
> procedures
> and let them run them to import the data themselves. That way, they
> wouldn't
> have any downtime.
>
> Any comments? Any other suggestions? I don't have to convert anything
> other
> that Access datatypes that won't import as is -- any comments about that?
> I
> don't anticipate much trouble outside of maybe having to dump some dates,
> but I haven't reviewed the Access data yet, so that might not be
> necessary.
>
> Susan H.
>
> _______________________________________________
> dba-SQLServer mailing list
> dba-SQLServer at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
> http://www.databaseadvisors.com
>
>
--
-Francisco
http://pcthis.blogspot.com |PC news with out the jargon!
http://sqlthis.blogspot.com | Tsql and More...
From accessd at shaw.ca Fri Aug 19 11:57:31 2005
From: accessd at shaw.ca (Jim Lawrence)
Date: Fri, 19 Aug 2005 09:57:31 -0700
Subject: [dba-SQLServer] importing Access data
In-Reply-To: <20050819162329.UHCL9746.ibm58aec.bellsouth.net@SUSANONE>
Message-ID: <0ILH009B1B3UKV@l-daemon>
Hi Susan:
I am going through a similar event. The only difference is the source
database is a legacy DB. I puzzled over what would be the best method and
decided on writing a full set of queries and DTS import routines which will
extract and manipulate the data out of the existing database and into the MS
SQL. Most is done from the SQL end.
When the testing is completed I will move the client over in an evening and
they will run in parallel for a month and then drop the old system. (The FE
is also going to be new; starting from a DOS based DB named Clarion to
ASP.Net)
To make a long story short, build, test and automate the import routines,
using the backup data and then run the data import yourself. This is because
if any data in the old system is wrong... missing keys, missing records and
has records with bad-data... (even since your latest backup test data) the
import will crash with no one to help.
HTH
Jim
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan
Harkins
Sent: Friday, August 19, 2005 9:23 AM
To: SQLList
Subject: [dba-SQLServer] importing Access data
I've got an existing SQL Server database and an Access database. The client
wants to dump the Access data into the SQL Sever database and dump the .mdb
file completely. This is a one-time job.
I figure I have two approaches:
1. We can clear a block of time to manually import the Access data. I'd be
working with a backup copy and they'd have to agree not to use the SQL
Server database while I was importing --
2. After reviewing the backup, I could write the necessary stored procedures
and let them run them to import the data themselves. That way, they wouldn't
have any downtime.
Any comments? Any other suggestions? I don't have to convert anything other
that Access datatypes that won't import as is -- any comments about that? I
don't anticipate much trouble outside of maybe having to dump some dates,
but I haven't reviewed the Access data yet, so that might not be necessary.
Susan H.
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
From martyconnelly at shaw.ca Fri Aug 19 12:43:11 2005
From: martyconnelly at shaw.ca (MartyConnelly)
Date: Fri, 19 Aug 2005 10:43:11 -0700
Subject: [dba-SQLServer] importing Access data
References: <20050819162329.UHCL9746.ibm58aec.bellsouth.net@SUSANONE>
Message-ID: <43061A2F.3010004@shaw.ca>
Here is a brief checklist of possible gotcha upsizing problems.
http://www.upsizewizard.com/index.cfm?fuseaction=browse&id=5036&pageid=22
I also use Enterprise Architect's MDB to SQL reengineering UML methods
to check data model
But this takes awhile for familiarization. And is more belts and
suspenders to satisfy DBA's
http://www.sparxsystems.com.au/ea.htm
Susan Harkins wrote:
>I've got an existing SQL Server database and an Access database. The client
>wants to dump the Access data into the SQL Sever database and dump the .mdb
>file completely. This is a one-time job.
>
>I figure I have two approaches:
>
>1. We can clear a block of time to manually import the Access data. I'd be
>working with a backup copy and they'd have to agree not to use the SQL
>Server database while I was importing --
>2. After reviewing the backup, I could write the necessary stored procedures
>and let them run them to import the data themselves. That way, they wouldn't
>have any downtime.
>
>Any comments? Any other suggestions? I don't have to convert anything other
>that Access datatypes that won't import as is -- any comments about that? I
>don't anticipate much trouble outside of maybe having to dump some dates,
>but I haven't reviewed the Access data yet, so that might not be necessary.
>
>Susan H.
>
>_______________________________________________
>dba-SQLServer mailing list
>dba-SQLServer at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
>http://www.databaseadvisors.com
>
>
>
>
>
--
Marty Connelly
Victoria, B.C.
Canada
From tuxedo_man at hotmail.com Fri Aug 19 13:46:24 2005
From: tuxedo_man at hotmail.com (Billy Pang)
Date: Fri, 19 Aug 2005 18:46:24 +0000
Subject: [dba-SQLServer] importing Access data
In-Reply-To: <20050819162329.UHCL9746.ibm58aec.bellsouth.net@SUSANONE>
Message-ID:
if you are very strict about the naming convention of objects in your sql
server db, i would suggest to look over the names of the objects after you
have imported the structures from access to sql server (ie. script it out
from EM) and make any corrections if necessary. I purely use dts or sql to
do the data import but to replicate the db structure in sql server, maybe
upsizing wizard is best way to go? I'd prefer dts any day over upsizing
wizard for copy the structure (i'm talking just about the table structure,
not data) but have not been able to figure out how to transfer the defaults
in access into sql server; if anyone knows how, i'd be interested to know.
Billy
>From: "Susan Harkins"
>Reply-To: dba-sqlserver at databaseadvisors.com
>To: "SQLList"
>Subject: [dba-SQLServer] importing Access data
>Date: Fri, 19 Aug 2005 12:23:28 -0400
>
>I've got an existing SQL Server database and an Access database. The client
>wants to dump the Access data into the SQL Sever database and dump the .mdb
>file completely. This is a one-time job.
>
>I figure I have two approaches:
>
>1. We can clear a block of time to manually import the Access data. I'd be
>working with a backup copy and they'd have to agree not to use the SQL
>Server database while I was importing --
>2. After reviewing the backup, I could write the necessary stored
>procedures
>and let them run them to import the data themselves. That way, they
>wouldn't
>have any downtime.
>
>Any comments? Any other suggestions? I don't have to convert anything other
>that Access datatypes that won't import as is -- any comments about that? I
>don't anticipate much trouble outside of maybe having to dump some dates,
>but I haven't reviewed the Access data yet, so that might not be necessary.
>
>Susan H.
>
>_______________________________________________
>dba-SQLServer mailing list
>dba-SQLServer at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
>http://www.databaseadvisors.com
>
From ssharkins at bellsouth.net Fri Aug 19 14:20:39 2005
From: ssharkins at bellsouth.net (Susan Harkins)
Date: Fri, 19 Aug 2005 15:20:39 -0400
Subject: [dba-SQLServer] importing Access data
In-Reply-To:
Message-ID: <20050819192040.TYB1144.ibm62aec.bellsouth.net@SUSANONE>
Will the customer still be using the current FE? If so the import process
ought to be a huge breeze, since you're just importing data, you would not
need to write any sprocs, just perhaps views so that the end users do not
hit the actual datatabales themselves.
=============Right now, all they want is to map the Access fields to
specific SQL Server columns -- the fe is already there. It sounds pretty
easy to me. If I were there, I could just import, fix, import, fix... but
I'm not on-site.
Susan H.
From ssharkins at bellsouth.net Tue Aug 23 08:19:25 2005
From: ssharkins at bellsouth.net (Susan Harkins)
Date: Tue, 23 Aug 2005 09:19:25 -0400
Subject: [dba-SQLServer] InStr equivalent
Message-ID: <20050823131926.OCCX3347.ibm60aec.bellsouth.net@SUSANONE>
Does SQL Server have a string function that's similar to Access's InStr() --
I haven't found one.
Susan H.
From mikedorism at verizon.net Tue Aug 23 08:26:39 2005
From: mikedorism at verizon.net (Mike & Doris Manning)
Date: Tue, 23 Aug 2005 09:26:39 -0400
Subject: [dba-SQLServer] InStr equivalent
In-Reply-To: <20050823131926.OCCX3347.ibm60aec.bellsouth.net@SUSANONE>
Message-ID: <000001c5a7e6$4c5ac160$2e01a8c0@dorismanning>
Yes it does. Look up CHARINDEX in BOL.
Doris Manning
mikedorism at verizon.net
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan
Harkins
Sent: Tuesday, August 23, 2005 9:19 AM
To: SQLList
Subject: [dba-SQLServer] InStr equivalent
Does SQL Server have a string function that's similar to Access's InStr() --
I haven't found one.
Susan H.
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
From jonathan.guise at donnslaw.co.uk Tue Aug 23 08:28:20 2005
From: jonathan.guise at donnslaw.co.uk (Jonathan Guise)
Date: Tue, 23 Aug 2005 14:28:20 +0100
Subject: [dba-SQLServer] InStr equivalent
Message-ID: <61F915314798D311A2F800A0C9C8318808335CE2@dibble.observatory.donnslaw.co.uk>
Yes there is a SQL server equivalent called substring:
substring(,,)
Regards,
-----Original Message-----
From: Susan Harkins [mailto:ssharkins at bellsouth.net]
Sent: 23-Aug-2005 14:19
To: SQLList
Subject: [dba-SQLServer] InStr equivalent
Does SQL Server have a string function that's similar to Access's InStr() --
I haven't found one.
Susan H.
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
-------------- next part --------------
The contents of this message and any attachments are the property of Donns Solicitors
and are intended for the confidential use of the named recipient only. They may be legally
privileged and should not be communicated to, or relied upon, by any other party without
our written consent. If you are not the addressee, please notify us immediately so that we
can make arrangements for its return. You should not show this e-mail to any person or
take copies as you may be committing a criminal or civil offence for which you may be
liable. The statement and opinions expressed in this e-mail message are those of the
writer, and do not necessarily represent that of Donns Solicitors. Although any files attached
to this e-mail will have been checked with virus protection software prior to transmission,
you should carry out your own virus check before opening any attachment.
Donns Solicitors does not accept any liability for any damage or loss which may be caused
by software viruses...
From ssharkins at bellsouth.net Tue Aug 23 08:28:36 2005
From: ssharkins at bellsouth.net (Susan Harkins)
Date: Tue, 23 Aug 2005 09:28:36 -0400
Subject: [dba-SQLServer] InStr equivalent
In-Reply-To: <000001c5a7e6$4c5ac160$2e01a8c0@dorismanning>
Message-ID: <20050823132836.OFVT3347.ibm60aec.bellsouth.net@SUSANONE>
Thanks Doris -- I'll take a look.
Susan H.
Yes it does. Look up CHARINDEX in BOL.
From mikedorism at verizon.net Tue Aug 23 08:40:09 2005
From: mikedorism at verizon.net (Mike & Doris Manning)
Date: Tue, 23 Aug 2005 09:40:09 -0400
Subject: [dba-SQLServer] InStr equivalent
In-Reply-To: <61F915314798D311A2F800A0C9C8318808335CE2@dibble.observatory.donnslaw.co.uk>
Message-ID: <000a01c5a7e8$2f0dc510$2e01a8c0@dorismanning>
SubString isn't the same as InStr. InStr returns the position of the string
being searched for while SubString returns a string in a specific place.
Doris Manning
mikedorism at verizon.net
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Jonathan
Guise
Sent: Tuesday, August 23, 2005 9:28 AM
To: 'dba-sqlserver at databaseadvisors.com'
Subject: RE: [dba-SQLServer] InStr equivalent
Yes there is a SQL server equivalent called substring:
substring(,,)
Regards,
-----Original Message-----
From: Susan Harkins [mailto:ssharkins at bellsouth.net]
Sent: 23-Aug-2005 14:19
To: SQLList
Subject: [dba-SQLServer] InStr equivalent
Does SQL Server have a string function that's similar to Access's InStr() --
I haven't found one.
Susan H.
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
From ssharkins at bellsouth.net Tue Aug 23 08:41:21 2005
From: ssharkins at bellsouth.net (Susan Harkins)
Date: Tue, 23 Aug 2005 09:41:21 -0400
Subject: [dba-SQLServer] InStr equivalent
In-Reply-To: <000a01c5a7e8$2f0dc510$2e01a8c0@dorismanning>
Message-ID: <20050823134121.OLGU3347.ibm60aec.bellsouth.net@SUSANONE>
Right -- I know about Substring -- I need the specific position of the
string as a value --
Susan H.
SubString isn't the same as InStr. InStr returns the position of the string
being searched for while SubString returns a string in a specific place.
From artful at rogers.com Tue Aug 23 11:35:51 2005
From: artful at rogers.com (Arthur Fuller)
Date: Tue, 23 Aug 2005 12:35:51 -0400
Subject: [dba-SQLServer] InStr equivalent
In-Reply-To: <20050823134121.OLGU3347.ibm60aec.bellsouth.net@SUSANONE>
Message-ID: <200508231635.j7NGZuR24677@databaseadvisors.com>
Look up CharIndex() in BOL.
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan
Harkins
Sent: August 23, 2005 9:41 AM
To: dba-sqlserver at databaseadvisors.com
Subject: RE: [dba-SQLServer] InStr equivalent
Right -- I know about Substring -- I need the specific position of the
string as a value --
Susan H.
SubString isn't the same as InStr. InStr returns the position of the string
being searched for while SubString returns a string in a specific place.
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
From jwcolby at colbyconsulting.com Wed Aug 24 10:23:53 2005
From: jwcolby at colbyconsulting.com (John W. Colby)
Date: Wed, 24 Aug 2005 11:23:53 -0400
Subject: [dba-SQLServer] Executing a SP
Message-ID: <010401c5a8bf$d9c36b90$6c7aa8c0@ColbyM6805>
How do I execute a SP to see the resulting data.
The SP is:
----------------------------------------------------------------------------
-----
-- Stored procedure that will select an existing row from the table
'WebNewsSource'
-- based on the Primary Key.
-- Gets: @ID int
----------------------------------------------------------------------------
-----
CREATE PROCEDURE [dbo].[upWebNewsSource_SelectOne]
@ID int
AS
SET NOCOUNT ON
-- SELECT an existing row from the table.
SELECT
[ID],
[Source],
[RSSURL],
[RSSSelect],
[RSSTitle],
[RSSLink],
[RSSDescription]
FROM [dbo].[WebNewsSource]
WHERE
[ID] = @ID
GO
It is in database RSSFeeds
I am logged in and trying to use query analyzer to execute the SP but
obviously don't know how.
Thanks,
John W. Colby
www.ColbyConsulting.com
Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/
From Paul.Hartland at orridge.co.uk Wed Aug 24 10:30:52 2005
From: Paul.Hartland at orridge.co.uk (Paul Hartland)
Date: Wed, 24 Aug 2005 16:30:52 +0100
Subject: [dba-SQLServer] Executing a SP
Message-ID: <14A7AB003EFD444BBB193A23128DA20E5B6A3B@AL-PRI.Aldridge.local>
To execute an SP through Query Analyser try the following:
EXEC upWebNewsSource_SelectOne 'YourPrimaryKeyValue'
Note include the single quotes around your primary key
PAUL HARTLAND
Database Designer/Programmer
paul.hartland at isharp.co.uk
ISHARP
DDI - 01922 472031
Mobile - 07730 523179
ISHARP (Information Services for Hospitality, Audit, Retail and
Pharmacy) provide IT resources for the Christie Group Stock & Inventory
Services companies.
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of John W.
Colby
Sent: 24 August 2005 16:24
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] Executing a SP
How do I execute a SP to see the resulting data.
The SP is:
------------------------------------------------------------------------
----
-----
-- Stored procedure that will select an existing row from the table
'WebNewsSource'
-- based on the Primary Key.
-- Gets: @ID int
------------------------------------------------------------------------
----
-----
CREATE PROCEDURE [dbo].[upWebNewsSource_SelectOne]
@ID int
AS
SET NOCOUNT ON
-- SELECT an existing row from the table.
SELECT
[ID],
[Source],
[RSSURL],
[RSSSelect],
[RSSTitle],
[RSSLink],
[RSSDescription]
FROM [dbo].[WebNewsSource]
WHERE
[ID] = @ID
GO
It is in database RSSFeeds
I am logged in and trying to use query analyzer to execute the SP but
obviously don't know how.
Thanks,
John W. Colby
www.ColbyConsulting.com
Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
_______________________________________________
* This message is confidential.
* This email, its content and any files transmitted with it are intended solely for the addressee and may be legally privileged and/or confidential.
* Access by any other party is unauthorised without the express written permission of the sender.
* If you have received this email in error you may not copy or use the contents, attachments or information in any way and any review, use, dissemination, forwarding, disclosure, alteration, printing of this information is strictly prohibited. Please destroy it and notify the sender via return e-mail.
* This email has been prepared using information believed by Paul Hartland to be reliable and accurate, but the company makes no warranty as to accuracy or completeness. In particular the author does not accept responsibility for changes made to this email after it was sent.
* Any opinions expressed in this document are those of the author and do not necessarily reflect the opinions of the company or its affiliates.
The Orridge web site can be found at:
http://www.orridge.co.uk
From jonathan.guise at donnslaw.co.uk Wed Aug 24 10:32:45 2005
From: jonathan.guise at donnslaw.co.uk (Jonathan Guise)
Date: Wed, 24 Aug 2005 16:32:45 +0100
Subject: [dba-SQLServer] Executing a SP
Message-ID: <61F915314798D311A2F800A0C9C8318808335CF7@dibble.observatory.donnslaw.co.uk>
Try the following in query analyzer: -
____________________________________________________________________
EXEC upWebNewsSource_SelectOne @ID = 3
____________________________________________________________________
-----Original Message-----
From: John W. Colby [mailto:jwcolby at colbyconsulting.com]
Sent: 24-Aug-2005 16:24
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] Executing a SP
How do I execute a SP to see the resulting data.
The SP is:
----------------------------------------------------------------------------
-----
-- Stored procedure that will select an existing row from the table
'WebNewsSource'
-- based on the Primary Key.
-- Gets: @ID int
----------------------------------------------------------------------------
-----
CREATE PROCEDURE [dbo].[upWebNewsSource_SelectOne]
@ID int
AS
SET NOCOUNT ON
-- SELECT an existing row from the table.
SELECT
[ID],
[Source],
[RSSURL],
[RSSSelect],
[RSSTitle],
[RSSLink],
[RSSDescription]
FROM [dbo].[WebNewsSource]
WHERE
[ID] = @ID
GO
It is in database RSSFeeds
I am logged in and trying to use query analyzer to execute the SP but
obviously don't know how.
Thanks,
John W. Colby
www.ColbyConsulting.com
Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
-------------- next part --------------
The contents of this message and any attachments are the property of Donns Solicitors
and are intended for the confidential use of the named recipient only. They may be legally
privileged and should not be communicated to, or relied upon, by any other party without
our written consent. If you are not the addressee, please notify us immediately so that we
can make arrangements for its return. You should not show this e-mail to any person or
take copies as you may be committing a criminal or civil offence for which you may be
liable. The statement and opinions expressed in this e-mail message are those of the
writer, and do not necessarily represent that of Donns Solicitors. Although any files attached
to this e-mail will have been checked with virus protection software prior to transmission,
you should carry out your own virus check before opening any attachment.
Donns Solicitors does not accept any liability for any damage or loss which may be caused
by software viruses...
From jwcolby at colbyconsulting.com Wed Aug 24 10:38:06 2005
From: jwcolby at colbyconsulting.com (John W. Colby)
Date: Wed, 24 Aug 2005 11:38:06 -0400
Subject: [dba-SQLServer] Executing a SP
In-Reply-To: <14A7AB003EFD444BBB193A23128DA20E5B6A3B@AL-PRI.Aldridge.local>
Message-ID: <011901c5a8c1$d71ec680$6c7aa8c0@ColbyM6805>
Thanks, that worked, and the SP returned exactly one record which was
expected. Now to discover why it doesn't return a record in the VB.Net
code.
John W. Colby
www.ColbyConsulting.com
Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Paul
Hartland
Sent: Wednesday, August 24, 2005 11:31 AM
To: dba-sqlserver at databaseadvisors.com
Subject: RE: [dba-SQLServer] Executing a SP
To execute an SP through Query Analyser try the following:
EXEC upWebNewsSource_SelectOne 'YourPrimaryKeyValue'
Note include the single quotes around your primary key
PAUL HARTLAND
Database Designer/Programmer
paul.hartland at isharp.co.uk
ISHARP
DDI - 01922 472031
Mobile - 07730 523179
ISHARP (Information Services for Hospitality, Audit, Retail and
Pharmacy) provide IT resources for the Christie Group Stock & Inventory
Services companies.
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of John W.
Colby
Sent: 24 August 2005 16:24
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] Executing a SP
How do I execute a SP to see the resulting data.
The SP is:
------------------------------------------------------------------------
----
-----
-- Stored procedure that will select an existing row from the table
'WebNewsSource'
-- based on the Primary Key.
-- Gets: @ID int
------------------------------------------------------------------------
----
-----
CREATE PROCEDURE [dbo].[upWebNewsSource_SelectOne]
@ID int
AS
SET NOCOUNT ON
-- SELECT an existing row from the table.
SELECT
[ID],
[Source],
[RSSURL],
[RSSSelect],
[RSSTitle],
[RSSLink],
[RSSDescription]
FROM [dbo].[WebNewsSource]
WHERE
[ID] = @ID
GO
It is in database RSSFeeds
I am logged in and trying to use query analyzer to execute the SP but
obviously don't know how.
Thanks,
John W. Colby
www.ColbyConsulting.com
Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
_______________________________________________
* This message is confidential.
* This email, its content and any files transmitted with it are intended
solely for the addressee and may be legally privileged and/or confidential.
* Access by any other party is unauthorised without the express written
permission of the sender.
* If you have received this email in error you may not copy or use the
contents, attachments or information in any way and any review, use,
dissemination, forwarding, disclosure, alteration, printing of this
information is strictly prohibited. Please destroy it and notify the sender
via return e-mail.
* This email has been prepared using information believed by Paul Hartland
to be reliable and accurate, but the company makes no warranty as to
accuracy or completeness. In particular the author does not accept
responsibility for changes made to this email after it was sent.
* Any opinions expressed in this document are those of the author and do
not necessarily reflect the opinions of the company or its affiliates.
The Orridge web site can be found at:
http://www.orridge.co.uk
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
From tomlough at eircom.net Wed Aug 24 10:43:58 2005
From: tomlough at eircom.net (Thomas O Loughlin)
Date: Wed, 24 Aug 2005 16:43:58 +0100
Subject: [dba-SQLServer] Executing a SP
In-Reply-To: <14A7AB003EFD444BBB193A23128DA20E5B6A3B@AL-PRI.Aldridge.local>
Message-ID: <200508241544.j7OFiLR06165@databaseadvisors.com>
John,
Try the following from QA :
upWebNewsSource_SelectOne @ID=12
If you need to execute this through a sproc then :
EXEC upWebNewsSource_SelectOne @ID=12
But make sure that you've selected your development DB from the QA dropdown
toolbar, otherwise you've to fully qualify your sproc, e.g.
[DatabaseName].dbo.upWebNewsSource_SelectOne @ID=12
Hope this helps
Tom
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of John W.
Colby
Sent: 24 August 2005 16:24
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] Executing a SP
How do I execute a SP to see the resulting data.
The SP is:
------------------------------------------------------------------------
----
-----
-- Stored procedure that will select an existing row from the table
'WebNewsSource'
-- based on the Primary Key.
-- Gets: @ID int
------------------------------------------------------------------------
----
-----
CREATE PROCEDURE [dbo].[upWebNewsSource_SelectOne]
@ID int
AS
SET NOCOUNT ON
-- SELECT an existing row from the table.
SELECT
[ID],
[Source],
[RSSURL],
[RSSSelect],
[RSSTitle],
[RSSLink],
[RSSDescription]
FROM [dbo].[WebNewsSource]
WHERE
[ID] = @ID
GO
It is in database RSSFeeds
I am logged in and trying to use query analyzer to execute the SP but
obviously don't know how.
Thanks,
John W. Colby
www.ColbyConsulting.com
Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
_______________________________________________
* This message is confidential.
* This email, its content and any files transmitted with it are intended
solely for the addressee and may be legally privileged and/or confidential.
* Access by any other party is unauthorised without the express written
permission of the sender.
* If you have received this email in error you may not copy or use the
contents, attachments or information in any way and any review, use,
dissemination, forwarding, disclosure, alteration, printing of this
information is strictly prohibited. Please destroy it and notify the sender
via return e-mail.
* This email has been prepared using information believed by Paul Hartland
to be reliable and accurate, but the company makes no warranty as to
accuracy or completeness. In particular the author does not accept
responsibility for changes made to this email after it was sent.
* Any opinions expressed in this document are those of the author and do
not necessarily reflect the opinions of the company or its affiliates.
The Orridge web site can be found at:
http://www.orridge.co.uk
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
From Paul.Hartland at orridge.co.uk Wed Aug 24 10:43:58 2005
From: Paul.Hartland at orridge.co.uk (Paul Hartland)
Date: Wed, 24 Aug 2005 16:43:58 +0100
Subject: [dba-SQLServer] Executing a SP
Message-ID: <14A7AB003EFD444BBB193A23128DA20E5B6A3F@AL-PRI.Aldridge.local>
In VB (don't know net) I use the following
Dim rsData As ADODB.Recordset
Set rsData = [YourConnectionToSQL].Execute("YourSP '" & [YourPrimaryKey]
& "'")
For instance I have a DataEnvironment called DEGen and a connection
object to SQL Server called SQLConn which would make the above line like
so:
Set rsData = DEGen.SQLConn.Execute("MySP '" & [MyKey] & "'")
PAUL HARTLAND
Database Designer/Programmer
paul.hartland at isharp.co.uk
ISHARP
DDI - 01922 472031
Mobile - 07730 523179
ISHARP (Information Services for Hospitality, Audit, Retail and
Pharmacy) provide IT resources for the Christie Group Stock & Inventory
Services companies.
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of John W.
Colby
Sent: 24 August 2005 16:38
To: dba-sqlserver at databaseadvisors.com
Subject: RE: [dba-SQLServer] Executing a SP
Thanks, that worked, and the SP returned exactly one record which was
expected. Now to discover why it doesn't return a record in the VB.Net
code.
John W. Colby
www.ColbyConsulting.com
Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Paul
Hartland
Sent: Wednesday, August 24, 2005 11:31 AM
To: dba-sqlserver at databaseadvisors.com
Subject: RE: [dba-SQLServer] Executing a SP
To execute an SP through Query Analyser try the following:
EXEC upWebNewsSource_SelectOne 'YourPrimaryKeyValue'
Note include the single quotes around your primary key
PAUL HARTLAND
Database Designer/Programmer
paul.hartland at isharp.co.uk
ISHARP
DDI - 01922 472031
Mobile - 07730 523179
ISHARP (Information Services for Hospitality, Audit, Retail and
Pharmacy) provide IT resources for the Christie Group Stock & Inventory
Services companies.
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of John W.
Colby
Sent: 24 August 2005 16:24
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] Executing a SP
How do I execute a SP to see the resulting data.
The SP is:
------------------------------------------------------------------------
----
-----
-- Stored procedure that will select an existing row from the table
'WebNewsSource'
-- based on the Primary Key.
-- Gets: @ID int
------------------------------------------------------------------------
----
-----
CREATE PROCEDURE [dbo].[upWebNewsSource_SelectOne]
@ID int
AS
SET NOCOUNT ON
-- SELECT an existing row from the table.
SELECT
[ID],
[Source],
[RSSURL],
[RSSSelect],
[RSSTitle],
[RSSLink],
[RSSDescription]
FROM [dbo].[WebNewsSource]
WHERE
[ID] = @ID
GO
It is in database RSSFeeds
I am logged in and trying to use query analyzer to execute the SP but
obviously don't know how.
Thanks,
John W. Colby
www.ColbyConsulting.com
Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
_______________________________________________
* This message is confidential.
* This email, its content and any files transmitted with it are
intended solely for the addressee and may be legally privileged and/or
confidential.
* Access by any other party is unauthorised without the express written
permission of the sender.
* If you have received this email in error you may not copy or use the
contents, attachments or information in any way and any review, use,
dissemination, forwarding, disclosure, alteration, printing of this
information is strictly prohibited. Please destroy it and notify the
sender via return e-mail.
* This email has been prepared using information believed by Paul
Hartland to be reliable and accurate, but the company makes no warranty
as to accuracy or completeness. In particular the author does not accept
responsibility for changes made to this email after it was sent.
* Any opinions expressed in this document are those of the author and
do not necessarily reflect the opinions of the company or its
affiliates.
The Orridge web site can be found at:
http://www.orridge.co.uk
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
From dmcafee at pacbell.net Wed Aug 24 13:10:08 2005
From: dmcafee at pacbell.net (dmcafee at pacbell.net)
Date: Wed, 24 Aug 2005 11:10:08 -0700
Subject: [dba-SQLServer] Executing a SP
In-Reply-To: <010401c5a8bf$d9c36b90$6c7aa8c0@ColbyM6805>
Message-ID:
Did you SET NOCOUNT OFF before your final select?
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com]On Behalf Of John W.
Colby
Sent: Wednesday, August 24, 2005 8:24 AM
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] Executing a SP
How do I execute a SP to see the resulting data.
The SP is:
----------------------------------------------------------------------------
-----
-- Stored procedure that will select an existing row from the table
'WebNewsSource'
-- based on the Primary Key.
-- Gets: @ID int
----------------------------------------------------------------------------
-----
CREATE PROCEDURE [dbo].[upWebNewsSource_SelectOne]
@ID int
AS
SET NOCOUNT ON
-- SELECT an existing row from the table.
SELECT
[ID],
[Source],
[RSSURL],
[RSSSelect],
[RSSTitle],
[RSSLink],
[RSSDescription]
FROM [dbo].[WebNewsSource]
WHERE
[ID] = @ID
GO
It is in database RSSFeeds
I am logged in and trying to use query analyzer to execute the SP but
obviously don't know how.
Thanks,
John W. Colby
www.ColbyConsulting.com
Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/
_______________________________________________
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 29 17:19:05 2005
From: tuxedo_man at hotmail.com (Billy Pang)
Date: Mon, 29 Aug 2005 22:19:05 +0000
Subject: [dba-SQLServer] SQL Server 2005 CTP
Message-ID:
Hello:
Has anyone looked at SQL Server 2005 CTP?
Any comments or experiences would be appreciated.
Thanks,
Billy
From ldoering at symphonyinfo.com Mon Aug 29 17:20:50 2005
From: ldoering at symphonyinfo.com (Liz Doering)
Date: Mon, 29 Aug 2005 17:20:50 -0500
Subject: [dba-SQLServer] automated response
Message-ID: <10508291720.AA51602@symphonyinfo.com>
I will be out of the office the week of August 29th. I will not be checking messages during this time. If you have any concerns, please call the office at 763.391.7400 and someone will be able to help you.
Thanks,
Liz Doering
Symphony Information Services
liz at symphonyinfo.com
www.symphonyinfo.com
763-391-7400
From tuxedo_man at hotmail.com Mon Aug 29 17:21:48 2005
From: tuxedo_man at hotmail.com (Billy Pang)
Date: Mon, 29 Aug 2005 22:21:48 +0000
Subject: [dba-SQLServer] SQL Server 2005 CTP
In-Reply-To:
Message-ID:
I know that this may already be old news but below is link to those who are
interested:
http://www.microsoft.com/sql/2005/productinfo/ctp.mspx
Billy
>From: "Billy Pang"
>Reply-To: dba-sqlserver at databaseadvisors.com
>To: dba-SQLServer at databaseadvisors.com
>Subject: [dba-SQLServer] SQL Server 2005 CTP
>Date: Mon, 29 Aug 2005 22:19:05 +0000
>
>Hello:
>
>Has anyone looked at SQL Server 2005 CTP?
>Any comments or experiences would be appreciated.
>Thanks,
>Billy
>
>
>_______________________________________________
>dba-SQLServer mailing list
>dba-SQLServer at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
>http://www.databaseadvisors.com
>
From ridermark at gmail.com Mon Aug 29 20:59:04 2005
From: ridermark at gmail.com (Mark Rider)
Date: Mon, 29 Aug 2005 20:59:04 -0500
Subject: [dba-SQLServer] automated response
In-Reply-To: <10508291720.AA51602@symphonyinfo.com>
References: <10508291720.AA51602@symphonyinfo.com>
Message-ID:
I have concerns that Liz doesn't know how to keep a list from getting these
messages.
Anyone think someone at the office would be able to turn them off if I
called?
On 8/29/05, Liz Doering wrote:
>
> I will be out of the office the week of August 29th. I will not be
> checking messages during this time. If you have any concerns, please call
> the office at 763.391.7400 and someone will be able to help you.
>
> Thanks,
>
>
> Liz Doering
> Symphony Information Services
> liz at symphonyinfo.com
> www.symphonyinfo.com
> 763-391-7400
>
>
From ssharkins at bellsouth.net Tue Aug 30 08:38:43 2005
From: ssharkins at bellsouth.net (Susan Harkins)
Date: Tue, 30 Aug 2005 09:38:43 -0400
Subject: [dba-SQLServer] automated response
In-Reply-To:
Message-ID: <20050830133900.LGWR27902.ibm68aec.bellsouth.net@SUSANONE>
Easier to just unsub her on her end until she's back.
Susan H.
r] automated response
I have concerns that Liz doesn't know how to keep a list from getting these
messages.
Anyone think someone at the office would be able to turn them off if I
called?
On 8/29/05, Liz Doering wrote:
>
> I will be out of the office the week of August 29th. I will not be
> checking messages during this time. If you have any concerns, please
> call the office at 763.391.7400 and someone will be able to help you.
From ridermark at gmail.com Tue Aug 30 09:04:15 2005
From: ridermark at gmail.com (Mark Rider)
Date: Tue, 30 Aug 2005 09:04:15 -0500
Subject: [dba-SQLServer] automated response
In-Reply-To: <20050830133900.LGWR27902.ibm68aec.bellsouth.net@SUSANONE>
References:
<20050830133900.LGWR27902.ibm68aec.bellsouth.net@SUSANONE>
Message-ID:
But that would indicate she was planning ahead!
On 8/30/05, Susan Harkins wrote:
>
> Easier to just unsub her on her end until she's back.
>
--
Mark Rider
http://commonsensesecurity.info
There are 10 kinds of people in the world:
Those who understand binary and those who don't.
From ssharkins at bellsouth.net Tue Aug 30 09:56:09 2005
From: ssharkins at bellsouth.net (Susan Harkins)
Date: Tue, 30 Aug 2005 10:56:09 -0400
Subject: [dba-SQLServer] automated response
In-Reply-To:
Message-ID: <20050830145610.MIFC27902.ibm68aec.bellsouth.net@SUSANONE>
I meant, WE should unsub her. :)
This list should have a moderator -- how about it moderator? Can you get
Bryan to unsub her until she returns?
Susan H.
But that would indicate she was planning ahead!
On 8/30/05, Susan Harkins wrote:
>
> Easier to just unsub her on her end until she's back.
From scapistrant at symphonyinfo.com Tue Aug 30 10:23:19 2005
From: scapistrant at symphonyinfo.com (Steve Capistrant)
Date: Tue, 30 Aug 2005 10:23:19 -0500
Subject: [dba-SQLServer] automated response
Message-ID: <855499653F55AD4190B242717DF132BC083268@dewey.Symphony.local>
I work across the hall from Liz and just unsubscribed her. I'll let her
know to re-subscribe when she returns. Not sure why the auto-reply
system is causing repeat messages on this list.
Steve Capistrant
scapistrant at symphonyinfo.com
Symphony Information Services
7308 Aspen Lane North, Suite 132
Brooklyn Park, MN 55428
763-391-7400
www.symphonyinfo.com
-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan
Harkins
Sent: Tuesday, August 30, 2005 10:11 AM
To: dba-sqlserver at databaseadvisors.com
Subject: RE: [dba-SQLServer] automated response
I meant, WE should unsub her. :)
This list should have a moderator -- how about it moderator? Can you get
Bryan to unsub her until she returns?
Susan H.
But that would indicate she was planning ahead!
On 8/30/05, Susan Harkins wrote:
>
> Easier to just unsub her on her end until she's back.
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
From ridermark at gmail.com Tue Aug 30 11:17:11 2005
From: ridermark at gmail.com (Mark Rider)
Date: Tue, 30 Aug 2005 11:17:11 -0500
Subject: [dba-SQLServer] automated response
In-Reply-To: <855499653F55AD4190B242717DF132BC083268@dewey.Symphony.local>
References: <855499653F55AD4190B242717DF132BC083268@dewey.Symphony.local>
Message-ID:
Thanks, Steve!
On 8/30/05, Steve Capistrant wrote:
>
> I work across the hall from Liz and just unsubscribed her. I'll let her
> know to re-subscribe when she returns. Not sure why the auto-reply
> system is causing repeat messages on this list.
>
> Steve Capistrant
> scapistrant at symphonyinfo.com
> Symphony Information Services
> 7308 Aspen Lane North, Suite 132
> Brooklyn Park, MN 55428
> 763-391-7400
> www.symphonyinfo.com
>
> -----Original Message-----
> From: dba-sqlserver-bounces at databaseadvisors.com
> [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Susan
> Harkins
> Sent: Tuesday, August 30, 2005 10:11 AM
> To: dba-sqlserver at databaseadvisors.com
> Subject: RE: [dba-SQLServer] automated response
>
> I meant, WE should unsub her. :)
>
> This list should have a moderator -- how about it moderator? Can you get
> Bryan to unsub her until she returns?
>
> Susan H.
>
> But that would indicate she was planning ahead!
>
> On 8/30/05, Susan Harkins wrote:
> >
> > Easier to just unsub her on her end until she's back.
>
> _______________________________________________
> 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
>
>
--
Mark Rider
http://commonsensesecurity.info
There are 10 kinds of people in the world:
Those who understand binary and those who don't.
From rl_stewart at highstream.net Tue Aug 30 12:41:45 2005
From: rl_stewart at highstream.net (Robert L. Stewart)
Date: Tue, 30 Aug 2005 12:41:45 -0500
Subject: [dba-SQLServer] Re: SQL Server 2005 CTP
In-Reply-To: <200508301700.j7UH0dR13110@databaseadvisors.com>
References: <200508301700.j7UH0dR13110@databaseadvisors.com>
Message-ID: <6.2.3.4.2.20050830124006.028f9fe8@pop3.highstream.net>
Billy,
Much too general.
I have been using it and the previous one in testing
for a while. So far, it has been working like a charm.
Like your question, my answer is much too general. :-)
Robert
At 12:00 PM 8/30/2005, you wrote:
>Date: Mon, 29 Aug 2005 22:19:05 +0000
>From: "Billy Pang"
>Subject: [dba-SQLServer] SQL Server 2005 CTP
>To: dba-SQLServer at databaseadvisors.com
>Message-ID:
>Content-Type: text/plain; format=flowed
>
>Hello:
>
>Has anyone looked at SQL Server 2005 CTP?
>Any comments or experiences would be appreciated.
>Thanks,
>Billy
From JRojas at tnco-inc.com Tue Aug 30 14:26:30 2005
From: JRojas at tnco-inc.com (Joe Rojas)
Date: Tue, 30 Aug 2005 15:26:30 -0400
Subject: [dba-SQLServer] SS7 and Active Directory
Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A47C@mercury.tnco-inc.com>
Hi All,
We are getting ready to begin our migration from a Windows NT domain to a
Windows 2003 domain.
There are a million and one documents and links that talk about Exchange 5.5
existing with Active Directory but I can't seem to find anything pertaining
to SQL Server 7.
I don't know if this is because there is no concern or if it is because I
don't know where to look.
Anyone know of a link that provides information on this topic?
Thanks,
Joe Rojas
IT Manager
TNCO, Inc.
781-447-6661 x7506
jrojas at tnco-inc.com
-----Original Message-----
From: Robert L. Stewart [mailto:rl_stewart at highstream.net]
Sent: Tuesday, August 30, 2005 1:42 PM
To: dba-sqlserver at databaseadvisors.com
Subject: [dba-SQLServer] Re: SQL Server 2005 CTP
Billy,
Much too general.
I have been using it and the previous one in testing
for a while. So far, it has been working like a charm.
Like your question, my answer is much too general. :-)
Robert
At 12:00 PM 8/30/2005, you wrote:
>Date: Mon, 29 Aug 2005 22:19:05 +0000
>From: "Billy Pang"
>Subject: [dba-SQLServer] SQL Server 2005 CTP
>To: dba-SQLServer at databaseadvisors.com
>Message-ID:
>Content-Type: text/plain; format=flowed
>
>Hello:
>
>Has anyone looked at SQL Server 2005 CTP?
>Any comments or experiences would be appreciated.
>Thanks,
>Billy
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
This electronic transmission is strictly confidential to TNCO, Inc. and
intended solely for the addressee. It may contain information which is
covered by legal, professional, or other privileges. If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy, or take any action in reliance on this
transmission. If you have received this transmission in error, please notify
the sender as soon as possible and destroy this message. While TNCO, Inc.
uses virus protection, the recipient should check this email and any
attachments for the presence of viruses. TNCO, Inc. accepts no liability for
any damage caused by any virus transmitted by this email.
From roz.clarke at donnslaw.co.uk Wed Aug 31 03:12:57 2005
From: roz.clarke at donnslaw.co.uk (Roz Clarke)
Date: Wed, 31 Aug 2005 09:12:57 +0100
Subject: [dba-SQLServer] automated response
Message-ID: <61F915314798D311A2F800A0C9C8318807225F5F@dibble.observatory.donnslaw.co.uk>
Francisco is this list's moderator, but I guess he's not around. Would you
like another moderator, for backup?
-----Original Message-----
From: Susan Harkins [mailto:ssharkins at bellsouth.net]
Sent: 30 August 2005 15:56
To: dba-sqlserver at databaseadvisors.com
Subject: RE: [dba-SQLServer] automated response
I meant, WE should unsub her. :)
This list should have a moderator -- how about it moderator? Can you get
Bryan to unsub her until she returns?
Susan H.
But that would indicate she was planning ahead!
On 8/30/05, Susan Harkins wrote:
>
> Easier to just unsub her on her end until she's back.
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
-------------- next part --------------
The contents of this message and any attachments are the property of Donns Solicitors
and are intended for the confidential use of the named recipient only. They may be legally
privileged and should not be communicated to, or relied upon, by any other party without
our written consent. If you are not the addressee, please notify us immediately so that we
can make arrangements for its return. You should not show this e-mail to any person or
take copies as you may be committing a criminal or civil offence for which you may be
liable. The statement and opinions expressed in this e-mail message are those of the
writer, and do not necessarily represent that of Donns Solicitors. Although any files attached
to this e-mail will have been checked with virus protection software prior to transmission,
you should carry out your own virus check before opening any attachment.
Donns Solicitors does not accept any liability for any damage or loss which may be caused
by software viruses...
From listmaster at databaseadvisors.com Wed Aug 31 08:21:41 2005
From: listmaster at databaseadvisors.com (Bryan Carbonnell)
Date: Wed, 31 Aug 2005 09:21:41 -0400
Subject: [dba-SQLServer] Administrivia - List Software Upgrade - Sep 4
Message-ID: <431576A5.23677.326CD85@listmaster.databaseadvisors.com>
The software that runs our list has released a new version to fix
some security issues, add some new features to help out the admins
and mods and some bug fixes.
So I will be upgrading the software on Sunday Sep 4. This will mean
the lists will be down starting at 10am (EDT - UTC -0400) on Sunday
Set 4. If the previous upgrades are any indication, they will be down
for less than 1/2 hour. So there won't be much disruption.
--
Bryan Carbonnell - listmaster at databaseadvisors.com
Failure is not an option. It comes bundled with the software.
From ssharkins at bellsouth.net Wed Aug 31 09:04:24 2005
From: ssharkins at bellsouth.net (Susan Harkins)
Date: Wed, 31 Aug 2005 10:04:24 -0400
Subject: [dba-SQLServer] automated response
In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F5F@dibble.observatory.donnslaw.co.uk>
Message-ID: <20050831140433.RCFB22439.ibm60aec.bellsouth.net@SUSANONE>
No, it's been taken care of. :)
Susan H.
Francisco is this list's moderator, but I guess he's not around. Would you
like another moderator, for backup?
From fhtapia at gmail.com Wed Aug 31 10:58:34 2005
From: fhtapia at gmail.com (Francisco Tapia)
Date: Wed, 31 Aug 2005 08:58:34 -0700
Subject: [dba-SQLServer] automated response
In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F5F@dibble.observatory.donnslaw.co.uk>
References: <61F915314798D311A2F800A0C9C8318807225F5F@dibble.observatory.donnslaw.co.uk>
Message-ID:
actually i read the reply on that she had been unsubbed, so did not
jump in anymore...
On 8/31/05, Roz Clarke wrote:
> Francisco is this list's moderator, but I guess he's not around. Would you
> like another moderator, for backup?
>
> -----Original Message-----
> From: Susan Harkins [mailto:ssharkins at bellsouth.net]
> Sent: 30 August 2005 15:56
> To: dba-sqlserver at databaseadvisors.com
> Subject: RE: [dba-SQLServer] automated response
>
>
> I meant, WE should unsub her. :)
>
> This list should have a moderator -- how about it moderator? Can you get
> Bryan to unsub her until she returns?
>
> Susan H.
>
> But that would indicate she was planning ahead!
>
> On 8/30/05, Susan Harkins wrote:
> >
> > Easier to just unsub her on her end until she's back.
>
> _______________________________________________
> dba-SQLServer mailing list
> dba-SQLServer at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
> http://www.databaseadvisors.com
>
>
> The contents of this message and any attachments are the property of Donns Solicitors
> and are intended for the confidential use of the named recipient only. They may be legally
> privileged and should not be communicated to, or relied upon, by any other party without
> our written consent. If you are not the addressee, please notify us immediately so that we
> can make arrangements for its return. You should not show this e-mail to any person or
> take copies as you may be committing a criminal or civil offence for which you may be
> liable. The statement and opinions expressed in this e-mail message are those of the
> writer, and do not necessarily represent that of Donns Solicitors. Although any files attached
> to this e-mail will have been checked with virus protection software prior to transmission,
> you should carry out your own virus check before opening any attachment.
> Donns Solicitors does not accept any liability for any damage or loss which may be caused
> by software viruses...
>
>
> _______________________________________________
> dba-SQLServer mailing list
> dba-SQLServer at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
> http://www.databaseadvisors.com
>
>
>
>
--
-Francisco
http://pcthis.blogspot.com |PC news with out the jargon!
http://sqlthis.blogspot.com | Tsql and More...