Viewing 15 posts - 586 through 600 (of 650 total)
C'mon Tony, get it right! Here is the code pasted in as a 'snippet' and using & e n s p ;
[font="Courier New"]USE [master]
GO
CREATE DATABASE [Test_DB] ON PRIMARY
(
NAME =...
October 18, 2007 at 10:26 am
....and this is what happens when copy and paste from the 'rendered' tab in the prettifier in IE6. I'm baffled as to why the difference. I get the same in...
October 16, 2007 at 5:40 am
Pasted in from rendered code...
CREATE FUNCTION capitalize ( @String VARCHAR(8000) )
/*Returns a copy of s with its first character capitalized,
and the rest of the characters lowercased....
October 16, 2007 at 4:22 am
We`re making progress now with the struggle to produce nicely-formatted SQL. We are a few tweaks short of a SQL Server forum still (Having a SQL Server forum that can`t...
October 16, 2007 at 3:49 am
Jeff,
Obviously, I'd prefer to do cut 'n paste from SSMS/QA, but this seems to be denied us now for some reason. I've got an adaption of the S-T Prettifier doing...
October 16, 2007 at 1:57 am
I just got bored doing something else and suddenly thought of a completely different way of doing this. Using the slightly more complicated data example I used in my BLOG...
October 15, 2007 at 11:10 am
Not forgetting (modest cough) Enumerating Group Members - which works in 2000 (for short resultsets) -but I agree that the XML trick is very cute
October 15, 2007 at 5:32 am
Jeff,
This is really ingenious! It would never have occurred to me. However, I hope that nobody gets too enthusiastic about using it as a general way of parsing data.
[font="Courier New"]
DECLARE...
October 15, 2007 at 4:19 am
I can't edit the post I did earlier (it puts in extra line-feeds wherever I've pasted anything in) but if you are using IE6 or IE6, the code will look...
October 11, 2007 at 4:20 am
Hmm. Interesting about the averages. The averages in the example come straight from the CUBE (I hope) and the SUM() calculation is merely to do the pivot rotation. I suspect...
October 9, 2007 at 1:02 pm
Yes, Redgate have a proper prettifier code in C# that is used in SQL Doc to produce HTML output which is much better than mine. I expect they could use...
October 7, 2007 at 7:56 am
I hope this is a solution, or at least points the way to one! Unfortunately, I'm having real difficulty posting code into this forum for some reason, so please excuse...
October 6, 2007 at 11:05 pm
Jeff,
I've been bleating about this in a big way to Steve and Tony too. What is the point of having a forum in which one cannot paste TSQL code. At...
October 6, 2007 at 12:29 pm
Don't get too excited in anticipation of C2 auditing. When I tried it it just gave a blizzard of irrelevant information along with the nuggets, which were, as a result,...
September 30, 2007 at 9:11 am
[p]I think that everyone who has responed to this thread are correct, in that for a production system one would never want to update a record in an audit table,...
September 27, 2007 at 7:06 am
Viewing 15 posts - 586 through 600 (of 650 total)