Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friend's,

I have a Sql Database having more tables with data. This database tables with data i need to copy into Redis server for timingly(per day one or two times) using sql query. This Redis server i am using for quick retrival in my web api.
So please can any one suggest me on this..


Thanks in Advance,
Mohan G
Posted
Updated 27-Feb-15 2:28am
v2
Comments
Sinisa Hajnal 28-Feb-15 3:20am    
Sooo...you need to replicate data from your server to your web server? Write insert/update query for each of the tables where you're paying attention not to create duplicate rows...you have to have the access to both servers obviously.

Fastest way I can think of is to create Linked Server, write a stored procedure that will do all updating as needed and call it via scheduled job. Everything can be done in SQL Management Studio.
Mohan Gopi 2-Mar-15 4:54am    
Hi Sinisa, Thanks for your reply...what ever you replied same only thing we are planned but could't able to do implement that... because i don't have proper guidlines... Could you please share me a small sample if it's possible for better understanding... it's very usefull for me... can u guid me pls.....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900