More Specific Notification?

Aug 11, 2006

I am replicating using SQL Server 2000.

I have several merge agents which periodically fail due to locking contention. This is not a problem. The agent just runs again and is almost always successful, eventually.

I need a way to be alerted when the merge agent has failed three times consecutively.

Is there a way to do this?

View 1 Replies


ADVERTISEMENT

Transact SQL :: Select Specific Values From All Rows Where Value Of A Specific Column Is (Active)

May 23, 2015

I need to select specific values from all rows where the value of a specific column is "Active"

This part works: SELECT LastName, FirstName, MiddleInit, ClientId FROM dbo.Client

But I want to add: WHERE StatusType = (Active) and how to do this.

View 4 Replies View Related

SQL Server 2008 :: Replicate Only Specific Data To Specific Subscriber?

Jun 30, 2015

We have a "main" SQL 2014 server who imports XML files using SSIS in a datacenter. In remote sites (which are warehouses), there is an instance of SQL 2014 Express. A merge replication is setup, as every operations done on each site must be "forwared" to the main database, as some XML files are generated as output for an ERP system.

Now, the merge replication replicate all the data to the server on each sites. But a specific site don't need the data of every other sites, only the data relevant to itself (which is the warehouse code). Is there a way to replicate only the data relevant to each individual sites to the subscribers? Or is there a better way than replication to accomplish this?

View 2 Replies View Related

Can Logging Be Turned Off On Inserts To A Specific Temp Table From A Specific Sp?

Oct 10, 2007

I want to ship 500,000 aged transactions each night to an archive table and delete them from their source table in one or more logical units of work (LUW). Each row is approx 60 bytes and there is only one non clustered index on the source table presently.

I'm trying to weigh the pros and cons of 3 alternatives. One of them would basically insert the non-aged rows into tempdb, ship the aged records, truncate the table and then insert the tempdb records back into their source all in the same LUW.

For this alternative, I'd at least like to turn off logging when the records get inserted into tempdb as I dont see any value in logging that part of the activity. Is this possible?

View 4 Replies View Related

Command Line Printing To Specific Printers, And Specific Trays

Jan 23, 2007

Hi All,

Could you guys please help me with printing reports invoked thru command line/ URL access to print automatically to specific printers and specific trays and also is it possible to set the specific printer and tray as parameters.

Any suggestions is appreciated

Thanks A lot in advance

e,g :

http://localhost/reportserver?/testreports/employee sales&UserID='ABC'&LName=Lastname='victor'&rs:Command=Render

View 1 Replies View Related

How To Select A Specific Value From Dataset To Fill A Specific Cell ?

Mar 27, 2007

Hi there !

Thanks for taking the time to read this thread.

I don't know whether anyone has this problem, but I am definitely not using the right keywords to search for a thread.

My situation is this...

I have a dataset that has values to fill cells to multiple tables in a report.
However, I only want to select specific data from the dataset to fill textboxes and others.
I cannot change the stored procedure, but the sample of the data is shown below:-


Row Stat Val
0 dtRpt1 02/01/2005
1 Value1 1
2 Value2 2000
3 dtMailSent 02/28/2005
4 Value3 0
5 Value4 5
6 Value5 658

I know it looks weird, but the row really represents which "row" or textbox is it to fill with the Val. The Stat Column is just a way to make sure that I am filling the right values.

so my new report would have multiple tables to denote different categories.
In my first table, I tried putting the cells as follows:-
(expressions are highlighted in italics and bold)

TextBox1 =IIF(Fields!Row.Value =0, Fields!Val.Value,"")

Table1
Column1
DetailRow1 =IIF(Fields!Row.Value =1, Fields!Val.Value,"")
DetailRow2 =IIF(Fields!Row.Value =2, Fields!Val.Value,"")


Table2
Column1
DetailRow1 =IIF(Fields!Row.Value =3, Fields!Val.Value,"")
DetailRow2 =IIF(Fields!Row.Value =4, Fields!Val.Value,"")
DetailRow3 =IIF(Fields!Row.Value =5, Fields!Val.Value,"")
DetailRow4 =IIF(Fields!Row.Value =6, Fields!Val.Value,"")


I only expect this report to print out one page holding the previous values.

However, it ended up printing like this

----------------------------------------------------------

Table1
Column1
DetailRow1 1
DetailRow2

Column1
DetailRow1
DetailRow2 2000


Table2
Column1
DetailRow1 02/28/2005
DetailRow2
DetailRow3
DetailRow4

Table2
Column1
DetailRow1
DetailRow2 0
DetailRow3
DetailRow4

Table2
Column1
DetailRow1
DetailRow2
DetailRow3 5
DetailRow4

Table2
Column1
DetailRow1
DetailRow2
DetailRow3
DetailRow4 658

------------------------------------------------------

I tried putting it into the headerrows instead of DetailRows, and it ended up printing the last value.
Is there anyway to do this ? print all the values out in one table ? I tried using textboxes, but I think I got my expression wrong.

Is this the correct expression ?

=IIF((Fields!Row.Value,"Dataset") =1, (Fields!Val.value, "Dataset"), "")

and it give me an error
The value expression for the textbox €˜textbox5€™ contains an error: [BC30455] Argument not specified for parameter 'FalsePart' of 'Public Function IIf(Expression As Boolean, TruePart As Object, FalsePart As Object) As Object'.

Appreciate any advice or suggestion for this scenario !

Thanks!

Bernard

View 3 Replies View Related

Assign Specific Data To Specific Users

Mar 21, 2008

I am very early on in developing a website to track issues with projects which is tied to a SQL database.  I have my Projects Table, my Users Table, and am creating a third table to track issues.  I'm wondering what is the best way to assign specific users to specific data/projects.  The user should only be able to view & update the projects assigned to him.  He should not be able to see other projects.  What is the best way to assign projects/data to the users to make sure they are only viewing their data?

View 1 Replies View Related

Job Notification

Apr 8, 2004

Morning all!

My SQL server email job notifications have stopped working, but mails sent through the xp_sendmail command still work.

The only thing that has changed recently is the SQL server agent account passwords have been changed, these accounts are normal win2000 domain accounts.

Any ideas cos I am fully stumped?

View 3 Replies View Related

Notification

Jan 2, 2008

Is it possible to set up a Job to send a notification , if a process is blocked for more than a minute on SQL Server 2000.

Thanks for any help on this

View 3 Replies View Related

Notification Upon A Sql Job Not Run

Jan 31, 2008

I wish to know if there is anyway to find out if a perticular job on SQL Agent was executed or not. I am not looking for Log History of the job, but, something like a trigger that will fire an email to notify that a perticular job that was scheduled to run at a certain time did not run.

To explain in detail, I have a job that is scheduled to run every 15 min. This job is crutial and I wish to be notified if the job was not run for some reason or other. I already have a program that delivers me the history log of the job each day, but, checking history to see if the job ran or not every 15 min is not possible. Again, I am not talking about the job success or failure, but the fact that the job has run or not - thats it !

If you are suggesting a SMO object, I will appriciate if you provide me with the code or alternatively a source to refer.

Thank you.

View 9 Replies View Related

API For NotificationEnumeration In Notification

Oct 22, 2007

hi all i have found for function as function: SubscriptionEnumeration in API of notification service, i want display myAlert(notifications) in(for example: one day).the Function SubscriptionEnumeration display Subscription of (subscriberId,subscriptionType,nsApplication) it can be made this ?thanksHungN

View 1 Replies View Related

SQL Notification Service

Jan 9, 2008

Hi,
         I want to build sql notification service in my web application and i not know how to build it. Please help me how it possible and any sample code then pls send me else give me link of website. Its very urgent for me, now i am using timer for checking for updation in database and i want to notification service for that because its take many time and timer fire every time even database change or not.
Jaydev Jangid

View 2 Replies View Related

Notification From Server

Apr 30, 2001

hi,

An application, every one hour it connects to sqlserver and uploads data from MSAccess database.i should get the notification weather that application is connected to the server or not.because this application gets currepts very often.

any help is appreciated.


thanks
preethi

View 1 Replies View Related

New Databse - Notification

May 18, 2000

Does anyone know how I can receive some type of notification (an alert) that fires when a new database is created (or an old one deleted) on a server?

Thanks.

View 1 Replies View Related

DTS Mail Notification

Sep 12, 2000

I have set up SQL Mail on a SQL 7.0 box and I can successfully schedule tasks and receive e-mails from them. However, when I try to get mail notification from a scheduled DTS package I run into problems and no mail is sent. Under Profile Name the only item selectable is Microsoft Outlook. I've tried selecting this as well as leaving the profile blank and nothing seems to work. We use POP3 server and Microsoft Messaging. Our corporate e-mail system is Notes so we forward mail through the POP3 server via Internet mail to our Lotus Notes system.

Any suggestions so that we could get our DTS mail notification working? Anything I could try that I haven't?

Thanks!

View 1 Replies View Related

Event Notification

Aug 10, 2004

Does anyone know if there is any software available that notifies specified people when an error above a certian level occurs. Im thinking along the lines of email and text message.

Im running sql server 2k at sp3a level, and the software will have to be compatible with it so as to get the event notification to pass the information on.

If there isn't any software, would anyone know of any scripts that will do this?

View 4 Replies View Related

Is It Possible To Set Up Email Notification For

Apr 14, 2006

MSDE 2000? Thanks.

View 2 Replies View Related

Email Notification

Oct 25, 2005

Can you send these to a group of DBA's

View 1 Replies View Related

Notification Email On Job

Feb 26, 2007

How can I set up the notification email when one of your jobs got failed using Database mail..

I've already set up the database mail ... but I am not quite sure how to use the database mail to send a notification when a job failed...

View 3 Replies View Related

Notification Problem

Aug 17, 2007

Dear all,

I would like to know, is there any method that the notification can be send more than one person? (SQL server agent--> Job Properties--> Notification--> email)

The dropdownbox list allow one email only, can I add more people on the email list, or insert more email address in the same operator?

Thanks to all
johnson Mok

View 1 Replies View Related

SQL Notification Service

Oct 22, 2007

Hi,

Can anyone tell me abt SQL Notification Service ???
Is that SQL Programming application or can be implemented with other Dot Net Languagues ???

Need to know further that this services are implemented only by the Database Engineers or integrated with the Application development using .Net Language like C# etc ????

I m n urgent need for this problem

Thanks in advance

Regards

Aravind

View 1 Replies View Related

Job Failure Notification

Dec 18, 2007

Hi,
I have scheduled a job that runs every minute.
If the job does not succeed, then I would like my front end application to be notified.
I am not sure if this is a reasonable way but I am thinking of somehow
populating a table (Only if the scheduled job fails) in sql server and then read that table every minute from the front end application.

So, is it possible to populate a table if a job fails?
I do not see any options for this in the properties of the job.

Thanks

View 3 Replies View Related

Reboot Notification

Jul 20, 2005

Hi all,I wanted SQL server to sent me an email when it reboots. I created an Alertbut doesn't seem to be working. Any suggestions.Thanks,

View 1 Replies View Related

Is There A Notification Icon?

Jul 17, 2006

Is there any way to configure a notification icon in the start tray in Express 2005 (like we had in SQL Server 2000) with a little green (or red) arrow (or dot) to indicate whether the server's up (or down)?

View 3 Replies View Related

Scheduling Notification

Mar 26, 2008

i have a scheduled ssis package and because it's pretty critical i have to do a lot of error handling. inside the package all possible errors are handeld but now i have the question if there's a way to check whether a scheduled sql server job was started successfully or not. because if the job doesn't start i cannot get an error notification from inside the ssis package. in sql server management studio there's the possibility to send a notification if a job fails, but i don't know if this also includes the case when the job doesn't start at all.

View 4 Replies View Related

SQL SERVER NOTIFICATION

Sep 17, 2007

hi i am getting the error for granting


GRANT SUBSCRIBE QUERY NOTIFICATIONS TO sa

error is

Cannot find the user 'sa', because it does not exist or you do not have permission.

SO PLEASE GIVE ME THE CODING

step by step for notification


thanks

View 1 Replies View Related

Notification Mail

Dec 1, 2006

Hello,

I have a problem with the notification. I have enabled Database mail and i have created an Operator.

Under SQL Server AgentJobs and then in the job properties i have enabled notification but i don`t receive a mail. Test e-mail works fine but "real" e-mail not.

I have also tried with the Database Maintenance Wizard but even then it just not work.

I have noticed that others have experienced the same problem but i have seen no solution yet.

Could you please help me? What can cause this problem? What`s the best i can do to start searching for the solution? Thanks!

View 2 Replies View Related

Email Notification?

May 14, 2008

I need to set up an automatic email notification. Right now, I have a subscription that is working. The subscription runs a report and puts the resulting pdf into a folder. I need a way to notify users (preferrably in an Outlook distribution list) when the pdf is created. I'm amazed that this basic feature is not built into the subscription capabilities.

Can anyone please tell me how to best accomplish this? I'm familiar with vb.net if that helps.


Thank you very much.

View 3 Replies View Related

Ssis Job Notification

Apr 7, 2008

i've scheduled a few ssis packages as sql server agent jobs. is there a way to get a daily notification via mail where all planned and all processed jobs are listed?

View 5 Replies View Related

SQL Job Notification Emails

Feb 15, 2008



Hi, looking for some help on job notification emails in SQL 2005.

I've created a backup job in the Maintenance Plan section of SQL2005, and added a "Notify Operator" task to notify me when the job completes.
I've setup Database Mail, and I am getting the notification email whenever I run the job. So this is working fine.

The problem is when I got to the 'Jobs' folder, and into the properties of my backup job, I set it up to notify me from the notifications option, but I am not getting any emails. For now I have set it to notify me when the job "succeeds".

Any ideas why it works from the Maintenance Plan section, but not the "Jobs" notification section? Am I forgetting something?

I have recently migrated a SQL2000 instance to SQL2005, and would now like to setup all the existing jobs to notify me if they fail.

Any advice would be helpful

Thanks

View 1 Replies View Related

Query Notification

Oct 30, 2007



hi,

When SQL server notifies the application that the records in a table has changed, is there a way to know which record has changed from the application?

Let me give an eg.


Consider that we have a table customer. We have registered for a notfication for 2 customers, say Cust id 1 and Cust id 2. Now , when records for these two customers changes we get a notification. Is there a way in .Net by whihc we can get whihc customer has been modified?


Thanks
Man.

View 4 Replies View Related

Question On Database Notification...

Dec 27, 2006

hi to all,
my question is how can the database notify the user if there is a new inserted data on the database...like for example, i inserted a new data then when i go to the display reports page i would see a link saying New Report Recieved and this will take me to the details of the new inserted data or the report sent by another user..is this doable?? and by the way im using asp.net 2.0 and a sql database...thx...

View 1 Replies View Related

Data Update Notification

May 27, 2007

Please Help!!

I have been trying to think of a solution to a problem i have and still not sure how to go about it.

I have a database filled with message data that is sent by one user to another.What i am trying to do is have it so (if users are online) they are notified - by a popup or something - that a new message has arrived for them.My idea was to create a trigger on the message table to update a change table with sender and recipient ids and date of change in it.Not a problem so far but what is troubling me is that i want the recipient to automatically query this change table every say 30 seconds to check if new message has arrived with their id.Tryed using ajax update panel and timer but naturally that kept posting back whole page - looks really terriable :( - tryed sqlnotification but as far as i can see that is only changing cached data for current data - not the same issue i think.Is there a way to query db table regualry without the client side knowing? - thinking along lines of how outlook requeries server for new messages and displays popup to say new message but doesnt interupt you if doing something else.Any help would be greatly appreaciated.Thanks  

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved