Advertisement

11.21.2005 at 11:20PM PST, ID: 21639203
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.2

CONVERSION OF ORACLE DATABASE TO MSSQL

Asked by Sharihp in Oracle Database

Tags: , ,

I have been provided with oracle sql scripts by my client which should be converted to MSSQL.  PART OF THE SCRIPT IS

CREATE TABLE IGAMES.ACCOUNT_LOG
(
    TRANS_ID     VARCHAR2(20) NOT NULL,
    TRANS_DATE   DATE         NOT NULL,
    ACCOUNT_NO   VARCHAR2(20)     NULL,
    ACCOUNT_KIND CHAR(1)      NOT NULL,
    TRANS_KIND   CHAR(1)      NOT NULL,
    BALANCE      NUMBER(19,4) NOT NULL,
    DEPOSIT      NUMBER(19,4) NOT NULL,
    WITHDRAW     NUMBER(19,4) NOT NULL,
    GAME_ID      VARCHAR2(4)  DEFAULT 'P' NOT NULL,
    IP_ADDRESS   VARCHAR2(15)     NULL,
    CONNECT_ID   VARCHAR2(25)     NULL,
    TABLE_ID     VARCHAR2(5)      NULL,
    GAMELOG_ID   VARCHAR2(20)     NULL,
    WHO          VARCHAR2(20)     NULL,
    REMARK       VARCHAR2(50)     NULL
)
TABLESPACE IGAMES_TABLES
LOGGING
PCTFREE 10
PCTUSED 40
INITRANS 1
MAXTRANS 255
STORAGE(FREELISTS 1
        FREELIST GROUPS 1
        BUFFER_POOL DEFAULT)
NOPARALLEL
NOCACHE
/
ALTER TABLE IGAMES.ACCOUNT_LOG
    ADD CONSTRAINT PK_ACCOUNT_LOG
PRIMARY KEY (TRANS_ID)
USING INDEX PCTFREE 10
            INITRANS 2
            MAXTRANS 255
            TABLESPACE IGAMES_INDEXES
            STORAGE(FREELISTS 1
                   FREELIST GROUPS 1
                   BUFFER_POOL DEFAULT)
LOGGING ENABLE VALIDATE


While converting the table i removed the schema name and i again prefixed the schema name once it got converted to mssql ...
but now the problem is how can i convert even the tablespace to mssql database. As mssql  does not have the concept of tablspace .....its actually the database....could someone please help me out with this
Even the  "ALTER TABLE " syntax cannot be converted as its referencing the tablespace.

One more thing i have  downloaded  software "INTELLIGENT CONVERTERS" AND THE OTHER WAY IS THROUGH ENTERPRISE MANAGER... WHICH WOULD A BETTER OPTION FOR CONVERSION
THANXStart Free Trial
[+][-]11.22.2005 at 05:05AM PST, ID: 15341345

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.22.2005 at 05:07AM PST, ID: 15341349

View this solution now by starting your 14-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Oracle Database
Tags: oracle, mssql, initrans
Sign Up Now!
Solution Provided By: Arnee_Senthil
Participating Experts: 1
Solution Grade: B
 
 
[+][-]11.22.2005 at 10:03PM PST, ID: 15348085

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.24.2005 at 04:01AM PST, ID: 15356161

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.06.2006 at 04:38AM PST, ID: 15628033

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43