473,508 Members | 2,428 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 1431
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>Text
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
3466
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...
3
2980
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...
7
4361
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...
15
2123
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
6382
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...
0
2142
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...
1
2891
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...
4
3012
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. >strong<...
7
2961
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) { ...
3
14548
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...
0
7133
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...
0
7405
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5643
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5059
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...
0
4724
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3214
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1568
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 ...
1
773
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.