dbTalk Databases Forums  

Can we query using views in DTS

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Can we query using views in DTS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Abhiram
 
Posts: n/a

Default Can we query using views in DTS - 11-13-2003 , 03:24 AM






Hi,

I am very new to DTS. Actually i have data in various
views on sql server 2000. I have to perform some queries
on these views and trasfer result data to Excel sheets,
and i also need to schedule this job. I felt the best way
and the safest way is DTS.

1. Can I use DTS and write the SQL Query using views or
do we need to only make use of Tables??

2. Can we execute complicated queries in DTS like the
queries which have multiple Join Statements e.g may be 10-
15 Joins. I am making use of 10-15 views and writing my
query. Can i execute this query in DTS ??

Any help would be greatly appreciated.

Thanks,
Abhiram

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Can we query using views in DTS - 11-13-2003 , 08:11 AM






Views are good
I would wrap the complicated statements in views but yes it is possible

--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Abhiram" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

I am very new to DTS. Actually i have data in various
views on sql server 2000. I have to perform some queries
on these views and trasfer result data to Excel sheets,
and i also need to schedule this job. I felt the best way
and the safest way is DTS.

1. Can I use DTS and write the SQL Query using views or
do we need to only make use of Tables??

2. Can we execute complicated queries in DTS like the
queries which have multiple Join Statements e.g may be 10-
15 Joins. I am making use of 10-15 views and writing my
query. Can i execute this query in DTS ??

Any help would be greatly appreciated.

Thanks,
Abhiram



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.