Click here to Skip to main content
15,895,370 members
Home / Discussions / Database
   

Database

 
Questioninstall the OSQL tool on the client machine Pin
sunil goyalG5-Feb-09 23:13
sunil goyalG5-Feb-09 23:13 
QuestionSQL Server 2005 pending open transaction Pin
sujithkumarsl5-Feb-09 19:24
sujithkumarsl5-Feb-09 19:24 
AnswerRe: SQL Server 2005 pending open transaction Pin
Wendelius9-Feb-09 6:22
mentorWendelius9-Feb-09 6:22 
GeneralRe: SQL Server 2005 pending open transaction Pin
sujithkumarsl9-Feb-09 16:41
sujithkumarsl9-Feb-09 16:41 
QuestionEleminating same consecutive rows. Pin
pratap19805-Feb-09 12:13
pratap19805-Feb-09 12:13 
AnswerRe: Eleminating same consecutive rows. Pin
Blue_Boy6-Feb-09 4:59
Blue_Boy6-Feb-09 4:59 
QuestionMigrating from Oracle to SQL Server-urgent Pin
pzn3xq5-Feb-09 5:36
pzn3xq5-Feb-09 5:36 
AnswerRe: Migrating from Oracle to SQL Server-urgent Pin
PIEBALDconsult5-Feb-09 6:03
mvePIEBALDconsult5-Feb-09 6:03 
On my last job, my first task was to "warehouse" the data in an Ingres database into an SQL Server database.

I wrote an application that got the table and index schema and cobbled up the corresponding SQL Server commands and ran them on the target database.

I then had another application that would copy the data over. This later became a Windows Service that copied over any changes periodically, this was not a one-time copy of the database, but an on-going warehousing process.


Gotchas:

On SQL Server a one-byte value (tinyint) is unsigned, but on Ingres it's signed, so I had to use smallint instead. So check to see what Oracle uses.

The range of the Date type on Ingres was wider than SQL Server's, so I had to compare each Date value with SQL Server's range.
What I did when I found an out-of-range Date value was log it and replace it with SQL Server's min or max as appropriate.
I wound up with the ability to specify range checking for other types as well.
Check Oracle's range of Dates.


As for stored procedures, you're likely stuck. (Yet another reason not to use stored procedures Big Grin | :-D ).
AnswerRe: Migrating from Oracle to SQL Server-urgent Pin
Wendelius5-Feb-09 6:10
mentorWendelius5-Feb-09 6:10 
QuestionUsing SQL Server 2005 stored procedure in a view Pin
Steven J Jowett5-Feb-09 1:09
Steven J Jowett5-Feb-09 1:09 
AnswerRe: Using SQL Server 2005 stored procedure in a view Pin
Rob Philpott5-Feb-09 2:05
Rob Philpott5-Feb-09 2:05 
GeneralRe: Using SQL Server 2005 stored procedure in a view Pin
Steven J Jowett5-Feb-09 2:23
Steven J Jowett5-Feb-09 2:23 
Questionsql query parser Pin
me_aaryan4-Feb-09 22:38
me_aaryan4-Feb-09 22:38 
AnswerRe: sql query parser Pin
Wendelius5-Feb-09 6:06
mentorWendelius5-Feb-09 6:06 
AnswerRe: sql query parser Pin
PIEBALDconsult5-Feb-09 6:11
mvePIEBALDconsult5-Feb-09 6:11 
QuestionGrouping to eliminate null Pin
member274-Feb-09 20:00
member274-Feb-09 20:00 
AnswerRe: Grouping to eliminate null Pin
Ennis Ray Lynch, Jr.5-Feb-09 6:33
Ennis Ray Lynch, Jr.5-Feb-09 6:33 
Questioncountry,state ,city, table in sql server Pin
surajitkhamrai4-Feb-09 19:09
surajitkhamrai4-Feb-09 19:09 
AnswerRe: country,state ,city, table in sql server Pin
Rob Philpott4-Feb-09 22:03
Rob Philpott4-Feb-09 22:03 
QuestionSQL xml: get xml values into CSV? Pin
pankazmittal4-Feb-09 11:38
pankazmittal4-Feb-09 11:38 
AnswerRe: SQL xml: get xml values into CSV? Pin
Wendelius5-Feb-09 5:59
mentorWendelius5-Feb-09 5:59 
GeneralRe: SQL xml: get xml values into CSV? Pin
pankazmittal5-Feb-09 9:08
pankazmittal5-Feb-09 9:08 
GeneralRe: SQL xml: get xml values into CSV? Pin
Wendelius5-Feb-09 9:16
mentorWendelius5-Feb-09 9:16 
QuestionWriting to Console from SQL Server Stored Procedure Pin
ragtopcathy4-Feb-09 4:09
ragtopcathy4-Feb-09 4:09 
AnswerRe: Writing to Console from SQL Server Stored Procedure Pin
Wendelius4-Feb-09 7:19
mentorWendelius4-Feb-09 7:19 

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.