How to Test Code's Database flexibility

  • Thread starter Thread starter rhettliu
  • Start date Start date
R

rhettliu

Hello ,Every Body!


I'm a newbie in software test.Currently, I'm immgrant some code from
Oracle to SqlServer,I'm bothered how to test the new code's flexibility
to SqlServer.
The Situation is:
[Code Content]
From Front Control which gather user input to back core which assemble
Sql statement.
[Code Defect]
The Code have originally adapted pattern for cross database, but
however during the development,some code may be Oracle specified.
Thanks For Your Help!
 
My advice: Move all data access to stored procs. You can migrate a good deal
of the code to SQL, but may have to tweak the proc to compile. Then, you are
are cross platform enabled. Other option: Only ANSI-92 compliant SQL in your
"ad hoc" queries (embedded queries).


---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

Hello ,Every Body!


I'm a newbie in software test.Currently, I'm immgrant some code from
Oracle to SqlServer,I'm bothered how to test the new code's flexibility
to SqlServer.
The Situation is:
[Code Content]
From Front Control which gather user input to back core which assemble
Sql statement.
[Code Defect]
The Code have originally adapted pattern for cross database, but
however during the development,some code may be Oracle specified.
Thanks For Your Help!
 
Back
Top