Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sadiquep
Starting Member
1 Post |
Posted - 2010-11-03 : 16:46:08
|
hai friendsi need migrate to mssql from oraclesuppose i have in oracle a tablespcae for a spicefied user( following query i am using in oracle .. how i can use this inms sql)=============================simply i need to create tablepscae inv_detailes and aloow it for userinv001122how i can do itanybody please...............====================================CREATE TABLESPACE INV_DETAILESDATAFILE 'INV_DETAILES.dbf' SIZE 20M AUTOEXTEND ONEXTENT MANAGEMENT LOCAL AUTOALLOCATE;CREATE TEMPORARY TABLESPACE tmpdata_INVTEMPFILE 'tmpdata_INV.dbf' SIZE 10M AUTOEXTEND ON;CREATE USER invv001122 IDENTIFIED BY invvaabbcc;ALTER USER invv001122 DEFAULT TABLESPACE INV_DETAILESQUOTA UNLIMITED ON INV_DETAILES;ALTER USER invv001122 TEMPORARY TABLESPACE tmpdata_inv;GRANT dba TO invv001122;GRANT connect TO invv001122;GRANT CREATE SESSION TO invv001122;GRANT CREATE TABLE TO invv001122;GRANT CREATE PROCEDURE TO invv001122;GRANT CREATE SEQUENCE TO invv001122;GRANT CREATE TRIGGER TO invv001122;GRANT CREATE VIEW TO invv001122;GRANT CREATE SYNONYM TO invv001122;GRANT ALTER SESSION TO invv001122;=====================================edit: moved to proper forum |
|
Swaynebell
Starting Member
8 Posts |
Posted - 2010-11-04 : 12:11:06
|
Hi,SQL Server doesn't use the tablespace concept that Oracle does. The closest concept is "Filegroups", which you can review in Books Online. |
 |
|
|
|
|