473,799 Members | 2,741 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SQL Editor

When Editing .SQL files using .Net, when I execute the SQL or Check the SQL,
it reformats the SQL differently than we normally do it. I would like to
know how I can disable this automatic formatting. Alternatively, I would
like a format option that creates a carriage return after each field in sub
selects. I work primarily with Oracle, and this is our company standard. I
like the tabbing in many cases, but I am now on the data warehouse team, and
I need to conform to their standard. I would prefer to use .Net development
Environment to Toad if I can. Any suggestions?

Thanks,

Geoff

Jul 21 '05 #1
4 1453
gswitz wrote:
When Editing .SQL files using .Net, when I execute the SQL or Check
the SQL, it reformats the SQL differently than we normally do it. I
would like to know how I can disable this automatic formatting.
Alternatively, I would like a format option that creates a carriage
return after each field in sub selects. I work primarily with
Oracle, and this is our company standard. I like the tabbing in many
cases, but I am now on the data warehouse team, and I need to conform
to their standard. I would prefer to use .Net development
Environment to Toad if I can. Any suggestions?


Try Tools / Options / Text Editor and look under SQL / T-SQL etc and see if
you find anything that stops it.
Jul 21 '05 #2
Leon,

Thanks for answering. I've checked all the options and cannot find one that
helps. I have turned of indenting on all SQL Type files. This has not helped
me. I would like the editor to recognize the file as PL/SQL, but I have had
no success with this. It continues to handle it as if it were T-SQL.

I would prefer to keep the standard indenting but have a carriage return
after every field listed before the FROM clause.

Additionally, I would like to have the editor recognize the file as PL/SQL.

And/Or I would like to be able disable the automatic formatting of the text.

When I posted my first message, I had already exhausted myself trying to
find the properties that might solve my problem under Tools>Options>T ext
Editor>SQL Types.

Thanks,

Geoff
Jul 21 '05 #3
gswitz wrote:
Additionally, I would like to have the editor recognize the file as
PL/SQL.


Hmm, perhaps try a different file extension? I'm afraid I don't know what
the file extension is for PL/SQL. You could hunt it down in the registry or
have a search on the web.
Jul 21 '05 #4
I have not been able to guess the file extension that would cause VS.Net to
show the file as PL/SQL.

"Leon Mayne [MVP]" wrote:
gswitz wrote:
Additionally, I would like to have the editor recognize the file as
PL/SQL.


Hmm, perhaps try a different file extension? I'm afraid I don't know what
the file extension is for PL/SQL. You could hunt it down in the registry or
have a search on the web.

Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
3556
by: Ed Suominen | last post by:
I'm thinking of implementing a real-time collaborative text editor in Python using Twisted. An initial plan is to use a Twisted PB server daemon that accepts user:password:file connections from text editor clients to make changes to a specified file on the server, and have the text editor clients update their local copies of the file based on local user input or input entered from other users, relayed via the server. Jabber compatibility...
3
3007
by: Chris Cioffi | last post by:
I started writing this list because I wanted to have definite points to base a comparison on and as the starting point of writing something myself. After looking around, I think it would be a waste of time to start writing yet another IDE and so am now thinking in terms of new features/plug-ins for existing systems. Right now I mostly use Komodo Personal and it's pretty close to being what I want. They don't currently support plug-ins,...
7
4392
by: Mike Kamermans | last post by:
I hope someone can help me, because what I'm going through at the moment trying to edit XML documents is enough to make me want to never edit XML again. I'm looking for an XML editor that has a few features that you'd expect in any editor, except nearly none of them seem to have: 1 - Search and repalce with Regular Expressions. 2 - Search and Replace in an Xpath context. 3 - User specified tag-generation for either on a...
15
2149
by: JC Home | last post by:
Hi all, I am just learning JavaScript and would love to find a good editor that helps with syntax and debugging. Any suggestions? Thanks!! -- Jeff Ciaccio Dallas, GA
71
6510
by: tomy_baseo | last post by:
I'm new to HTML and want to learn the basics by learning to code by hand (with the assistance of an HTML editor to eliminate repetitive tasks). Can anyone recommend a good, basic HTML editor that's a step beyond Notepad (not a WYSIWYG tool). Thanks.
0
2158
by: 356523600 | last post by:
HTML To PHP Converter 4.2.1.8 Free download Get more for less ... HTML To PHP Converter 4.2.1.8 Get more for less! With a new version of HTML To PHP Converter 4, we've dropped the price and given you more! www.soft30.com/softdown-160-4268.htm - 33k - 10 Oct 2005 - Cached - Similar pages PHP Editor 2.22 - Soft.com PHP Editor 2.22. ... The PHP Editor have some good features: ... Integration with
1
2920
by: Steve Teeples | last post by:
I have class that also uses a custom editor that, when compiled directly into my project, works just fine in a propertygrid. However, it was necessary to place that class into a DLL, hense the editor was also moved into the DLL and compiled. The issue I have is the the editor is now inactive. Can someone tell me why this may be? Here is the code for the property in my class that uses the editor. This code resides within the DLL. ...
4
3037
by: David Lozzi | last post by:
Howdy, I'm using a WYSIWYG editor called TinyMCE. When I edit some text and then save it back to my SQL server using a SQLCommand, all HTML characters are changed to HTML code, i.e. &gt;strong&lt; instead of <strong> and so on. Is this a problem with the editor or something else? Does .Net convert it? I had to disable page validate request because of the tags, is there more? Thanks,
7
2992
by: Prasad | last post by:
Hi all, I am trying to develop a simple rich text editor I do only require bold, itlaic, underline.. The code for IE is <script> function displayEditor(editor, html, width, height) { document.writeln('<iframe id="' + editor + '" name="' + editor +
3
14576
by: danesh1354 | last post by:
Hi All, First I need to construct a text editor by python programming and add this code to a biger code that has been written before, and i would like that by my code for this editor have a capability to save it into special file name and format, for instance if i want to save it to a file with XML extention format like A.xml, wondering if anybody kknows how to do that, if you have any idea please guide me through how to reach to these....
0
9688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9544
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10490
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10238
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10030
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7570
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5589
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4145
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3761
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.