Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 13th, 2007, 02:30 AM
sureshbari sureshbari is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Posts: 1 sureshbari User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 9 sec
Reputation Power: 0
Exclamation Problem in view

Dear All


I have five table and each table has 5 lacs record.

i have created a view on that table using union clause.

now, i am calling that view from my code like

select * from myview where name like '%mzy%'

now it take too much time and give memory falult [ paging ]

and application server is hang.

my database server [ ms sql ] are on different server and my application server [ iis ] on different server.

now then i have conver that view to stored procedure and call it form my code.

and it give the result..

but i dont understand what is done with view.

So my question is when and where to use view. and why my application server are hang if database server are different.

view are better then stored procedure or not..

so how view are works..

please guide me as early as possible..

Regards,

Suresh

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft SQL Server > Problem in view


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT