Visual Studio 2013: Open Existing Report in Report Wizard? - sql-server

I have not seen this one yet, so I am hoping one of you can help me out here.
I am in VS 2013, have a Report Server solution going, and when I click Add New Report, it opens up a report in VS. I can use the query designer to add fields and such, but once I "finish" that wizard, I cannot, for the life of me, figure out how to get back into the wizard.
The reason I ask is because right now, if I want to simply add a field, I need to alter the query, alter the XML, and hope for the best. Ideally, I'd just be able to pop back into the Wizard to grab the fields (and their aliases), and then use the designer view to actually manipulate my tables.
Any ideas? Or am I stuck re-creating the report every time I need to add a field?
Sorry if anything is unclear - this is literally my first day using VS to write reports, and honestly, I Feel pretty good so far!
Thanks!

Use SQL Server Data Tools. Its very easy to use and will allow you to create and enhance your reports. Here is a link to it:
https://msdn.microsoft.com/en-us/library/mt204009.aspx

Related

Is it possible to add favorite tables in SQL Server Management Studio?

I am working with 8 databases and lots of tables in each one of them.
It would be convenient for me to have a list of favorite tables and views that I can quickly access.
Does anyone know of such a feature or an idea how to achieve the same?
Thanks
Using the latest SQL Server 2014.
There is no exact thing called favorites that you are asking for. But you will find many add-ins that will be very helpful to you.
SQL Search:- You can type the name of the object, it quickly navigates to the object anywhere on the server.
SSMSBoost add-in:- I have not tried this myself, but heard good things about this.
Use Auto Hot Key:- This is my favorite. It is a keyboard macro program, You can create bunch of scripts and automate those scripts. For example:- I have keyboard shortcuts to connect to a particular database and then write
Select * from my favoriteTable

Accessing Information from a SQL Dataset

I have recently started working with SQL databases of which I have no previous experience with. I have added the datasource to my project using the Visual Studio wizard and the DataSet appears in my solution explorer.
Everything that I have read thus far has shown connecting to the SQL server and then sending query commands, but since I have added the direct reference to my project is this necessary. I thought since I had added the reference to my project I would have direct accesbility to it, but it appears that is not so.
Also to help the searching process a view has been created on the SQL server that polls all of my desired fields in a single shot. I have linked this view to my dataset after utilized the datasource wizard. Any recommendations on how I can access the data from that view?
I apologize for the vagueness of my questions, but I am not really 100% sure the questions I need to be asking. I appreciate the help.
Thanks
Turns out the best means to solve this problem was to ditch the Data Source Wizard and use standard SQL queries.

Modify the print DATA in report

I want to print a certain data for my program, but every time I run the program it shows all the DATA instead of showing the specific DATA that I want to print. how can I do it? can anyone tell me a way to ease my problem?
Is there a way to choose one DATA in my DATABASE? So that I can print it alone.
I'm using Visual Studio 2010, Visual Basic Window Form Application, and my DB is in SQL SERVER 2005.
and to show the DATA I used REPORT WIZARD.
I've encountered the same problem before and I took some research. I think you should use 'Filtering and Parameterizing'
What This
This should help you.

Is there anyway for SQL Server Profiler to remember column widths?

I've setup SQL Server Profiler to only report events relevant to me and it works great. However, I think what sucks is that it doesn't remember the column widths. I could set them up properly and save it as a Profiler template, but the next time I start a trace, it forgets the column widths.
Is there a trick or am I missing something simple or does it simply not save these values?
I am certain this feature does not exist. I recommend you request a new feature, seems like many people would vote for it.
Here is the link to reach out to the SQL Team and suggest it.

How do you generate a database schema diagram in visual studio (express)?

Right now all I did was use the Dataset designer and dragged tables into it from the Database Explorer. It works (for what I need anyway) but it feels like it's a misuse of Datasets. (Actually I'm not really sure how to use Datasets or what the intended usage is, I was planning on using LINQ2SQL to interact with the DB)
Is this ok? I only need it for the designer view and it's a very simple DB layout (just 4 tables). I'm sure there's other tools out there, but is there anything integrated into VS Express that I should be using instead?
You download MS SQL Express with the SQL Studio Management Studio Express. Only in the Studio Express can you connect to the server, select the database, open the database diagrams and edit diagrams.
Then, you can drag and drop the entire set of Tables in to Linq to SQL. Entity Framework is nice, but I have yet to get it to render my tables well yet. I would stick to Linq to SQL until they release another upgrade to EF (easier for you).
You say it works, and you want just want to make a diagram, so go with it. You should make sure it doesn't build the generated code file, however, as it could cause bloat in your final product.
If you're not going to use it for code and it provides adequate output for you, what does it matter if it's a "misuse"? I know people who used Excel to design documents because it was easier to line things up that way. I would use Word, and it's clearly not Excel's stated main purpose, but does it mean using Excel was wrong?

Resources