Unix Technical Forum

Index on a View?

This is a discussion on Index on a View? within the Sybase forums, part of the Database Server Software category; --> Anyone know if you can put an index on a view (11.9.X)? I tried searching the (really slow) Sybase ...


Go Back   Unix Technical Forum > Database Server Software > Sybase

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 03:41 PM
Frank D. Greco
 
Posts: n/a
Default Index on a View?

Anyone know if you can put an index on a view (11.9.X)?

I tried searching the (really slow) Sybase website but
wasn't having much luck. Google wasn't that helpful either.

Thanks,

Frank
+=========================================+
| Crossroads Technologies Inc. |
| Enterprise Java Engineering |
| Web: www.CrossroadsTech dot com |
| Email: fgreco @ crossroadstech dot com |
+=========================================+
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 03:41 PM
Rob Verschoor
 
Posts: n/a
Default Re: Index on a View?

"Frank D. Greco" <fgreco@REMOVEcrossroadstechNOSPAM.com> wrote in
message news:beumgvgrtfl7muc4ni12hmcjd0ps48d07n@4ax.com...
> Anyone know if you can put an index on a view (11.9.X)?
>
> I tried searching the (really slow) Sybase website but
> wasn't having much luck. Google wasn't that helpful either.
>
> Thanks,
>
> Frank
> +=========================================+
> | Crossroads Technologies Inc. |
> | Enterprise Java Engineering |
> | Web: www.CrossroadsTech dot com |
> | Email: fgreco @ crossroadstech dot com |
> +=========================================+



No, you can't; at least not in the current versions of ASE.

HTH,

Rob
-------------------------------------------------------------
Rob Verschoor

Certified Sybase Professional DBA for ASE 12.5/12.0/11.5/11.0
and Replication Server 12.5

New book(coming soon): 'Tips, Tricks & Recipes for Sybase ASE'
For details, see http://www.sypron.nl/ttr

mailto:rob@DO.NOT.SPAM.sypron.nl.REMOVE.THIS.DECOY
http://www.sypron.nl
Sypron B.V., P.O.Box 10695, 2501HR Den Haag, The Netherlands
-------------------------------------------------------------

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 03:41 PM
species8472
 
Posts: n/a
Default Re: Index on a View?

No you can't.

You can create an index on the underlying base table.

--
Joop

"Soylent green is people"

Senior Consultant Sybase Professional Services
http://thedominion.cc/

"Frank D. Greco" <fgreco@REMOVEcrossroadstechNOSPAM.com> wrote in message
news:beumgvgrtfl7muc4ni12hmcjd0ps48d07n@4ax.com...
> Anyone know if you can put an index on a view (11.9.X)?
>
> I tried searching the (really slow) Sybase website but
> wasn't having much luck. Google wasn't that helpful either.
>
> Thanks,
>
> Frank
> +=========================================+
> | Crossroads Technologies Inc. |
> | Enterprise Java Engineering |
> | Web: www.CrossroadsTech dot com |
> | Email: fgreco @ crossroadstech dot com |
> +=========================================+



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-08-2008, 03:41 PM
Frank D. Greco
 
Posts: n/a
Default Re: Index on a View?

"Rob Verschoor" <rob@DO.NOT.SPAM.sypron.nl.REMOVE.THIS.DECOY> sez:

>"Frank D. Greco" <fgreco@REMOVEcrossroadstechNOSPAM.com> wrote in
>message news:beumgvgrtfl7muc4ni12hmcjd0ps48d07n@4ax.com...
>> Anyone know if you can put an index on a view (11.9.X)?
>>
>> I tried searching the (really slow) Sybase website but
>> wasn't having much luck. Google wasn't that helpful either.


>No, you can't; at least not in the current versions of ASE.


Thanks Rob. I recall reading MS SQLServer allows indices on views.

Frank
+=========================================+
| Crossroads Technologies Inc. |
| Enterprise Java Engineering |
| Web: www.CrossroadsTech dot com |
| Email: fgreco @ crossroadstech dot com |
+=========================================+
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com