How can I get he table fingerprint in database? - database

I have a problem. How can I get the table fingerprint(like file fingerprint) in database. is there tool for this?
I am looking for solution like forcepoint dlp did.

Related

Talend how to copy one db to another

I need to copy a lot af tables from one db to another. And i want to do it in a fast way. So, what it the fastest way to do that? I'm new to talend, i know that is possible to do something like that: toracleinput->map->toracleoutput. But it will take a lot of time to do it for 40 tables.
If you want to transfer all the tables then you can use tTransferDatabase
refer document pages for more details.
You can download tTransferDatabase component from above link and then install it with TOS.
once that is done this component will be displayed on palate. drag and drop it on job designer. configure like below.
it will ask for source connection and target connection.
Create tOracleConnection for Target & source and provide it to tTransferDatabase component.
Select Migration type " schema & data".
See image for more details.

SSIS - Log all inserts or updates done to the table

I was wondering if it is possible to create a SSIS package that would take all inserts and updates that were done to the specific table in SQL Server and write them into a text file.
I watched some videos on youtube but I couldn't find this specific case.
Could anyone guide me please?
Have you looked into Change Data Capture (CDC)? It's pretty fantastic.
Link here to an intro article by Pinal Dave.

How to make a copy of schema in Amazon RDS (Oracle)?

For all the developers in a team, i am trying to automate creating a dedicated schema for each one of them from a 'master' schema. How can I achieve this?
At the end all I want is: given 'developer_1' schema name, 'developer_1' will have all the tables, views, sequences from schema 'master' along with the index and constrains. Online search pointed to DataPump. AWS documentation seemed pretty light. I am looking to have this setup such a way that, this can be invoked every week to get latest snapshot from master schema. (blowing up whatever existed for developer_1)
Thanks,
You will likely want to you Oracle's Data Pump utility. With this, you can create a schema dump (export) and then import that dump. On import, you can use the handy REMAP_SCHEMA command-line parameter to change the schema name on import.
The links below should help get you started.
Export: http://docs.oracle.com/cd/B28359_01/server.111/b28319/dp_export.htm
Import: http://docs.oracle.com/cd/B28359_01/server.111/b28319/dp_import.htm
I was looking for something similar and found this (and then you during the google-trawling):
http://learnwithme11g.wordpress.com/2012/06/07/copy-schema-into-same-database-with-impdp/
I think you can get around the CLI access by using something like:
!mkdir /path/to/dir
then invoking:
create directory as TEMP_DIR='/path/to/dir'
in SQL*Plus.
Also, be aware that the syntax is wrong in site above.

Cakephp - Baking custom models

I need to bake a large project but a requirement is each model has its schema listed at the top as a multi-line comment.
Any ideas ?
Thanks, Alex
Start in your [PATH]/cake/console/templates/classes/model.ctp file.
Manually connect to the database using an old-fashioned php connect string.
Pull the table structure in a "describe" query.
Loop through, print out the table structure in comments.
cake bake...

City, State, Zip, Country list/script for sql server table

I have been searching around for the best source for City, State, Zip, Country to use in an application. I have found the set at GeoNames.org and it seems very comprehensive. However there is not a simple import into SQL Server. I also believe the USPS has something similar.
Does anyone know a good reliable source that is easily imported into SQL Server for this information? Or maybe even some better Googling terms?
There is a script to load data from geonames in a blog I wrote a while ago. Hopefully it helps.
SQL Server Zipcode Latitude/Longitude proximity distance search
Why can't you just get the CSV files and bulk-load them into your data base. How much simpler do you want?

Resources