RavenDB - How to replicate an index, not a document collection, on SQL Replication - ravendb

I'm using RavenDB 3.0 SQL Replication, and it works fine for me on document collections.
But now I need to replicate an index (which includes Reduce).
In documentation of older version (2.0) I saw that Index Replication was available.
How can I use it in version 3.0, from the Studio?

You can try the index replication bundle and compile that on 3.0

Related

Keywords such as GENERATED are not available on Azure SQL Studio

After discovering the usefulness of Temporal Tables, I have tried to implement it using Azure SQL Data Studio.
However, I get syntax errors when using Keywords such as GENERATED or SYSTEM_VERSIONING.
Is there a fix for this ?
What version of ADS are you using? It looks fine with the latest stable version (1.17.1) for me
[
If you're still seeing this on the latest version please open an issue here https://github.com/microsoft/azuredatastudio/issues and we'll investigate.

The data value could not be converted for reasons other than sign mismatch or data overflow

I have recently migrated an application from .NET Framework 2.0 to .NET Framework 4.5. It is using Informix version 3.50 as a database. After migration, when it is fetching from the database and the fields contain special characters, it is throwing the following error:
The data value could not be converted for reasons other than sign mismatch or data overflow. For example, the data was corrupted in the data store but the row was still retrievable".
I am using a SELECT query to fill a DataSet. When I run the query manually in database, it gives the results without any issues, but when filling the DataSet in the code, I am getting the error. The non migrated solution is working properly.
Can anyone provide any solution for this. Please let me know if you need any more information.
For the .NET Framework 4.x driver support, the minimum recommended version of Informix Client SDK is CSDK 4.10 xC2 or higher. The latest is CSDK 4.10 xC12
Error - data value could not be converted for reasons other than sign mismatch or data overflow.
I downloaded Microsoft Access Database Engine 2010 Redistributable again using the re-install option and issue was fixed

Entity Framework migration with already deployed SQL compact database

My situation: EF 4.3, private install of SQL Compact 4, .Net FW 4, c# winform
Problem: after the application was deployed there was the inevitable change requested that required me to create a new field in the only table in the SQL compact database. During app install the SQL compact db is placed in the user's Application Data folder so that it can be written to successfully. I updated the program and redeployed but the following behaviors are occurring:
uninstalling the old version of the app does not uninstall the SQL compact db in the user's Application Data folder
installing the updated version of the application does not overwrite the old SQL Compact db in the user's Application.
Since the new database with the added column doesn't get copied over it is breaking the application when the user runs it. My reaearch indicates that I should be using "automatic EF migrations" to solve my problem. In my situation mydesired strategy would be to do a quick check of the db table and add the missing column if necessary.
I am using EF the Database first way. I am having a hard time finding a good example that fits my situation and my desired strategy for fixing this.
Any help would be greatly appreciated! :-)
I don't think EF Migrations have anything to do with your problem. According to this, if you follow ClickOnce tutorials step by step, it should work. As suggested by that SO answer, you should check this page. Good luck!

"SQL Server Compact 2008" including spatial support

I've read somewhere that there will be a "SQL Server Compact 2008" including spatial support but now that I search for it, I can't find it anywhere. For example, there's nothing on https://connect.microsoft.com/SQLServer/content/content.aspx?ContentID=5470 regarding the compact version.
Does anyone know what the scoop is?
I have a situation here, i have created WPF application with SQL Compact edition database , now i want to store some spatial data in it. I am using google maps and want to use the geography data type which is not supported in CE. Now, what should be the best approach i should follow, should i use the express edition but then how will i encrypt the data in db / make it safe?
You can store the Geography data in an "image" column in the SQL Server Compact db, no support for Geography. You can alos encrypty the SQL Server Compact db (as you probably know already)
On this page here, you can read all about the new release of SQL Server Compact Edition v4.0 - however, I don't see any mention of the SQL Server 2008 spatial datatypes being supported.

SQL Azure schema upgrade strategy

i'm currently working on a asp.mvc application with entity framework as db backend which will be running on ms azure platform.
on my development machine i'm running a sqlexpress instance which hosts my development database (like i said may app connects via entity framework to it).
deploying the database schema from my local sqlexpress to sql azure is pretty easy via the entity framework database generation wizard (for whatever reasons the wizard always wants to create some clustered indexes which i correct manually in the generated sql file).
but i can't figure out a way to keep my data! the auto generated sql script always dumps all my tables and creates new ones...thats ok for initial setup, but not to upgrade a existing database.
there must be a nice way to perform a schema update without dataloss...please help! i have already tried sql management studio (r2) and SQLAzureMW (available on codeplex)...but they don't do the job :(
please don't tell me i have to code my own tool to do that!
looking for your help
thx
Edit: here's how i do it now
I use the SQL scripts created by the EF migration wizard for my local SQL Express and modify them myself to be compatible with SQL Azure. Is less work that one might think and works perfect :)
Have you tried to use BCP to export and then import your data? I believe you should be able to use BCP to export data from your SQL Express instance into a file, and then import data from the file into SQL Azure. The SQL Azure team has a blog posting that describes using BCP with SQL Azure - Link.
Additionally, in the future, the upcoming release of SQL Azure Data Sync CTP2 might be able to help you out.
Out of curiosity, what problems where you having with SQLAzureMW?
RedGate is famous for SQL server synchronization and data synchronization for deployment purposes.
They have a v9 beta out of their DataCompare and SchemaCompare products that are compatible with SQL Azure. I've been using both successfully and like them alot.
They are pricey when purchased, if you are a small business.
http://www.red-gate.com/Azure
This sounds vary similar to this question, the only answer to which is "wait for the next version of entity framework". I'll admit that I don't use EF, but I make my changes to tables the old school way with SQL Server Management Studio and scripts. ALTER TABLE FTW.
EDIT: If you don't have access to SQL Server Management studio, the new version of the SQL Azure portal includes a Silverlight based application that allows you to run queries and scripts