Is there any way to extend the editor in SSMS? [closed] - sql-server

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Can the SQL Server Management Studio text editor be extended? If it's possible, what kind of work & tools are involved?
I find myself frequently jumping to other editors for certain kinds of text manipulation, and then jumping back to SSMS. If it were possible to extend the SSMS editor, I might do so.
The first feature I would add would be a "column mode" where you could operate on rectangles of text. UltraEdit, Emacs and few other editors have this feature. I find it invaluable for editing SQL.

Yes. Have a look at SSMS Toolpack for a bunch of very usefull features add-on to SSMS.
Also see SQL Server 2008 Extended Events SSMS Addin on codeplex, you can brose the sources and see how the SSMS add in are codded.
Note that historycaly the SSMS add-in interface was broken by the SP releases a number of times.

You can do box selections in SSMS by holding down the Alt key.
You can do Alt + select text with the mouse, or Alt + Shift + select text with the cursor keys.

There are lots of ways to hack into SSMS as described above but the reality is that there's no supported way (at present) to extend SSMS. That means that whatever you do could easily break in the next update or service pack.
We've all been harassing the SQL Server team for this for a long time. Please add your voice to the calls for extensibility in SSMS.

Related

Is is possible to view content of an .mdf file with NoSQL? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I just want to know if it is possible to view content of tables in .mdf files with NoSQL for example mongodb? I don't want to change in .mdf file just view inside it.
Sorry to say this, but you seem to completely lack any understanding about relational databases, NoSQL databases and the difference between them.
SQL Server and MongoDB are not only two completely different database products, but two completely different kinds of databases as well (relational vs. non-relational).
Asking whether you can read SQL Server database files with MongoDB is like asking if you can edit AutoCAD files with Microsoft Excel (or the other way round).
Both are complex tools with their own file formats, but made by different vendors and for completely different purposes.

"Step Over" and "Step Into" in Visual Studio [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have noticed that using F10 - Step Over in VS automatically skips my functions. Why is that?
I did noticed that F11- Step Into, does enter my functions, however it enters the implementation code of the functions I am using from the various C libraries, which is really annoying.
Is there any way I can run step by step inside my functions without entering the implementation code of the included libraries?
It is annoying, especially if you happen to call several functions just to get parameters into yours. You can use step out (Shift+F11) to quickly get out of uninteresting code. (and then F11 to get into the next one)
Yes, there's an undocumented feature which allows you to not step into any of a list of functions you specify. See this blog post for an example of how to set that up. But again, since it's an undocumented feature, it could break with future versions of Visual Studio, and it may not always behave reliably.
You could step into your function and then step over instructions inside your functions.
If the problem is that you have multiple function calls that are part of the same expression and you're only interested in stepping into one of them, the "Step into specific" functionality added in VC++ 2008 might be helpful.
Just right click on the line and select "Step into specific" - you'll get a list of functions involved in the expression and can choose which one you want to step into.
On my machine it's also bound to keystroke Shift-Alt-F11.

Database Sync on-premise to cloud [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am getting involved in a new world.. database sync. I use SQL Server, and I have one local database and another one in the cloud. I am trying to sync those two databases just by pressing a button.
Does anybody has any experience doing these?
Thanks
Your question is very vague and as such, my answer may seem vague too.
When generally speaking of syncing Local <==> Cloud I have personally been using a third party tool called RedGate SQL Toolbelt. The product is slightly on the pricey side, but the benefits offered are immense! You can easily compare and deploy structure and data changes at the click of a button.
(I have no affiliation to the product)

Strange thing happened in oracle database [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am using Oracle database for more than half year. Today one row of the data is not able to update. I didn't get any error or anything even from the SQL developer. When I try to update, always get one row updated, and I did commit.
But when I try to query, I get the old value again. Only this one entry has this problem.
Could anyone please give me some suggestion?
My guess is there's a trigger on the table which resets the value. Without looking at your DML statements & table structures there's no way to comprehensively answer this.
To find out if you have a trigger on the table:
SELECT trigger_name
FROM all_triggers
WHERE table_name = '<whatever>';
There is something wrong with your code base. There is no way we can diagnose it as we arehic. not telepat
So you will need to debug it. SQL Developer has tools which can help you with this. Find out more.
If you don't understand how your own application works I suggest you start by profiling your code. This will tell you all the programs which fire when you run your update. I agree with the suggestion regarding triggers, but it is just a guess.

Seeking Reporting tools [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
We are looking for a web-based reporting tool solution. Either freeware or commercial would be considered. The requirement is that the web UI would allow user to select various options, and run them against database, which returns data to UI to render a report. Ideally, it should support various popular document format. The reporting tool should support high volume of queries, and produce good performance.
The architecture and system we are using are below:
SQL Server 2008
.NET 4
AJAX-based Web UI
Any idea would be very much appreciated
You could do a lot worse than looking at SQL Server Reporting Services (SSRS) the version that comes with 2008 is good, the version that ships with 2008R2 is better and the upcoming project crescent looks amazing!
The reports that are generated can be displayed in a number of ways. The simplest way is simple URL web reports however there are a number of other options such as the report viewer control that you can use in winform and webform applications. You can also integrate them into a sharepoint library if you need to.
And the best part is if you have SQL server it is free!
Based on second hand recommendation, I'd suggest looking seriously at http://www.tableausoftware.com/. A lot of products have excellent looking feature lists. But I know someone whose opinion I really trust who has introduced a number of clients to that one and has good things to report about the experience.
But there are a ton of companies that have solutions to sell you. You should definitely look around. But, and this is a big but, don't buy into anything based on the sales pitch and the feature list. Instead try to get your technical people talking to technical people at clients who use the software. Try to get honest feedback. Everyone has slick presentations, but most don't really deliver.

Resources