Click here to Skip to main content
15,914,795 members
Home / Discussions / Database
   

Database

 
QuestionOld VB6 DBF program fails on new Windows 7 machine. err=-2147467259 (80004005) [Microsoft][ODBC Driver Manager] Driver does not support this function Pin
QuickBooksDev1-Sep-10 8:59
QuickBooksDev1-Sep-10 8:59 
AnswerRe: Old VB6 DBF program fails on new Windows 7 machine. err=-2147467259 (80004005) [Microsoft][ODBC Driver Manager] Driver does not support this function Pin
Mycroft Holmes1-Sep-10 13:00
professionalMycroft Holmes1-Sep-10 13:00 
AnswerRe: Old VB6 DBF program fails on new Windows 7 machine. err=-2147467259 (80004005) [Microsoft][ODBC Driver Manager] Driver does not support this function Pin
Goutam Patra1-Sep-10 19:36
professionalGoutam Patra1-Sep-10 19:36 
QuestionCONVERTING ORACLE SCRIPT TO SQL SERVER Pin
ps_prakash0231-Aug-10 20:56
ps_prakash0231-Aug-10 20:56 
AnswerRe: CONVERTING ORACLE SCRIPT TO SQL SERVER Pin
Simon_Whale31-Aug-10 22:03
Simon_Whale31-Aug-10 22:03 
GeneralRe: CONVERTING ORACLE SCRIPT TO SQL SERVER Pin
ps_prakash0231-Aug-10 22:40
ps_prakash0231-Aug-10 22:40 
GeneralRe: CONVERTING ORACLE SCRIPT TO SQL SERVER Pin
Simon_Whale31-Aug-10 22:44
Simon_Whale31-Aug-10 22:44 
GeneralRe: CONVERTING ORACLE SCRIPT TO SQL SERVER Pin
ps_prakash0231-Aug-10 23:01
ps_prakash0231-Aug-10 23:01 
Hi,
I'm posting sample table script

CREATE TABLE "DEV"."APP_ID"
( "AID" NUMBER NOT NULL ENABLE,
"ID_TYPE" NUMBER NOT NULL ENABLE,
"CREATED" DATE DEFAULT sysdate NOT NULL ENABLE,
"CREATED_BY" VARCHAR2(30 BYTE) NOT NULL ENABLE,
"UPDATED" DATE DEFAULT sysdate NOT NULL ENABLE,
"UPDATED_BY" VARCHAR2(30 BYTE) NOT NULL ENABLE,
PRIMARY KEY ("AID")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "APPLICATION_DATA" ENABLE,
FOREIGN KEY ("ID_TYPE")
REFERENCES "DEV"."ID_TYPE" ("ID_TYPE") ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "APPLICATION_DATA" ;


CREATE OR REPLACE TRIGGER "DEV"."T_APP_ID"
BEFORE INSERT OR UPDATE ON APP_ID
FOR EACH ROW
BEGIN

:new.updated := sysdate;
:new.updated_by := username;

if inserting then
:new.created_by := username;
end if;

END T_APP_ID;
/
ALTER TRIGGER "DEV"."T_APP_ID" ENABLE;
GeneralRe: CONVERTING ORACLE SCRIPT TO SQL SERVER Pin
Simon_Whale31-Aug-10 23:12
Simon_Whale31-Aug-10 23:12 
GeneralRe: CONVERTING ORACLE SCRIPT TO SQL SERVER Pin
ps_prakash0231-Aug-10 23:16
ps_prakash0231-Aug-10 23:16 
AnswerRe: CONVERTING ORACLE SCRIPT TO SQL SERVER Pin
Bernhard Hiller31-Aug-10 23:03
Bernhard Hiller31-Aug-10 23:03 
GeneralRe: CONVERTING ORACLE SCRIPT TO SQL SERVER Pin
ps_prakash0231-Aug-10 23:18
ps_prakash0231-Aug-10 23:18 
QuestionUltralite and c# Pin
pestman31-Aug-10 19:18
pestman31-Aug-10 19:18 
AnswerRe: Ultralite and c# Pin
Steven J Jowett2-Sep-10 1:39
Steven J Jowett2-Sep-10 1:39 
Questionretrive deleted column Pin
moein.serpico31-Aug-10 3:20
moein.serpico31-Aug-10 3:20 
AnswerRe: retrive deleted column Pin
Dalek Dave31-Aug-10 3:34
professionalDalek Dave31-Aug-10 3:34 
GeneralRe: retrive deleted column Pin
SimulationofSai31-Aug-10 6:16
SimulationofSai31-Aug-10 6:16 
GeneralRe: retrive deleted column Pin
PIEBALDconsult31-Aug-10 10:47
mvePIEBALDconsult31-Aug-10 10:47 
GeneralRe: retrive deleted column Pin
Dalek Dave31-Aug-10 21:03
professionalDalek Dave31-Aug-10 21:03 
AnswerRe: retrive deleted column Pin
Simon_Whale31-Aug-10 3:37
Simon_Whale31-Aug-10 3:37 
AnswerRe: retrive deleted column Pin
MidwestLimey31-Aug-10 4:26
professionalMidwestLimey31-Aug-10 4:26 
AnswerRe: retrive deleted column Pin
Corporal Agarn1-Sep-10 5:41
professionalCorporal Agarn1-Sep-10 5:41 
AnswerRe: retrive deleted column Pin
Qulan11-Sep-10 6:30
Qulan11-Sep-10 6:30 
Questionerror 229 Pin
moein.serpico31-Aug-10 1:56
moein.serpico31-Aug-10 1:56 
AnswerRe: error 229 Pin
Luc Pattyn31-Aug-10 2:32
sitebuilderLuc Pattyn31-Aug-10 2:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.