Showing posts with label share. Show all posts
Showing posts with label share. Show all posts

Friday, March 30, 2012

Scheduling SQL Server 2005 report server

I'm looking a way to schedule a report to be generated in pre-define time and push it out to my users through email or file share any format (excell, Word, etc). Any help would be greatly appreciated.

When you view the report in a browser you'll see four tabs - View, Properties, History, Subscriptions. Create a new subscription and then enter the recipient (actual email address required) and select the Render Format as Excel, PDF, Web Archive etc. You can also set the date, time and frequency of the subscription.

Hope this helps,

Aidan

Monday, March 12, 2012

Scheduled Job

Hi ,
I created a batch only to transfer the files from local server to share
folder on another server. I put the batch in the DTS package and scheduled it.
When I trace the job , the file have been copied but the "Status" of the
job still stick on "Executing Step 1 ..." and it no turn to success although
the file had been copied. What's wrong with that actually ?
Thanks ,
Travis
--
Travis TanHi ,
why u are making ur work complex .
U can transfer the files using file tranfer protocol task in DTC
package.
When the batch finishes tanfer sqlserver doesnt come to know the status
and it shows executing status.
from
Doller
Travis wrote:
> Hi ,
> I created a batch only to transfer the files from local server to share
> folder on another server. I put the batch in the DTS package and scheduled it.
> When I trace the job , the file have been copied but the "Status" of the
> job still stick on "Executing Step 1 ..." and it no turn to success although
> the file had been copied. What's wrong with that actually ?
> Thanks ,
> Travis
> --
> Travis Tan|||Travis wrote:
> Hi ,
> I created a batch only to transfer the files from local server to share
> folder on another server. I put the batch in the DTS package and scheduled it.
> When I trace the job , the file have been copied but the "Status" of the
> job still stick on "Executing Step 1 ..." and it no turn to success although
> the file had been copied. What's wrong with that actually ?
> Thanks ,
> Travis
>
Are you looking at the status in Enterprise Manager? In that case you
might need to refresh it to see the actual status.
Regards
Steen|||Hi Doller ,
Thanks for your info and I understand what you said. The actually process
in DTS was
1) Transfer The Files
2) UnZip The Files
3) Restore the transaction logs
Because the Transfer Files pending in "executing" so no Unzip process is
done. Means that no way for me to resolve that ?
Thanks ,
Travis
Travis Tan
"doller" wrote:
> Hi ,
> why u are making ur work complex .
> U can transfer the files using file tranfer protocol task in DTC
> package.
> When the batch finishes tanfer sqlserver doesnt come to know the status
> and it shows executing status.
> from
> Doller
>
> Travis wrote:
> > Hi ,
> >
> > I created a batch only to transfer the files from local server to share
> > folder on another server. I put the batch in the DTS package and scheduled it.
> >
> > When I trace the job , the file have been copied but the "Status" of the
> > job still stick on "Executing Step 1 ..." and it no turn to success although
> > the file had been copied. What's wrong with that actually ?
> >
> > Thanks ,
> > Travis
> >
> > --
> > Travis Tan
>

Friday, March 9, 2012

Scheduled Backup for SQL Server express

Has anyone developed a script (that they're willing to share) that does a
scheduled backup of a SQL Server Express database and that automatically
generates a "dated" backup file - i.e. a new backup file each day as opposed
to a single one that gets overwritten?
Thankshttp://www.sqldbatips.com/showarticle.asp?ID=27
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Sam Malone" <the_sam_malone@.hotmail.com> wrote in message
news:%23keAXwcdGHA.4932@.TK2MSFTNGP03.phx.gbl...
> Has anyone developed a script (that they're willing to share) that does a
scheduled backup of a
> SQL Server Express database and that automatically generates a "dated" bac
kup file - i.e. a new
> backup file each day as opposed to a single one that gets overwritten?
> Thanks
>|||Thanks VERY much, Tibor.
I haven't tried this yet but, at a glance, it seems to be exactly what I
need.
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:OkGImYddGHA.2456@.TK2MSFTNGP04.phx.gbl...
> http://www.sqldbatips.com/showarticle.asp?ID=27
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
>
> "Sam Malone" <the_sam_malone@.hotmail.com> wrote in message
> news:%23keAXwcdGHA.4932@.TK2MSFTNGP03.phx.gbl...
>|||Jasper is the one who deserves the credit. :-)
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Sam Malone" <the_sam_malone@.hotmail.com> wrote in message
news:OiUWvThdGHA.536@.TK2MSFTNGP02.phx.gbl...
> Thanks VERY much, Tibor.
> I haven't tried this yet but, at a glance, it seems to be exactly what I n
eed.
>
> "Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote i
n message
> news:OkGImYddGHA.2456@.TK2MSFTNGP04.phx.gbl...
>

Wednesday, March 7, 2012

Schedule report delivery for all parameters

Is it possible to schedule the delivery of a report (to a file share
say) for each possible value of a parameter?
So, if I have a report that accepts a value for parameter @.color and
shows the corresponding tshirts in that color, and there are 3 possible
values for @.color (red, green, blue), can I somehow schedule the report
to automatically run for each value (resulting in 3 delivered reports)?
Thanks!You want to look into DataDriven Subscriptions. These allow you to execute
a query and use the results to drive subscriptions.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"Jim" <emailjeffp@.yahoo.com> wrote in message
news:1108132927.922517.3740@.l41g2000cwc.googlegroups.com...
> Is it possible to schedule the delivery of a report (to a file share
> say) for each possible value of a parameter?
> So, if I have a report that accepts a value for parameter @.color and
> shows the corresponding tshirts in that color, and there are 3 possible
> values for @.color (red, green, blue), can I somehow schedule the report
> to automatically run for each value (resulting in 3 delivered reports)?
> Thanks!
>

Tuesday, February 21, 2012

schedule a trace

Can someone share an example of how to schedule a trace? I have seen some stuff online that used xp_trace extended procedures however examples are not detailed enough for me to create a script of my own. So if someone can help me with their knowledge that will be great.

thanks

See SQL Server 2005 Books Online topics:
Scheduling Traces
http://msdn2.microsoft.com/en-us/library/ms187656.aspx

Using SQL Trace
http://msdn2.microsoft.com/en-us/library/ms191443.aspx