Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 what role does quotes serve?
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Constraint Violating Yak Guru

360 Posts

Posted - 07/11/2013 :  14:01:32  Show Profile  Reply with Quote
This is what the crystal reports makes, when you enter the tables and link. I also have some sql that i pasted there without the quotes. THey both run. Only isssue I have is
that my sql which is a view does not update on demand from the server. IOW, they enter a new row. and it's not immediatlyin the crystal report. I asked the user if he can logout and back in and he says that he doesn't have to do that with other crystal reports.


Edited by - AdamWest on 07/11/2013 14:04:24

Flowing Fount of Yak Knowledge

6065 Posts

Posted - 07/11/2013 :  14:47:34  Show Profile  Reply with Quote
you have two unrelated questions here:

"quotes" - they can be used in place of brackets [] to surround object names. In this case table identifiers and column identifiers.
But to use quotes you need to insure that SET QUOTED IDENTIFIER is ON. I always just use the square brackets.

"view does not update on demand from the server" -
A view is simply a compiled SELECT statement so by definition it represents the data in the underlying tables. If there is some latency between the updates and the report output then it sounds like the updates may either be on another server which is then log shipped or replicated to the reporting server, or there are rollup jobs that move data from commit-to tables to reporting tables. Something like that.

Be One with the Optimizer
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000