473,386 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

DWB and Views

Hi.

How to add views from database explorer to data project explorer?
the only options I can see at data project explorer:
- sql scripts
- stored procedures
- user-defined functions

None of those 3 folders accept views..
are those folders fixed or can be expanded to accept adding Views?

Thanks
FS

Sep 8 '06 #1
5 1416
fayez wrote:
Hi.

How to add views from database explorer to data project explorer?
the only options I can see at data project explorer:
- sql scripts
- stored procedures
- user-defined functions

None of those 3 folders accept views..
are those folders fixed or can be expanded to accept adding Views?
Drill down to the schema where you want to add the view.
The schema has a VIEWS folder. Right click, NEW->With SQL Editor.
It generates a template for you:
CREATE VIEW SRIELAU.view1
AS SELECT col1, col2
FROM SRIELAU.table1
WHERE col2 = 99;

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Sep 8 '06 #2
sorry Serge, may be I did not explain what I need in a right way..
I have the views created at database under schema..
I want to copy (move) this view under Data Project Explorer so I can
modify, add to my Clearcase vob .. etc

Thanks for your help.

FS

Serge Rielau wrote:
fayez wrote:
Hi.

How to add views from database explorer to data project explorer?
the only options I can see at data project explorer:
- sql scripts
- stored procedures
- user-defined functions

None of those 3 folders accept views..
are those folders fixed or can be expanded to accept adding Views?
Drill down to the schema where you want to add the view.
The schema has a VIEWS folder. Right click, NEW->With SQL Editor.
It generates a template for you:
CREATE VIEW SRIELAU.view1
AS SELECT col1, col2
FROM SRIELAU.table1
WHERE col2 = 99;

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Sep 8 '06 #3
fayez wrote:
sorry Serge, may be I did not explain what I need in a right way..
I have the views created at database under schema..
I want to copy (move) this view under Data Project Explorer so I can
modify, add to my Clearcase vob .. etc
Ah.. now that I do not know about. I will try(!) to inquire.

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Sep 8 '06 #4
ok, thanks for help..

Serge Rielau wrote:
fayez wrote:
sorry Serge, may be I did not explain what I need in a right way..
I have the views created at database under schema..
I want to copy (move) this view under Data Project Explorer so I can
modify, add to my Clearcase vob .. etc
Ah.. now that I do not know about. I will try(!) to inquire.

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Sep 12 '06 #5
fayez wrote:
ok, thanks for help..

Serge Rielau wrote:
>fayez wrote:
>>sorry Serge, may be I did not explain what I need in a right way..
I have the views created at database under schema..
I want to copy (move) this view under Data Project Explorer so I can
modify, add to my Clearcase vob .. etc
Ah.. now that I do not know about. I will try(!) to inquire.
I passed your inquiry along, but haven't gotten a response.
If you really are interested you'll need to work through the official
channel (PMR)

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Sep 12 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Mike N. | last post by:
Hello: I am new to T-SQL programing, and relativly new to SQL statements in general, although I have a good understanding of database theory. I'm a little confused as to the fundamental...
3
by: dbtoo_dbtoo | last post by:
One of the databases has 50 views and when I do a db2look I only get schema for 40 of them. If I select from the sysviews, I can see all 50 (the text column contains schema for all 10 (missing)...
8
by: Mike | last post by:
Hello, I have a few rather urgent questions that I hope someone can help with (I need to figure this out prior to a meeting tomorrow.) First, a bit of background: The company I work for is...
0
by: Fan Ruo Xin | last post by:
I installed Stinger in my PC (w2k). I need to do a quick compare between DB2 OLAP server and DB2 Cube Views. And I only found DB2 Cube Views version8.1 trial code from IBM website. I didn't want to...
3
by: KemperR | last post by:
Hello Experts outhere, may be someone can tell me whats going wrong with my ADOX trial. I have an Access 2002 database with some tables and queries (views) The code listed below works well up...
2
by: dbuchanan52 | last post by:
Hello, I am building an application for Windows Forms using. I am new to SQL Server 'Views'. Are the following correct understanding of their use? 1.) I believe a view can be referenced in a...
28
by: mooreit | last post by:
The purpose for my questions is accessing these technologies from applications. I develop both applications and databases. Working with Microsoft C#.NET and Microsoft SQL Server 2000 Production and...
15
by: rod.weir | last post by:
Fellow database developers, I would like to draw on your experience with views. I have a database that includes many views. Sometimes, views contains other views, and those views in turn may...
33
by: Peter | last post by:
People are telling me it is bad to put select * from <atable> in a view. I better should list all fields of the table inside the definition of the view. I dont know exactly why but some...
7
by: Gary | last post by:
Hello guys! Bear with me, I am a newbie. She is the Data Warehouse manager. She has about 50 users to use the Oracle database from M$ Access via ODBC connection. All those users have only...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.