XPath is pretty powerful. What is it that XQuery can
do that I can't already do with XPath? What makes it
so crucial that we have it?
Enlighten me...
2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx
"Tony Lavinio" <stylusstudio@.stylusstudio.com> wrote in message
news:Ntcce.11489$f6.6526@.fe04.lga...
> Dear SQL Server users on microsoft.public.sqlserver.xml,
> Microsoft recently announced that they are dropping XQuery from
> their next release of the .NET Framework, 2.0 (Whidbey). Since
> Microsoft ships .NET Framework only every 3 or so years, cutting
> XQuery from Whidbey means that the next opportunity for XQuery
> to find its way into .NET Framework won't be until around 2009,
> and even then it's far from a sure thing. That's why it's so
> important that the community of XQuery developers makes XQuery a
> priority for Microsoft.
> Stylus Studio believes that XQuery's has broader applicability
> then just an XML querying language but is also an important
> mid-tier data integration and Web service enabling technology,
> and therefore should not be dropped from the Microsoft .NET 2.0
> Framework. Many Microsoft MVP's agree and Stylus Studio is
> asking for any developer who shares this vision and to sign the
> petition online at: http://www.stylusstudio.com/xqueryforall/
> --
> Sincerely,
> Tony Lavinio
> Stylus Studio Principal Software Architect
> http://www.stylusstudio.com/
Hi Robbe,
Comparing XPath with XQuery can't be done in the scope of a message.
There is fare amount of material on XPath2/XQuery (starting from
w3c.org)
Here a quick highlight:
- XQuery is based on XPath2.
- The type system is more flexible (new built-in type sequence, XSD
types).
- The built-in function library has been vastly improved.
- XQuery expresses grouping/ordering in a very intuitive way
(for/where/order by).
Ivan
|||Comparing XQuery vs XPath 2.0:
XQuery 1.0 = XPath 2.0 - (sibling, ancestor and namespace axes) + element
construction + variable binding + order by + user-defined functions + Prolog
(namespace binding etc.)
I expect that 60% of the XQuery 1.0 queries written will also be valid XPath
2.0 queries (disregarding the namespace bindings in the XQuery prolog).
Best regards
Michael
"Robbe Morris [C# MVP]" <info@.turnkeytools.com> wrote in message
news:%23kTfxQrTFHA.2680@.tk2msftngp13.phx.gbl...
> XPath is pretty powerful. What is it that XQuery can
> do that I can't already do with XPath? What makes it
> so crucial that we have it?
> Enlighten me...
> --
> 2005 Microsoft MVP C#
> Robbe Morris
> http://www.robbemorris.com
> http://www.masterado.net/home/listings.aspx
>
> "Tony Lavinio" <stylusstudio@.stylusstudio.com> wrote in message
> news:Ntcce.11489$f6.6526@.fe04.lga...
>
|||What is a user-defined function for XQuery? Can you elaborate?
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx
"Michael Rys [MSFT]" <mrys@.online.microsoft.com> wrote in message
news:%23i$WOo%23TFHA.1796@.TK2MSFTNGP15.phx.gbl...
> Comparing XQuery vs XPath 2.0:
> XQuery 1.0 = XPath 2.0 - (sibling, ancestor and namespace axes) + element
> construction + variable binding + order by + user-defined functions +
> Prolog (namespace binding etc.)
> I expect that 60% of the XQuery 1.0 queries written will also be valid
> XPath 2.0 queries (disregarding the namespace bindings in the XQuery
> prolog).
> Best regards
> Michael
> "Robbe Morris [C# MVP]" <info@.turnkeytools.com> wrote in message
> news:%23kTfxQrTFHA.2680@.tk2msftngp13.phx.gbl...
>
|||XQuery allows users to define XQuery functions in the prolog (and even
provides the option for function library modules). These functions can
either be external, or written using XQuery.
Best regards
Michael
"Robbe Morris [C# MVP]" <info@.turnkeytools.com> wrote in message
news:%233O6sKEUFHA.736@.TK2MSFTNGP10.phx.gbl...
> What is a user-defined function for XQuery? Can you elaborate?
> --
> 2004 and 2005 Microsoft MVP C#
> Robbe Morris
> http://www.robbemorris.com
> http://www.masterado.net/home/listings.aspx
>
> "Michael Rys [MSFT]" <mrys@.online.microsoft.com> wrote in message
> news:%23i$WOo%23TFHA.1796@.TK2MSFTNGP15.phx.gbl...
>
|||There's a fairly basic tutorial at W3Schools that serves as a good
beginner's intro:
http://www.w3schools.com/xquery/default.asp
Graeme Malcolm
Principal Technologist
Content Master
- a member of CM Group Ltd.
www.contentmaster.com
"Robbe Morris [C# MVP]" <info@.turnkeytools.com> wrote in message
news:%233O6sKEUFHA.736@.TK2MSFTNGP10.phx.gbl...
What is a user-defined function for XQuery? Can you elaborate?
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx
"Michael Rys [MSFT]" <mrys@.online.microsoft.com> wrote in message
news:%23i$WOo%23TFHA.1796@.TK2MSFTNGP15.phx.gbl...
> Comparing XQuery vs XPath 2.0:
> XQuery 1.0 = XPath 2.0 - (sibling, ancestor and namespace axes) + element
> construction + variable binding + order by + user-defined functions +
> Prolog (namespace binding etc.)
> I expect that 60% of the XQuery 1.0 queries written will also be valid
> XPath 2.0 queries (disregarding the namespace bindings in the XQuery
> prolog).
> Best regards
> Michael
> "Robbe Morris [C# MVP]" <info@.turnkeytools.com> wrote in message
> news:%23kTfxQrTFHA.2680@.tk2msftngp13.phx.gbl...
>
Showing posts with label pretty. Show all posts
Showing posts with label pretty. Show all posts
Friday, March 30, 2012
I've been curious out XQuery
XPath is pretty powerful. What is it that XQuery can
do that I can't already do with XPath? What makes it
so crucial that we have it?
Enlighten me...
2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx
"Tony Lavinio" <stylusstudio@.stylusstudio.com> wrote in message
news:Ntcce.11489$f6.6526@.fe04.lga...
> Dear SQL Server users on microsoft.public.sqlserver.xml,
> Microsoft recently announced that they are dropping XQuery from
> their next release of the .NET Framework, 2.0 (Whidbey). Since
> Microsoft ships .NET Framework only every 3 or so years, cutting
> XQuery from Whidbey means that the next opportunity for XQuery
> to find its way into .NET Framework won't be until around 2009,
> and even then it's far from a sure thing. That's why it's so
> important that the community of XQuery developers makes XQuery a
> priority for Microsoft.
> Stylus Studio believes that XQuery's has broader applicability
> then just an XML querying language but is also an important
> mid-tier data integration and Web service enabling technology,
> and therefore should not be dropped from the Microsoft .NET 2.0
> Framework. Many Microsoft MVP's agree and Stylus Studio is
> asking for any developer who shares this vision and to sign the
> petition online at: http://www.stylusstudio.com/xqueryforall/
> --
> Sincerely,
> Tony Lavinio
> Stylus Studio Principal Software Architect
> http://www.stylusstudio.com/Hi Robbe,
Comparing XPath with XQuery can't be done in the scope of a message.
There is fare amount of material on XPath2/XQuery (starting from
w3c.org)
Here a quick highlight:
- XQuery is based on XPath2.
- The type system is more flexible (new built-in type sequence, XSD
types).
- The built-in function library has been vastly improved.
- XQuery expresses grouping/ordering in a very intuitive way
(for/where/order by).
Ivan|||Comparing XQuery vs XPath 2.0:
XQuery 1.0 = XPath 2.0 - (sibling, ancestor and namespace axes) + element
construction + variable binding + order by + user-defined functions + Prolog
(namespace binding etc.)
I expect that 60% of the XQuery 1.0 queries written will also be valid XPath
2.0 queries (disregarding the namespace bindings in the XQuery prolog).
Best regards
Michael
"Robbe Morris [C# MVP]" <info@.turnkeytools.com> wrote in message
news:%23kTfxQrTFHA.2680@.tk2msftngp13.phx.gbl...
> XPath is pretty powerful. What is it that XQuery can
> do that I can't already do with XPath? What makes it
> so crucial that we have it?
> Enlighten me...
> --
> 2005 Microsoft MVP C#
> Robbe Morris
> http://www.robbemorris.com
> http://www.masterado.net/home/listings.aspx
>
> "Tony Lavinio" <stylusstudio@.stylusstudio.com> wrote in message
> news:Ntcce.11489$f6.6526@.fe04.lga...
>|||What is a user-defined function for XQuery? Can you elaborate?
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx
"Michael Rys [MSFT]" <mrys@.online.microsoft.com> wrote in message
news:%23i$WOo%23TFHA.1796@.TK2MSFTNGP15.phx.gbl...
> Comparing XQuery vs XPath 2.0:
> XQuery 1.0 = XPath 2.0 - (sibling, ancestor and namespace axes) + element
> construction + variable binding + order by + user-defined functions +
> Prolog (namespace binding etc.)
> I expect that 60% of the XQuery 1.0 queries written will also be valid
> XPath 2.0 queries (disregarding the namespace bindings in the XQuery
> prolog).
> Best regards
> Michael
> "Robbe Morris [C# MVP]" <info@.turnkeytools.com> wrote in message
> news:%23kTfxQrTFHA.2680@.tk2msftngp13.phx.gbl...
>|||XQuery allows users to define XQuery functions in the prolog (and even
provides the option for function library modules). These functions can
either be external, or written using XQuery.
Best regards
Michael
"Robbe Morris [C# MVP]" <info@.turnkeytools.com> wrote in message
news:%233O6sKEUFHA.736@.TK2MSFTNGP10.phx.gbl...
> What is a user-defined function for XQuery? Can you elaborate?
> --
> 2004 and 2005 Microsoft MVP C#
> Robbe Morris
> http://www.robbemorris.com
> http://www.masterado.net/home/listings.aspx
>
> "Michael Rys [MSFT]" <mrys@.online.microsoft.com> wrote in message
> news:%23i$WOo%23TFHA.1796@.TK2MSFTNGP15.phx.gbl...
>|||There's a fairly basic tutorial at W3Schools that serves as a good
beginner's intro:
http://www.w3schools.com/xquery/default.asp
Graeme Malcolm
Principal Technologist
Content Master
- a member of CM Group Ltd.
www.contentmaster.com
"Robbe Morris [C# MVP]" <info@.turnkeytools.com> wrote in message
news:%233O6sKEUFHA.736@.TK2MSFTNGP10.phx.gbl...
What is a user-defined function for XQuery? Can you elaborate?
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx
"Michael Rys [MSFT]" <mrys@.online.microsoft.com> wrote in message
news:%23i$WOo%23TFHA.1796@.TK2MSFTNGP15.phx.gbl...
> Comparing XQuery vs XPath 2.0:
> XQuery 1.0 = XPath 2.0 - (sibling, ancestor and namespace axes) + element
> construction + variable binding + order by + user-defined functions +
> Prolog (namespace binding etc.)
> I expect that 60% of the XQuery 1.0 queries written will also be valid
> XPath 2.0 queries (disregarding the namespace bindings in the XQuery
> prolog).
> Best regards
> Michael
> "Robbe Morris [C# MVP]" <info@.turnkeytools.com> wrote in message
> news:%23kTfxQrTFHA.2680@.tk2msftngp13.phx.gbl...
>
do that I can't already do with XPath? What makes it
so crucial that we have it?
Enlighten me...
2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx
"Tony Lavinio" <stylusstudio@.stylusstudio.com> wrote in message
news:Ntcce.11489$f6.6526@.fe04.lga...
> Dear SQL Server users on microsoft.public.sqlserver.xml,
> Microsoft recently announced that they are dropping XQuery from
> their next release of the .NET Framework, 2.0 (Whidbey). Since
> Microsoft ships .NET Framework only every 3 or so years, cutting
> XQuery from Whidbey means that the next opportunity for XQuery
> to find its way into .NET Framework won't be until around 2009,
> and even then it's far from a sure thing. That's why it's so
> important that the community of XQuery developers makes XQuery a
> priority for Microsoft.
> Stylus Studio believes that XQuery's has broader applicability
> then just an XML querying language but is also an important
> mid-tier data integration and Web service enabling technology,
> and therefore should not be dropped from the Microsoft .NET 2.0
> Framework. Many Microsoft MVP's agree and Stylus Studio is
> asking for any developer who shares this vision and to sign the
> petition online at: http://www.stylusstudio.com/xqueryforall/
> --
> Sincerely,
> Tony Lavinio
> Stylus Studio Principal Software Architect
> http://www.stylusstudio.com/Hi Robbe,
Comparing XPath with XQuery can't be done in the scope of a message.
There is fare amount of material on XPath2/XQuery (starting from
w3c.org)
Here a quick highlight:
- XQuery is based on XPath2.
- The type system is more flexible (new built-in type sequence, XSD
types).
- The built-in function library has been vastly improved.
- XQuery expresses grouping/ordering in a very intuitive way
(for/where/order by).
Ivan|||Comparing XQuery vs XPath 2.0:
XQuery 1.0 = XPath 2.0 - (sibling, ancestor and namespace axes) + element
construction + variable binding + order by + user-defined functions + Prolog
(namespace binding etc.)
I expect that 60% of the XQuery 1.0 queries written will also be valid XPath
2.0 queries (disregarding the namespace bindings in the XQuery prolog).
Best regards
Michael
"Robbe Morris [C# MVP]" <info@.turnkeytools.com> wrote in message
news:%23kTfxQrTFHA.2680@.tk2msftngp13.phx.gbl...
> XPath is pretty powerful. What is it that XQuery can
> do that I can't already do with XPath? What makes it
> so crucial that we have it?
> Enlighten me...
> --
> 2005 Microsoft MVP C#
> Robbe Morris
> http://www.robbemorris.com
> http://www.masterado.net/home/listings.aspx
>
> "Tony Lavinio" <stylusstudio@.stylusstudio.com> wrote in message
> news:Ntcce.11489$f6.6526@.fe04.lga...
>|||What is a user-defined function for XQuery? Can you elaborate?
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx
"Michael Rys [MSFT]" <mrys@.online.microsoft.com> wrote in message
news:%23i$WOo%23TFHA.1796@.TK2MSFTNGP15.phx.gbl...
> Comparing XQuery vs XPath 2.0:
> XQuery 1.0 = XPath 2.0 - (sibling, ancestor and namespace axes) + element
> construction + variable binding + order by + user-defined functions +
> Prolog (namespace binding etc.)
> I expect that 60% of the XQuery 1.0 queries written will also be valid
> XPath 2.0 queries (disregarding the namespace bindings in the XQuery
> prolog).
> Best regards
> Michael
> "Robbe Morris [C# MVP]" <info@.turnkeytools.com> wrote in message
> news:%23kTfxQrTFHA.2680@.tk2msftngp13.phx.gbl...
>|||XQuery allows users to define XQuery functions in the prolog (and even
provides the option for function library modules). These functions can
either be external, or written using XQuery.
Best regards
Michael
"Robbe Morris [C# MVP]" <info@.turnkeytools.com> wrote in message
news:%233O6sKEUFHA.736@.TK2MSFTNGP10.phx.gbl...
> What is a user-defined function for XQuery? Can you elaborate?
> --
> 2004 and 2005 Microsoft MVP C#
> Robbe Morris
> http://www.robbemorris.com
> http://www.masterado.net/home/listings.aspx
>
> "Michael Rys [MSFT]" <mrys@.online.microsoft.com> wrote in message
> news:%23i$WOo%23TFHA.1796@.TK2MSFTNGP15.phx.gbl...
>|||There's a fairly basic tutorial at W3Schools that serves as a good
beginner's intro:
http://www.w3schools.com/xquery/default.asp
Graeme Malcolm
Principal Technologist
Content Master
- a member of CM Group Ltd.
www.contentmaster.com
"Robbe Morris [C# MVP]" <info@.turnkeytools.com> wrote in message
news:%233O6sKEUFHA.736@.TK2MSFTNGP10.phx.gbl...
What is a user-defined function for XQuery? Can you elaborate?
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx
"Michael Rys [MSFT]" <mrys@.online.microsoft.com> wrote in message
news:%23i$WOo%23TFHA.1796@.TK2MSFTNGP15.phx.gbl...
> Comparing XQuery vs XPath 2.0:
> XQuery 1.0 = XPath 2.0 - (sibling, ancestor and namespace axes) + element
> construction + variable binding + order by + user-defined functions +
> Prolog (namespace binding etc.)
> I expect that 60% of the XQuery 1.0 queries written will also be valid
> XPath 2.0 queries (disregarding the namespace bindings in the XQuery
> prolog).
> Best regards
> Michael
> "Robbe Morris [C# MVP]" <info@.turnkeytools.com> wrote in message
> news:%23kTfxQrTFHA.2680@.tk2msftngp13.phx.gbl...
>
Friday, March 23, 2012
Issues with Transaction Log backups
I'm pretty new to SQL, and am running into a problem. I had setup a
Maintenance plan on one of my databases and the Transaction Log Backups are
not working. I'm not getting any feedback in the error on why they are not
working. This is the error that I get:
JOB RUN: 'Transaction Log Backup Job for DB Maintenance Plan 'CRMDEV DB
Maintenance Plan'' was run on 9/7/2006 at 5:30:00 PM
DURATION: 0 hours, 0 minutes, 0 seconds
STATUS: Failed
MESSAGES: The job failed. The Job was invoked by Schedule 2 (Schedule 1).
The last step to run was step 1 (Step 1).
Does anyone know what could be causing the error? I first thought it was
because of the account assigned to run the job, so I switched it from the
administrator to the SA account. But, still fails. Any suggestions on what
could be going on would be appreciated...My daily backups configured in the
Maintenance plan of the database are working though.
Thank you, Sara
Thanks!Saral6978 wrote:
> I'm pretty new to SQL, and am running into a problem. I had setup a
> Maintenance plan on one of my databases and the Transaction Log Backups are
> not working. I'm not getting any feedback in the error on why they are not
> working. This is the error that I get:
> JOB RUN: 'Transaction Log Backup Job for DB Maintenance Plan 'CRMDEV DB
> Maintenance Plan'' was run on 9/7/2006 at 5:30:00 PM
> DURATION: 0 hours, 0 minutes, 0 seconds
> STATUS: Failed
> MESSAGES: The job failed. The Job was invoked by Schedule 2 (Schedule 1).
> The last step to run was step 1 (Step 1).
> Does anyone know what could be causing the error? I first thought it was
> because of the account assigned to run the job, so I switched it from the
> administrator to the SA account. But, still fails. Any suggestions on what
> could be going on would be appreciated...My daily backups configured in the
> Maintenance plan of the database are working though.
> Thank you, Sara
> Thanks!
>
>
Are you possibly trying to do a transaction log backup on a database
that is in Simple recovery mode?
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||I guess I'm not sure...how would I know that?
"Tracy McKibben" wrote:
> Saral6978 wrote:
> > I'm pretty new to SQL, and am running into a problem. I had setup a
> > Maintenance plan on one of my databases and the Transaction Log Backups are
> > not working. I'm not getting any feedback in the error on why they are not
> > working. This is the error that I get:
> >
> > JOB RUN: 'Transaction Log Backup Job for DB Maintenance Plan 'CRMDEV DB
> > Maintenance Plan'' was run on 9/7/2006 at 5:30:00 PM
> > DURATION: 0 hours, 0 minutes, 0 seconds
> > STATUS: Failed
> > MESSAGES: The job failed. The Job was invoked by Schedule 2 (Schedule 1).
> > The last step to run was step 1 (Step 1).
> >
> > Does anyone know what could be causing the error? I first thought it was
> > because of the account assigned to run the job, so I switched it from the
> > administrator to the SA account. But, still fails. Any suggestions on what
> > could be going on would be appreciated...My daily backups configured in the
> > Maintenance plan of the database are working though.
> >
> > Thank you, Sara
> >
> > Thanks!
> >
> >
> >
> Are you possibly trying to do a transaction log backup on a database
> that is in Simple recovery mode?
>
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>|||Saral6978 wrote:
> I guess I'm not sure...how would I know that?
>
Check the database properties of each database you're attempting to back
up. If the recovery model is "Simple", you can't (nor do you need to)
run a transaction log backup against that database. Consult Books
Online to learn what the various recovery models (Simple, Full,
Bulk-Logged) mean and what they offer.
--
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||Thank you, Tracy. The recovery model IS Simple...I will be taking a 2day
course on SQL in the next month, so I'm sure that will help too. Thank you
so much for your input.
"Tracy McKibben" wrote:
> Saral6978 wrote:
> > I guess I'm not sure...how would I know that?
> >
> Check the database properties of each database you're attempting to back
> up. If the recovery model is "Simple", you can't (nor do you need to)
> run a transaction log backup against that database. Consult Books
> Online to learn what the various recovery models (Simple, Full,
> Bulk-Logged) mean and what they offer.
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>|||Saral6978 wrote:
> Thank you, Tracy. The recovery model IS Simple...I will be taking a 2day
> course on SQL in the next month, so I'm sure that will help too. Thank you
> so much for your input.
>
No problem. I won't go into my rant about the maintenance plan wizards
allowing you to do this to yourself... After you finish your course,
you should learn how to write your own maintenance scripts without
relying on those wizards.
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||Aww, c'mon Tracy. We love your rants. ;)
To the poster, I found that the SQL Server Unleashed book is invaluable
as a resource. I picked it up on Ebay for under $30 and I use it
nearly every day.
Tracy McKibben wrote:
> Saral6978 wrote:
> > Thank you, Tracy. The recovery model IS Simple...I will be taking a 2day
> > course on SQL in the next month, so I'm sure that will help too. Thank you
> > so much for your input.
> >
> No problem. I won't go into my rant about the maintenance plan wizards
> allowing you to do this to yourself... After you finish your course,
> you should learn how to write your own maintenance scripts without
> relying on those wizards.
>
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
Maintenance plan on one of my databases and the Transaction Log Backups are
not working. I'm not getting any feedback in the error on why they are not
working. This is the error that I get:
JOB RUN: 'Transaction Log Backup Job for DB Maintenance Plan 'CRMDEV DB
Maintenance Plan'' was run on 9/7/2006 at 5:30:00 PM
DURATION: 0 hours, 0 minutes, 0 seconds
STATUS: Failed
MESSAGES: The job failed. The Job was invoked by Schedule 2 (Schedule 1).
The last step to run was step 1 (Step 1).
Does anyone know what could be causing the error? I first thought it was
because of the account assigned to run the job, so I switched it from the
administrator to the SA account. But, still fails. Any suggestions on what
could be going on would be appreciated...My daily backups configured in the
Maintenance plan of the database are working though.
Thank you, Sara
Thanks!Saral6978 wrote:
> I'm pretty new to SQL, and am running into a problem. I had setup a
> Maintenance plan on one of my databases and the Transaction Log Backups are
> not working. I'm not getting any feedback in the error on why they are not
> working. This is the error that I get:
> JOB RUN: 'Transaction Log Backup Job for DB Maintenance Plan 'CRMDEV DB
> Maintenance Plan'' was run on 9/7/2006 at 5:30:00 PM
> DURATION: 0 hours, 0 minutes, 0 seconds
> STATUS: Failed
> MESSAGES: The job failed. The Job was invoked by Schedule 2 (Schedule 1).
> The last step to run was step 1 (Step 1).
> Does anyone know what could be causing the error? I first thought it was
> because of the account assigned to run the job, so I switched it from the
> administrator to the SA account. But, still fails. Any suggestions on what
> could be going on would be appreciated...My daily backups configured in the
> Maintenance plan of the database are working though.
> Thank you, Sara
> Thanks!
>
>
Are you possibly trying to do a transaction log backup on a database
that is in Simple recovery mode?
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||I guess I'm not sure...how would I know that?
"Tracy McKibben" wrote:
> Saral6978 wrote:
> > I'm pretty new to SQL, and am running into a problem. I had setup a
> > Maintenance plan on one of my databases and the Transaction Log Backups are
> > not working. I'm not getting any feedback in the error on why they are not
> > working. This is the error that I get:
> >
> > JOB RUN: 'Transaction Log Backup Job for DB Maintenance Plan 'CRMDEV DB
> > Maintenance Plan'' was run on 9/7/2006 at 5:30:00 PM
> > DURATION: 0 hours, 0 minutes, 0 seconds
> > STATUS: Failed
> > MESSAGES: The job failed. The Job was invoked by Schedule 2 (Schedule 1).
> > The last step to run was step 1 (Step 1).
> >
> > Does anyone know what could be causing the error? I first thought it was
> > because of the account assigned to run the job, so I switched it from the
> > administrator to the SA account. But, still fails. Any suggestions on what
> > could be going on would be appreciated...My daily backups configured in the
> > Maintenance plan of the database are working though.
> >
> > Thank you, Sara
> >
> > Thanks!
> >
> >
> >
> Are you possibly trying to do a transaction log backup on a database
> that is in Simple recovery mode?
>
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>|||Saral6978 wrote:
> I guess I'm not sure...how would I know that?
>
Check the database properties of each database you're attempting to back
up. If the recovery model is "Simple", you can't (nor do you need to)
run a transaction log backup against that database. Consult Books
Online to learn what the various recovery models (Simple, Full,
Bulk-Logged) mean and what they offer.
--
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||Thank you, Tracy. The recovery model IS Simple...I will be taking a 2day
course on SQL in the next month, so I'm sure that will help too. Thank you
so much for your input.
"Tracy McKibben" wrote:
> Saral6978 wrote:
> > I guess I'm not sure...how would I know that?
> >
> Check the database properties of each database you're attempting to back
> up. If the recovery model is "Simple", you can't (nor do you need to)
> run a transaction log backup against that database. Consult Books
> Online to learn what the various recovery models (Simple, Full,
> Bulk-Logged) mean and what they offer.
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>|||Saral6978 wrote:
> Thank you, Tracy. The recovery model IS Simple...I will be taking a 2day
> course on SQL in the next month, so I'm sure that will help too. Thank you
> so much for your input.
>
No problem. I won't go into my rant about the maintenance plan wizards
allowing you to do this to yourself... After you finish your course,
you should learn how to write your own maintenance scripts without
relying on those wizards.
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||Aww, c'mon Tracy. We love your rants. ;)
To the poster, I found that the SQL Server Unleashed book is invaluable
as a resource. I picked it up on Ebay for under $30 and I use it
nearly every day.
Tracy McKibben wrote:
> Saral6978 wrote:
> > Thank you, Tracy. The recovery model IS Simple...I will be taking a 2day
> > course on SQL in the next month, so I'm sure that will help too. Thank you
> > so much for your input.
> >
> No problem. I won't go into my rant about the maintenance plan wizards
> allowing you to do this to yourself... After you finish your course,
> you should learn how to write your own maintenance scripts without
> relying on those wizards.
>
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
Issues with Transaction Log backups
I'm pretty new to SQL, and am running into a problem. I had setup a
Maintenance plan on one of my databases and the Transaction Log Backups are
not working. I'm not getting any feedback in the error on why they are not
working. This is the error that I get:
JOB RUN: 'Transaction Log Backup Job for DB Maintenance Plan 'CRMDEV DB
Maintenance Plan'' was run on 9/7/2006 at 5:30:00 PM
DURATION: 0 hours, 0 minutes, 0 seconds
STATUS: Failed
MESSAGES: The job failed. The Job was invoked by Schedule 2 (Schedule 1).
The last step to run was step 1 (Step 1).
Does anyone know what could be causing the error? I first thought it was
because of the account assigned to run the job, so I switched it from the
administrator to the SA account. But, still fails. Any suggestions on what
could be going on would be appreciated...My daily backups configured in the
Maintenance plan of the database are working though.
Thank you, Sara
Thanks!Saral6978 wrote:
> I'm pretty new to SQL, and am running into a problem. I had setup a
> Maintenance plan on one of my databases and the Transaction Log Backups ar
e
> not working. I'm not getting any feedback in the error on why they are no
t
> working. This is the error that I get:
> JOB RUN: 'Transaction Log Backup Job for DB Maintenance Plan 'CRMDEV DB
> Maintenance Plan'' was run on 9/7/2006 at 5:30:00 PM
> DURATION: 0 hours, 0 minutes, 0 seconds
> STATUS: Failed
> MESSAGES: The job failed. The Job was invoked by Schedule 2 (Schedule 1).
> The last step to run was step 1 (Step 1).
> Does anyone know what could be causing the error? I first thought it was
> because of the account assigned to run the job, so I switched it from the
> administrator to the SA account. But, still fails. Any suggestions on wh
at
> could be going on would be appreciated...My daily backups configured in th
e
> Maintenance plan of the database are working though.
> Thank you, Sara
> Thanks!
>
>
Are you possibly trying to do a transaction log backup on a database
that is in Simple recovery mode?
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||I guess I'm not sure...how would I know that?
"Tracy McKibben" wrote:
> Saral6978 wrote:
> Are you possibly trying to do a transaction log backup on a database
> that is in Simple recovery mode?
>
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>|||Saral6978 wrote:
> I guess I'm not sure...how would I know that?
>
Check the database properties of each database you're attempting to back
up. If the recovery model is "Simple", you can't (nor do you need to)
run a transaction log backup against that database. Consult Books
Online to learn what the various recovery models (Simple, Full,
Bulk-Logged) mean and what they offer.
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||Thank you, Tracy. The recovery model IS Simple...I will be taking a 2day
course on SQL in the next month, so I'm sure that will help too. Thank you
so much for your input.
"Tracy McKibben" wrote:
> Saral6978 wrote:
> Check the database properties of each database you're attempting to back
> up. If the recovery model is "Simple", you can't (nor do you need to)
> run a transaction log backup against that database. Consult Books
> Online to learn what the various recovery models (Simple, Full,
> Bulk-Logged) mean and what they offer.
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>|||Saral6978 wrote:
> Thank you, Tracy. The recovery model IS Simple...I will be taking a 2day
> course on SQL in the next month, so I'm sure that will help too. Thank yo
u
> so much for your input.
>
No problem. I won't go into my rant about the maintenance plan wizards
allowing you to do this to yourself... After you finish your course,
you should learn how to write your own maintenance scripts without
relying on those wizards.
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||Aww, c'mon Tracy. We love your rants. ;)
To the poster, I found that the SQL Server Unleashed book is invaluable
as a resource. I picked it up on Ebay for under $30 and I use it
nearly every day.
Tracy McKibben wrote:
> Saral6978 wrote:
> No problem. I won't go into my rant about the maintenance plan wizards
> allowing you to do this to yourself... After you finish your course,
> you should learn how to write your own maintenance scripts without
> relying on those wizards.
>
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
Maintenance plan on one of my databases and the Transaction Log Backups are
not working. I'm not getting any feedback in the error on why they are not
working. This is the error that I get:
JOB RUN: 'Transaction Log Backup Job for DB Maintenance Plan 'CRMDEV DB
Maintenance Plan'' was run on 9/7/2006 at 5:30:00 PM
DURATION: 0 hours, 0 minutes, 0 seconds
STATUS: Failed
MESSAGES: The job failed. The Job was invoked by Schedule 2 (Schedule 1).
The last step to run was step 1 (Step 1).
Does anyone know what could be causing the error? I first thought it was
because of the account assigned to run the job, so I switched it from the
administrator to the SA account. But, still fails. Any suggestions on what
could be going on would be appreciated...My daily backups configured in the
Maintenance plan of the database are working though.
Thank you, Sara
Thanks!Saral6978 wrote:
> I'm pretty new to SQL, and am running into a problem. I had setup a
> Maintenance plan on one of my databases and the Transaction Log Backups ar
e
> not working. I'm not getting any feedback in the error on why they are no
t
> working. This is the error that I get:
> JOB RUN: 'Transaction Log Backup Job for DB Maintenance Plan 'CRMDEV DB
> Maintenance Plan'' was run on 9/7/2006 at 5:30:00 PM
> DURATION: 0 hours, 0 minutes, 0 seconds
> STATUS: Failed
> MESSAGES: The job failed. The Job was invoked by Schedule 2 (Schedule 1).
> The last step to run was step 1 (Step 1).
> Does anyone know what could be causing the error? I first thought it was
> because of the account assigned to run the job, so I switched it from the
> administrator to the SA account. But, still fails. Any suggestions on wh
at
> could be going on would be appreciated...My daily backups configured in th
e
> Maintenance plan of the database are working though.
> Thank you, Sara
> Thanks!
>
>
Are you possibly trying to do a transaction log backup on a database
that is in Simple recovery mode?
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||I guess I'm not sure...how would I know that?
"Tracy McKibben" wrote:
> Saral6978 wrote:
> Are you possibly trying to do a transaction log backup on a database
> that is in Simple recovery mode?
>
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>|||Saral6978 wrote:
> I guess I'm not sure...how would I know that?
>
Check the database properties of each database you're attempting to back
up. If the recovery model is "Simple", you can't (nor do you need to)
run a transaction log backup against that database. Consult Books
Online to learn what the various recovery models (Simple, Full,
Bulk-Logged) mean and what they offer.
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||Thank you, Tracy. The recovery model IS Simple...I will be taking a 2day
course on SQL in the next month, so I'm sure that will help too. Thank you
so much for your input.
"Tracy McKibben" wrote:
> Saral6978 wrote:
> Check the database properties of each database you're attempting to back
> up. If the recovery model is "Simple", you can't (nor do you need to)
> run a transaction log backup against that database. Consult Books
> Online to learn what the various recovery models (Simple, Full,
> Bulk-Logged) mean and what they offer.
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>|||Saral6978 wrote:
> Thank you, Tracy. The recovery model IS Simple...I will be taking a 2day
> course on SQL in the next month, so I'm sure that will help too. Thank yo
u
> so much for your input.
>
No problem. I won't go into my rant about the maintenance plan wizards
allowing you to do this to yourself... After you finish your course,
you should learn how to write your own maintenance scripts without
relying on those wizards.
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||Aww, c'mon Tracy. We love your rants. ;)
To the poster, I found that the SQL Server Unleashed book is invaluable
as a resource. I picked it up on Ebay for under $30 and I use it
nearly every day.
Tracy McKibben wrote:
> Saral6978 wrote:
> No problem. I won't go into my rant about the maintenance plan wizards
> allowing you to do this to yourself... After you finish your course,
> you should learn how to write your own maintenance scripts without
> relying on those wizards.
>
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
Subscribe to:
Posts (Atom)