| Author |
Topic  |
|
|
AskSQLTeam
Ask SQLTeam Question
USA
0 Posts |
|
|
Kristen
Test
United Kingdom
22191 Posts |
Posted - 04/12/2006 : 11:54:13
|
Can it indent with TABs instead of spaces?
And it would be great if it could remove all comments and coalesce multiple whitespace into single whitespace. (This is to obfuscate our code that we put on client's servers)
Kristen |
 |
|
|
spirit1
Cybernetic Yak Master
Slovenia
11741 Posts |
|
|
Kristen
Test
United Kingdom
22191 Posts |
Posted - 04/12/2006 : 12:46:28
|
Thanks Spirit. Didn't know that such a tool existing - although it needs a bit more work (key words in comments are colour-highlighted and so on)
Now ... if it could put in Snitz Forum Code [COLOURS], instead of CSS ones, that would be useful!
Kristen |
 |
|
|
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
USA
6997 Posts |
Posted - 04/12/2006 : 15:31:29
|
quote: Originally posted by Kristen
Can it indent with TABs instead of spaces?
And it would be great if it could remove all comments and coalesce multiple whitespace into single whitespace. (This is to obfuscate our code that we put on client's servers)
Kristen
Why stop there?
How about a tool that obfuscates everything: tables, datatypes, etc.
Yes, we provide full source code to all customers!
create table [CF3FD482055342B3CB065F9E67EFD7]
(
[157323D8E4274C78B6C0C9540964AFB0] [AF717E408DF249589CB1FA4BE7832242] not null
identity(1,1) primary key clustered,
[C424122303304E69BCD5D048A98D3EF9] [DA1649CEBA3847E1B81E7208D6C90D32] not null,
[29E61E9F25FE447E992E7E44EBB05F4A] [C5207A4CD1FC4641A4BFB1837B7FE9C0] not null
) on [913AA0AC44D845EFA1519DF2E4296386]
CODO ERGO SUM |
 |
|
|
rockmoose
SQL Natt Alfen
Sweden
3279 Posts |
Posted - 04/12/2006 : 16:33:23
|
I take pride in writing code that needs not be obfuscated any further....
rockmoose |
 |
|
|
eyechart
Flowing Fount of Yak Knowledge
USA
3575 Posts |
|
|
Kristen
Test
United Kingdom
22191 Posts |
Posted - 04/13/2006 : 01:49:43
|
"I take pride in writing code that needs not be obfuscated any further...."
Ah! Write-only code, eh Rocky?!
"How about a tool that obfuscates everything: tables, datatypes, etc."
We provide databases for web applications that are hosted on public-facing servers. I have no wish to help unscrupulous competitors hack into our code! I also have no wish to make it difficult for the customers to query etc. the database. But the logic in the SProcs is our intellectual property and customers only have rights to the source code under the terms of escrow etc. We encrypt them, but unencrypting them is so trivial that I would like to remove all comments as an additional barrier to the unscrupulous. I'd also be interested to know if it makes a performance difference - reducing use of syscomments may reduce "bandwidth" on retrieval within SQL Server, which may shave off a few precious milliseconds!
Kristen |
 |
|
|
Kristen
Test
United Kingdom
22191 Posts |
Posted - 04/13/2006 : 02:01:45
|
"another sql formatter here"
Thanks ec, pretty handy, and has comment remover / available as API. Damn! More work - might have to build it into my release process!
Kristen |
 |
|
|
madhivanan
Premature Yak Congratulator
India
22460 Posts |
|
|
damaha
Starting Member
4 Posts |
|
|
damaha
Starting Member
4 Posts |
|
|
deviprasad
Starting Member
India
5 Posts |
|
| |
Topic  |
|