Encryption of a coulmn in a table in teradata - teradata

I have a requirement where each row in a column has to be encrypted with a public key.
The table is a teradata table.
Is there any way to do this?
Thanks in Advance,
Nikhila

Related

DynamoDB - How can i create the following table?

Im currently trying to create a DynamoDb Table based off of this Table, I'm confused on what I should use as the partition and sort key, in order to return queries containing the word 'Coke'. Any help will be appreciated thank you.

How to transfer all unique non key column records from a DynamoDB table to another new table?

A DynamoDB table has a non key column called Name
I want to be able to take all the unique Name from this table and populate a new table with just one column also Name (Partition Key).
My attempts with Lambda and DynamoDB Streams has been futile so far.
Can some one please guide me along the right path?

Is there any way to retrieve items from dynamodb table by applying filter condition on primary key

I am trying to fetch items from a dynamodb table with some condition on primary key and I don't have any other values with me.I just know that some of records in the table have a different pattern for primary key (like contains a hyphen in it) which others don't.How do I achieve this in a simple way..Do I need to Scan the complete table get the result and filter the desired records
Some thing like "Select * from Student where Id like '%-%', as we do in sql
You will need to do a scan and filter. If the table has a lot of items it could be a slow and expensive process.

Where does the CHECKSUM metadata value for a table get stored in DBC Teradata catalog tables

Am looking to find out where does the Checksum metadata values of the datable got stored.
Here when I run a query
CREATE TABLE "mydb"."Table1", FALLBACK , SINGLE BEFORE JOURNAL , CHECKSUM = HIGH (
"Column1" CHARACTER(5),
"Column2" CHARACTER(5)
);
I can see the Journal options are store in the JournalFlag Column (http://www.info.teradata.com/HTMLPubs/DB_TTU_14_10/ index.html#page/Database_Management/B035_1092_112A/ Appendix_A_System_Columns.019.05.html).
Which can be found using the query "select JournalFlag from DBC.Tables where DatabaseName = 'mydb' and TableName = 'Table1' "
Is there any such way to know the value of the Checksum for a given table from the Teradata catalog tables, or is there any store procedure of utility to find out the value of checksum for a given table ?
Thanks in advance !!
Regards,
Ravi.
CHECKSUM can't be found in any system table, it's only in the table header (similar to BLOCKSIZE).
The only way to get this info using SQL is a SHOW TABLE, otherwise only a low-level command line utility should be able to extract this info. Probably FILER, but this is mainly for TD support...

Can a SQLite table have more unique fields other than the primary key?

I don't want a composite primary key. All I want is that another field must be also unique.
Yes, you just need to mark the column as unique.
http://www.sqlite.org/lang_createtable.html
Look under SQL Data Constraints.

Resources