adding column to the traces table - Enterprise logging database - wcf

I'm using the Enterprise semantic logging on sql server database
I need to add one or more specif columns in the Traces table instead of adding value in Payload column
Maye the only way is to create a custom SINK, but I didn't find how to do that
Anyone has already encountered on this requirement?

Follow this link for implementing custom event sink

Related

Filtered one-way synchronization of Azure SQL database

We have a multi-tenant, single db application where some customers have expressed the desire to get direct access to their own data.
I have been suggested looking into Azure Data Sync to achieve a setup where each of the customers get their own Azure SQL instance to which we setup a one-way synchronization of their data from the master database.
I managed to find some documentation on this, but one I got around to try it out in a lab setup, it looks like the ability to filter rows in the sync job has been removed in a later iteration of the Azure Data Sync service.
Am I wrong or is that feature really gone? If so, what would be your suggestions to achieve something similar on Azure?
You cannot filter rows using Azure SQL Data Sync. However, you can build a custom solution based on Sync Framework as explained here.

Restcomm MySQL table

Why in database created when first run Restcomm-Connect no fields for CallbackStatus? In official documentation this field is available. And how can I show register/unregister event for clients?

Create Table in Azure SQL Server for mobile services (.net Backend)

I am creating table in Azure SQL Server using mobile services webservice (.net backend). But table is not created in SQL Server.
My questions are:
Can I create table manually in Azure SQL Server?
If I can create table then there will any possibility of error?
Is there any possibility to find out why table is not creating?
Please provide your suggestions how to solve this
If you are using the .NET backend, you are operating in Entity Framework for table management. You will likely need to do an EF Migration to create the table - there is no dynamic schema / table maintenance. It's best to learn Entity Framework and go from there.
Specifically:
1) Yes, you can create the table manually in the SQL Management Studio.
2) You will need to define the appropriate table within your .NET backend as well. The schema must match what is expected. You can't just take any old table and expect it to work
3) You can turn on logging in the Entity Framework and see the underlying SQL statements and errors being returned by SQL Server. However, your problem is likely to be because Entity Framework hasn't run a migration.
Thanks for your answer.
Table has created by using mobile services.
Actually table has been created by using mobile services but it was not displaying in sql server. To display table in sqlserver i have to do action (like insert,update data) in atleast one table. then all table display.
Yes you can. If you use Mobile Services, go to the dashboard and Configure - here, you will see the database server link. Go to that, and get the connection string. Then, you can connect with something like, for example, SQL Server Management Studio 2014 (i would recommend to do that to avoid any support inconsistencies) and do what you want with the database (with some limitations, however). You may do that using Visual Studio as well.
If you use Mobile Apps, go to the Mobile App dashboard, then Data Connections - here, you will see the hidden connection string that you can use for connecting the same way as described above.

How to get Sybase replication definitions code?

How to get the code of all replication definitions of a Sybase server?
If possible and since I'm new to this, give me a little explanation on them as well.
Much of the information about your replication system can be found using the various help functions in the RSSD/ERSSD. The specific commands will vary somewhat based on the kind of Replication you are using (Warm Standby, Function String, Table, Procedure, mixed).
rs_helpdb [ dataserver, database ]: Shows all databases known by the RSSD. If you specify dataserver/datbase, it will only show information for that connection. Output lists Server/Database, rep dbid, primary RS, errorclass, repserver errorclass, function class and status.
rs_helprepdb: Shows replicate databases that have subscriptions to primary data in the current RS, or shows the specified DS/DB.
Other commands that will help:
rs_helprep Displays information about replication definitions
rs_helpsub Displays information about subscriptions
rs_helpreptable Displays information about replication definitions created against a primary table.
rs_helppub Displays information about publications.
rs_helppubsub Displays information about publication subscriptions and article subscriptions.
rs_helpdbrep Displays information about database replication definitions associated with the current Replication Server
rs_helpdbsub Displays information about database subscriptions associated with the replicate data server.
These commands all pull information from the tables in the RSSD, so you can also poke around the RSSD to find the information you are looking for. Here is the RS table diagram to help.
Also, if you are going to do any regular replication work, I highly recommend Rob Verschoors The Complete Sybase Replication Server Quick Reference Guide (www.sypron.nl), as it has >90% of what you need to create and manage a Sybase rep environment.
you can use Replication Monitoring Services (RMS)
Various stored procedures and shell scripts for reverse-engineering RepServer objects can be downloaded from http://repserver.codexchange.sybase.com (link 'repserver', folder Admin Tools/Scripts)
PowerDesigner provides reverse-engineering but might require a special license

Is there a Windows tool that will tell me when an entry gets added to a sql table?

I have an app doing logging with a log4net AdoNetAppender so I'd like to know when an entry gets added to the log table. I'm wondering if there is a small app that would sit in the systray and just monitor that table for me?
I assume your application does not create many log entries or else your requirement would not make much sense. Maybe instead of monitoring the database you might consider using an SMTP appender or a twitter appender.
If your database's tables is a separated files for each table, you can check date of modification table's file using a simple cmd-script