I'am staring using Oracle Developer Tools for Visual Studio Code but miss something versus what i did in past with sql server tools:
Let's say i have a table whit this name
T_PREFIX_TABLENAME
I'am used to type part of TABLENAME and find it: simply typiyng "TABL" make intellisense working and finding corrispondent result with a like operation, with ODT this does not work and i have to type the initial part of the table name to find it, let's say "T_PREFIX_TABL" to find same results
Since all table have a long common prefix (databas is not mine so cannot change this) i have to write large part of text making intellisense quite unuseful.
I try even Oracle Developer Tools for Visual Studio 2019 with visual studio 2019 professional but in this case intellisense simple does nothing.
I try other way: drag & drop table or comlumn from server explorer to query windows but in visual studio 2019 an entire select query in created while in vs code nothing appens.
Is there a way to have intellisense smart like the sql server tools one's?
Thanks
I believe this issue with autocomplete incorrectly doing a "begins with" search, was a bug introduced in Oracle Developer Tools for VS Code version 19.3.3. It has since been fixed in 19.3.4.
Related
I'm looking for a way to list the tables/objects in a LINQ to SQL model, and search them, similar to the Model Browser window for Entity Framework.
Are you using MS SQL Server? If so you should be able to use the Database Diagrams.
It turns out that in Visual Studio 2017 the model browser can be activated by pressing Ctrl+1 if the edmx diagram is displayed at the same time.
For a work-around, I'm editing the *.dbml file directly. However, this seems much more error prone (copy-paste errors, requires more knowledge of framework, etc.), for repetitive changes.
UPDATE (and actual fix):
I had to install SQL Server Data Tools (SSDT) for my specific version of Visual Studio. This doesn't have to match your target version of SQL Server.
See here for Visual Studio 2017:
https://learn.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt?view=sql-server-2017
Note that using the standalone installer did NOT work for this purpose (LINQ to SQL model browser). Only using the Visual Studio installer, and after a restart did the browser load.
I didn't update this answer immediately, so there may be something I'm missing; please add more detail if you encounter this issue.
In Visual Studio 2013, is there a way to ignore column ordering when doing a Schema Compare? I see that this feature was removed from Visual Studio 2012 (according to this: https://stackoverflow.com/a/13848952/188740), but I'm hoping it was brought back in version 2013.
Here's a quick visual to illustrate what I'd like to ignore:
As described on this blog post, Ignore column order is now an option in SSDT version 17.0, which is compatible with Visual Studio 2015.
If you’ve ever had to deal with accidental data
motion when putting a column in the middle of a table definition,
you’ll know how hard this can be to spot and manage. In this release
you can now check the “Ignore Column Order” option in the Advanced
Publish Options. This will append new columns to the end of an
existing table rather than altering the table structure to add the
column in its listed position.
You can find the setting by going into the Advanced... button section of your publish profile, as well as in the Advanced... button section of the database project properties' Debug tab.
You can also achieve the same effect by adding the following element to your publish.xml file:
<IgnoreColumnOrder>True</IgnoreColumnOrder>
Unfortunately I do not know of a way to have this work in Visual Studio 2013, but hopefully you have upgraded to a newer version of Visual Studio by now :)
Ignore column order is now available in VS2015.
Additionally, for relational and Azure SQL databases SSDT 17.0 GA includes a highly requested improvement to ignore column order in upgrade plans as well as numerous other bug fixes.
See: https://blogs.msdn.microsoft.com/ssdt/2017/04/19/announcing-the-general-availability-ga-release-of-ssdt-17-0-april-2017/
The 'Ignore column order' setting is not available in visual studio 2013. There are Tentive to reintroduce this option in the future.
Sources: Microsoft
This feature is also available in Azure Data studio -> Schema Compare -> Ignore Column Order.
We have recently upgraded to windows 7 and have noticed that there are compatibility issues with my previous version of MS visual Studio 2005.
From taking a look around the web I believe that this issue is due to SP1 for Windows 7. My organisation will not get rid of SP1 just for one or two developers so I need to figure out a work around.
This is the issue...
I have an old MS visual studio website that has a report located on the home. This report was created in MS VS 2005.
Other versions of Visual Studio in have are 2010 and 2012. I have tried to convert the 2005 report into 2010 and this does state that it has been converted but I still cant open or do anything with the report. My 2005 web site is too large to convert or move into 2010 and we can still maintain this 2005 site by opening this up in 2010. It just seems to be a problem with the 2005 report.
I'm running out of options to make a simple change to a report. Anyone else got any ideas? I have even tried to create this report in 2010 and then add this to my 2005 site but this doesn't work.
Regards
Betty.
You say a report and then say that it is a whole site? Why not run a second site in tandom? Make a whole new site and name it differently like
http:// (servername)/Reports2012
Then put reports there. You cannot open a converted report in a site that is for a prior version, you can view it in Microsoft Business Intelligence Studio, BIDS, which is an add on to Visual Studio. If you can upgrade but cannot view it there, there is something wrong with the language file potentially. I would then make a copy of it in the old 2005 BIDS, then take that copy and see if you can upgrade that and if it will work. If that STILL does not work you could make a test report in BIDS 2010(SQL 2012 works on VS 2010, yes weird but true) to assure you can create reports there. Many times people try to open SQL Server 2012 Reports on VS 2012 and it won't work. You need 2010 add on you can find it under All Programs>MS SQL Server 2012>SQL Server Data Tools(They made the naming very confusing as it opens up and display BIDS, but calls itself 'Data Tools' under the programs). Every other version of SSRS lines up with that year of SQL Server to that year of VS. Not 2012.
If the report upgrade still does not work, yet you can create a run a new report fine; I would suggest potentially opening up the file dircectly. Your projects in a Reports solution generally have a file '(something).rdl' that RDL is the actual file and is just XML markup of the language. This is a last resort as you are essentially trying to do manually what the upgrade is failing to do in the xml. You merely copy a working report, and then paste the parts of the old report into their correct sections. Ensure the XML is valid as well.
If you cannot manage that to work you will need to recreate the report from scratch.
I have some issues with my reports since I have updated them to VS2010 format.
Even though I have modified references to from v9 to 10 for Microsoft.ReportViwer.Common and Microsoft.ReportViewer.WinForms as well, when I try to type code. in a field, what is after "Code." is always underlined with red and I get #ERROR instead of the value I want when I print the report. I know it is case sensitive and I double checked the spelling multiple times.
Moreover, I don't know why but I have errors with the Fields! syntax; I seem to have to use the Fields().value to get them to work (at the places I don't need to call custom code too)
These reports worked well before conversion (over 20 reports converted this way) but do not now. Seems like custom functions are not "seen" by the report designer. I tryed to make them public, shared; all I had is the same stupid #ERROR display.
I want them to work in VS2010 to avoid always having to modify them in VS2008 and then go back in VS2010
It's a winform application with framework 3.5
Any idea of what could cause that and what is the remedy?
Many thanks
Nico
There are a couple of ways to use custom code in SSRS. Firstly you can enter VB directly into the window under
Report -- >Report Properties --> Code
Another way is to write a custom DLL (which can be done in any .NET language of course), which then needs to be copied to both your dev machine and the production report server.
You then need to create references to that assembly in the project using:
Report --> Report Properties --> References (I assume you know this).
If you are not using your own custom assembly, and just using a reference to one on your machine then there could be some confusion on the server as to where to find the dll's. You may need to copy DLL's to the folder as indicated in the KB link below:
http://support.microsoft.com/kb/920769
When you drag a field onto a tablix or textbox, and have a look at the value expression, does it use the Fields!Fieldname.Value syntax? That syntax is natural to SSRS so it sounds like something seriously broken in your visual studio 2010 there if that is not working. I take it you installed visual studio 2010 to create web applications. What you haven't explained is which version of BIDS or SSDT you are using. If you are developing reports for SSRS 2008 R2 or earlier, then these are not compatible with visual studio 2010. There's no compromise there.
If you are developing for SSRS 2012, then you are using either SSDT by itself (which installs a shell version of visual studio 2010) OR if you already have visual studio 2010 then you need to install service pack 1 for VS2010 and then install SSDT from the SQL Server 2012 disc.
http://msdn.microsoft.com/en-us/library/hh500335(v=vs.103).aspx
I have built some reports in both VS 2005 and VS 2008.
In VS 2005 I have 3 tabs available on Design page - 'Preview' 'Layout' and 'Data'.
In VS 2008 I have only the 2 - 'Design' and 'Preview'
Can anyone pioint me in the correct direction as it is what is held in the 2005 tab of *'Data'* that I am looking for in VS 2008
This shows a very simple view of what SQL query's are being used and easily allows modification.
I cannot find this in VS 2008 and only a 'view code' option that shows all HTML code as well???
Any help much appreciated.
(the reason for me tryng to do this is the original reports were built in VS 2005 and have been converted to VS 2008 and now need editing and it would be much easier if I had a simple view of just the SQL query's in the reports)
I will answer my own question as I believe I have found what I am looking for.
Once you have enabled the 'Report Data' toolbar you can access datasets, build new ones and also isolate each sql query that is being used in the report design for easy editing.