Moving Oracle Schemas to newer version - oracle11g

I have few db schemas in Oracle 9.2.0.8 and i have to move these schemas into Oracle 11.2.0.1.0. What is the best way of doing this?
I found a way that these schemas can be exported in 9i using exp utility and import these scheams into Oracle 11gR2 DB using imp. Any thoughts will be greatly appreciated.

If the schemas have to be moved, using exp/imp is the recommended way. However this only works if the schemas are self-contained. If they are not self-contained than the referred to schemas also need to be exported and imported. In addition do not forget to analyze the objects after the import and take a backup.

Related

Re-use schemas within BizTalk solution using XSD Import (Importing types from another schema/namespace)?

I have crated schema project and use consume adapter service wizard to generate schema for SQL DB table to perform insert operation. (Filename Prefix : Batch_)
How to overcome with issue when I tried to reuse schemas and build new schemas (Common) out of existing types ?
So, when I check Request schema node and try to find data structure type I got nothing ?
It's not totally clear what you're trying to do. But...it probably doesn't matter.
While technically possible, you really shouldn't be trying to craft your own schemas, just use what the Wizard emits directly.
With one exception, the common types, those you can consolidate because the xsd is the same for all generated Schemas.
More here: BizTalk Server: Reducing and Consolidating WCF Serialization Schema Types

EntityFramework 7 - CodeFirst - SQLite - Manage DB using ApplyMigrations at runtime

I am well on my way to utilizing EF7 CodeFirst with SQLite...but really want to employ DB Migrations at runtime. This is a desktop application (Click-once deployment) meant to sync with a main database when connection is available, and provide offline data when no connection is present.
I have pulled down the nuget pre-release versions and all is working, except I cannot find any documentation of how to apply the migrations at runtime. I can successfully Add-Migrations and manually Apply-Migrations...but need a way to programatically Apply-Migrations at runtime.
I've also browsed the EF7 open-source project, but could not get anywhere there.
Versions I'm using: Latest Pre-release as of 9/15/2015
EntityFramework.Sqlite v7.0.0-beta7
EntityFramework.Relational v7.0.0-beta7
EntityFramework.Commands v7.0.0-beta7
...et al...you get the picture.
I am asking for help to apply runtime migrations...or what is the documented/recommended path for programatically maintaining a local/embedded db using EF7 CodeFirst SQLite?
UPDATE:
I went back to EF6 with SQLite but then found out that there is not SQLMigrationGenerator for SQLite.
EDIT:
I believe ApplyMigrations() method referenced in one of the notes has been deprecated. Searching the repository, there is no reference to "ApplyMigrations".
Today you can invoke the extension method Migrate on the DatabaseFacade.
This method is only available when the using Microsoft.Data.Entity statement is present. It comes from the RelationalDatabaseFacadeExtensions class that is part of the EntityFramework.Relational package.
Still have to find out how to migrate up and down from the API.

Using Express.js modules in Sails.js

Sails.js does not yet have official Sqlite adapter. There are some attempts, but having read the comments, they are buggy and not reliable.
Since Sails.js uses Express.js, and Express has decent sqlite modules, I was thinking how to use it in Sails?
Any idea is appreciated.
I managed to do it. Very easy. First Install the sql3lite package
Lets Assume I have UserController. At the start of the controller, use this:
sqlite3 = require('sqlite3').verbose(),
db = new sqlite3.Database('myDbName');
db object has all that is needed. You can check the link for detailed CRUD reference :)

How to find the use of default tables available in drupal

How can I able to find the usage of default tables available in drupal.
Is there any documentation available?
For example: there is a table called node. I need to know what is the usage of it and how it acts.
Any suggestions or answers will be helpful and grateful.
Your question is not very clear (the term "usage" is quite ambiguous), but you could install the Devel module. After setting it up it will show, for every page loaded (home page included), which SQL queries are run.
Every module can add tables to the database. A default Drupal install uses core modules, either required ones or those installed as dependencies of the default installation profile. These modules install their own tables.
Each module declares its tables in its implementation of hook_schema. The Schema module use the information from the implementations of this hook to provide a schema documentation.
Most of the time, you shouldn't directly access the database but use the API provided by the modules managing the data. Tables are usually considered private for their modules. New release of a module may change its schema in an incompatible way. Using API is much safer. Unfortunately, sometimes database access is the only option. In these cases, implementation of a data access layer between your code and the database is advised.

Setting up SubSonic with Databases other than SQL Server

I am currently using SubSonic (2.2 and 3) for some ASP.NET projects and have managed to get them working with SQL Server (using ActiveRecord). However, I also want to know how to set it up with other (open source) databases, e.g. PostgreSQL and SQLite. This is so I can use it on a web host without SQL Server on. The providers I have found are:
PostgreSQL: Npgsql
SQLite: System.Data.SQLite or Mono.Data.SqliteClient (if it works with Microsoft.NET)
Anyone have any experience with SubSonic know how to do this (some sample demo would be good - just a basic primer on querying would be fine)? Non-ASP.NET MVC though (not got into it yet). I have only basic knowledge of SQLite (basically using SQLite Manager in Firefox and querying it via PHP Data Objects) and have not used Postgresql, but assume it would be more scalable than SQLite.
For version 3
PostgreSQL: There aren't any templates for postgres at the moment so you'd need to create the templates yourself
SQLite - The steps should be as follows:
Add a reference to System.Data.SQLite
Look in the TemplateProviders folder you'll find a SQLite.ttinclude which you'll need to drop into your project instead of SQLServer.ttinclude.
Change the .tt files that reference SQLServer.ttinclude to reference SQLite.ttinclude instead.
This is so I can use it on a web host without SQL Server on.
With the release of SQLExpress dont all hosts offer this? (I only use dedicated server so I have no direct experiance with this)
In response to your question.
SQLite - http://codefornothing.wordpress.com/2007/07/19/sqlite-data-provider-for-subsonic-part-2/
Postgre: Doesnt look as simple,
Subsonic postgreSQL Template
PostgreSQL via subsonic
Good luck.
In short, Subsonic only support few database only NOT ALL ( that what their claimed :( ). Try nHibernate, support most of the database.

Resources