Viewing 15 posts - 241 through 255 (of 321 total)
If the procedure actions can be specified in a (table returning) function, you may find that a cross/outer apply will do the trick. In this instance, the function is called...
February 5, 2008 at 5:05 am
Here is the script modified (I think) to work with a table returning function. This time (unless I am doing something dumb) it does seem to show the Extended Property...
January 30, 2008 at 11:03 am
Thanks for your reply.
To provide an example, I built this script:
IF OBJECT_ID('[DBO].[TstFn]') IS NOT NULL
DROP FUNCTION [DBO].[TstFn]
GO
CREATE FUNCTION DBO.TstFn ()
RETURNS INT
AS
BEGIN
RETURN(1)
END;
GO
SELECT VALUE FROM...
January 30, 2008 at 10:50 am
Thanks Jeremy, nice example! (Would I lose anything by using CTE's just to keep from getting so confused?)
January 24, 2008 at 9:46 am
I'm just pondering what a "ofdm" might be?
January 24, 2008 at 6:10 am
Don't feel sheepish -- I'll bet there are many other lurkers (like me) that learn a good deal when others ask our basic questions!
January 24, 2008 at 6:08 am
Christian: re example 2:
Instead of:
...
,case when (long-complex-conditional-expression)
then valuefield else 0 end as [$]
,case when not (long-complex-conditional-expression)
...
January 24, 2008 at 4:55 am
Interesting! Where can I find SQLCE Workshops I-III?
January 23, 2008 at 5:40 am
Thanks, you are right.
(I'm glad I added the CYA "but since I miss even the things that are documented clearly..." above.) (CYA s/b CMA.)
January 14, 2008 at 1:05 pm
Damn -- I thought I had just learned a quicker way to check query performance. Just can't trust anything any more.
Thanks!
January 14, 2008 at 4:38 am
Andras -- you are right again.
The real surprise, which at first made me worry I was doing something dumb, was that the version with only the two fields of interest...
January 11, 2008 at 9:04 am
Thanks Matt! And that also avoids the confusion created by the sub-query (although it makes it T-SQL specific). Yet a third approach to analyze and time.
January 11, 2008 at 8:10 am
PW, thanks.
This is one of those cases where I am unwilling to rely on the fact that I "know" that (today) there should be no records that are duplicates...
January 11, 2008 at 7:50 am
Since MS Access munges SQL code so bad, I've found it useful to run the Access SQL through the Instant SQL Formatter at:
http://www.wangz.net/gsqlparser/sqlpp/sqlformat.htm
It is not without some flaws*,...
January 11, 2008 at 7:30 am
Always a good start is Strunk and White:
http://www.amazon.com/Elements-Style-Fourth-William-Strunk/dp/020530902X
(Sorry, I could not find the ISBN number.)
January 11, 2008 at 5:08 am
Viewing 15 posts - 241 through 255 (of 321 total)