Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/no9/sqlcdcmanager

A tool to expose the changes in an sql server database to node applications
https://github.com/no9/sqlcdcmanager

Last synced: 5 days ago
JSON representation

A tool to expose the changes in an sql server database to node applications

Awesome Lists containing this project

README

        

# sqlcdcmanager

### MS SQL Server Change Data Capture Manager

![Database Configuration Screen](https://raw.github.com/No9/sqlcdcmanager/master/images/databasescreen.png "Database Configuration Screen")

This is an application to configure Change Data Capture (CDC) through a simple web interface.

It is designed to be used in conjunction with [sqlcdc-stream](https://github.com/No9/sqlcdcstream "sqlcdc-stream") but it is not a requirement.

As this is SQL Server specific it will only run on windows with node.

## Installation

On the machine where SQL Server 2008 or Above is installed perform the following:

```
npm install sqlcdcmanager
cd sqlcdcmanager
osql -E -i node_modules\sqlcdcmanager\sqlscripts\Generate_cdcsql_database.sql
```

Open a new command prompt as Administrator
```
net start "SQL Server Agent (MSSQLSERVER)"
```

Or open SQL Server management studio and make sure the SQL Server Agent Is Running.

You may want to change config.json in the root directory of the install.
The config file points to the local instance so if you are running sqlcdc on the same machine as the database nothing needs to be done.
```
"dbconnection" : "Driver={SQL Server Native Client 11.0};Server=NAME_OR_IP_OF_SQLSERVER;Database=master;Trusted_Connection={Yes}"
```

**Start Redis as per your requirements**
If you are just running the sample then double click on the redis-server.exe

Start The Service
```
sqlcdcmanager
```

##License

(The MIT License)

Copyright (c) 2012 Anthony Whalley

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.