Viewing 15 posts - 3,196 through 3,210 (of 13,469 total)
halifaxdal (6/28/2013)
June 28, 2013 at 9:48 am
hopefully you'll get a stack of options;
Here's one: this procedure returns a table of HTML-formatted information that documents some server settings, and object details of the currently scoped database:
June 28, 2013 at 9:17 am
tstagliano (6/28/2013)
June 28, 2013 at 8:13 am
as long as you declare a temp table before the EXEC command, any other queries would have that table in scope, and can insert into it (same for permanent tables)
so...
June 28, 2013 at 8:00 am
Maddave (6/28/2013)
June 28, 2013 at 6:54 am
Japie i personally use CLR functions all the time, so it's probably how you are using it in an update, rather than the CLR being a problem all by itself.
can...
June 28, 2013 at 6:25 am
well, it seems to me the NTILE() funtion could group your data into groups, but your expected results looks like a simple GROUP BY results.
does something like this help? note...
June 28, 2013 at 5:30 am
donluz (6/27/2013)
Ok, I have the setup/install files. What now? Where do I go in the installation options to rename the instance, not the computer?Thanks for any input.
you cannot...
June 27, 2013 at 2:39 pm
add a where statement which will explicitly exclude non numeric data;do that for every table that is in your union all.
this , for example would allow integers only.(no decimal)
...AND...
June 27, 2013 at 1:53 pm
yeah i see that now;
a simple test harness for others to use:
;With MySampleData([Name],[DecimalValue],[NumericValue])
AS
(
SELECT 'Number2_4', 0x14E20100000000000000000000000200, 1234.12 UNION ALL
SELECT 'Number1', 0xCF040000000000000000000000000100, 123.1 UNION ALL
SELECT 'Number5', 0xD9299549000000000000000000000500, 12345.12345 UNION ALL
SELECT 'Number4', 0xF24FBC00000000000000000000000400,...
June 27, 2013 at 9:41 am
in other programming situations, I've used a Regular Expression to strip html tags out of a field, leaving just the content; would that be a possibility?
then you could do Field=StripHtml(SomeValue)
Public...
June 27, 2013 at 9:28 am
you usually solve this by creating a Tally or Numbers table that has all possilbe values, and then joining that agaisnt your data.
this is doing what you asked for, based...
June 27, 2013 at 9:17 am
i prefer to use aliases for my updates, because the format for SQL makes it easy to include a SELECT statement very easily, which lets me do a quick Sanity...
June 27, 2013 at 9:03 am
i typically join the table against the insert/target table with a left join
it seems like the unique criteria you are using is the three columns i'm using in the join?...
June 27, 2013 at 8:58 am
i'm not sure if this will help, I'd really like to see a handful of sample data rows, and their expected values to really be sure.
but can you convert them...
June 27, 2013 at 8:50 am
Viewing 15 posts - 3,196 through 3,210 (of 13,469 total)