I have ReportBuilder and it doesnt show QueryDesigner view with tables and fields which can help me to generate SQL Query directly. Instead I need to write the SQL Query on my own. I saw some tutorials where the view was as in screenshot. However I get a different view . Any inputs on this? It is so time consuming to build queries manually . I have to use Report Builder specifically for a client
I basically got answer for this question . Query designer in Report Builder is not available for Oracle Data sources. It is available for SQL Server database. As I was connecting to an Oracle datasource , I do not see this . A special mention about the YouTube channel where I got this answer .
https://www.youtube.com/channel/UCbi5G5PjWBaQUFy7XU_O7yw and also explanation link
https://learn.microsoft.com/en-us/sql/reporting-services/report-data/oracle-connection-type-ssrs?view=sql-server-ver15#Query
Related
I cannot view the query of a BO report. Whenever I try to edit query the button is dimmed. This report was build externally. Is there any way I could retrieve the query?
I'll assume that you're using BusinessObject BI4 and Web Intelligence.
You will need the following rights to view the SQL statement (assuming that the source is a relational database):
Application Right, Web Intelligence: Query script - enable viewing (SQL , MDX...)
Content Right, Web Intelligence: View SQL
Have a look at the BusinessObjects Administrator's Guide for more information regarding the different types of rights and how to assign them.
Hi I have an MDB file and it consist of VIEWS. I am using "MDB Viewer Plus" to explore the tables and Views. But I can see only records from the view but I do not see the SQL script used in the VIEW.
Kindly guide. How to see the script? Hope this is valid question. I have did enough try.
Solved
I used Microsoft Access and now I can see the View.
As you mention in the update to your question, the most straightforward way to view the SQL statement for a saved query (View) in an Access database (.mdb or .accdb file) is to open it in Access, open the query in Design View, and then switch to SQL View:
I am trying to link a sharepoint list to another using sql server database. The ideal would be for this is to a live link so that when data in the sharepoint list is updated, the data in the sql server database is also updated. The reason that I need to do this is that I have an ASP page which will query the SQL database and display the results on a web page.
Any guidance would be much appreciated
Thanks in advance
SidJ
PS : I have done this in access before using the External Data tab ->
More -> Sharepoint List and then following the steps in the wizard, so
I know it is possible. Just not sure how to recreate this using SQL
Server as the destination for the data.
You can go BCS (Business Connectivity Services) or build something custom using a connector like http://www.bendsoft.com/net-sharepoint-connector/
Here is a small guide on BCS http://zimmergren.net/technical/sp-2010-programmatically-work-with-external-lists-bcs-in-sharepoint-2010
Is it possible to get the view creation statement writing any query in sql sever 2008
Actually i want to copy the views from one database to another database
thanks
Do you have SSMS? You have the option to generate scripts for all objects in a database. You can limit it to just the views.
Right click on the node for the specific database in Object Explorer.
Select Tasks
Under Tasks, select Generate Scripts
Execute the wizard, selecting the options suited for your task.
This will generate a script for all your views, or allow you to select the specific views you're interested in.
#Sashenka's answer is correct, but this will let you script more than one view at a time.
In SSMS,
Right click the view
Select Script view as
Select CREATE To
Choose New Query Editor Window
You can then copy the script and modify it for your new Database.
Easiest way is to use SQL Compare, but you can also do this in SQL Server Management Studio in a similar fashion to what I describe in this blog post.
In short, open object explorer details, multiselect all your views, and script as Drop and Create from the context menu. You can now apply this script on your second server.
I am new to SSRS. I use SSRS to access a remote data source. I can use the interface shown below to build and execute queries and produce reports:
Is there a way to build a report by specifying the SQL directly rather than using the graphical tools. I have spent some time Googling this and I have gone through a few tutorials. I am unable to find an answer.
Click the Edit as Text button in the top left-hand corner of that window and have at it.
Edit If you are only seeing XML in the query window, then you are using a Report Model data source instead of a direct database connection. Models cannot be queried directly with SQL.
In order to query with SQL, setup a Data Source using a connection string that points directly your database.