Viewing 15 posts - 1,051 through 1,065 (of 1,957 total)
sqlnaive (1/17/2013)
In a table, I have value like this:1A
2A
I want data like this:
1C
1D
2C
2D
that is for each value of A in table, i want two records with C and D.
SELECT newColumn
FROM...
January 17, 2013 at 3:10 am
PiManΓ© (1/16/2013)
Take a look at the Execution Plan... That's what's happening..Pedro
like this one:
But as Pedro intimated....it depends...look at the plan...
January 16, 2013 at 7:39 am
pwalter83 (1/16/2013)
mister.magoo (1/16/2013)
And do you actually have a component on the page called GridView1?Thanks a lot for your help, I renamed the dropdownlist as GridView1 and it worked !
That's nice,...
January 16, 2013 at 5:41 am
And do you actually have a component on the page called GridView1?
January 16, 2013 at 5:22 am
Ceevei (1/14/2013)
mister.magoo (1/14/2013)
Is this what you mean?Prceisely.
Thanks a lot. that works fine as I want it to.
Thanks again.
You are welcome. Thanks for the feedback π
January 14, 2013 at 5:46 pm
I think it quite likely that it doesn't like you using BEGIN without an END...:-P
January 14, 2013 at 5:40 pm
I haven't tried this, but I would look at using an expression that did the following:
Check if the value is inscope of your grouping
if it is use whatever expression you...
January 14, 2013 at 5:35 pm
1. You have BEGIN without an END - drop the BEGIN or add an END
2. Use the INSERTED virtual table to limit your updates on TableB to only those...
January 14, 2013 at 5:22 pm
Is this what you mean?
WITH pass1
AS (
-- First number the ActionTypes giving priority to HELLO lines
SELECT *
, ROW_NUMBER() OVER (PARTITION BY AccountNum,...
January 14, 2013 at 9:14 am
piortasd (1/14/2013)
DECLARE @X XML
SELECT @X = CAST(x AS XML)
FROM OPENROWSET(
BULK 'C:\temp\teste.xml',
...
January 14, 2013 at 8:54 am
Just a couple of questions/suggestions
1. How long does this take ?
SELECT CAST(x AS XML)
FROM OPENROWSET(
BULK 'C:\temp\teste.xml',
SINGLE_BLOB) AS T(x)
2. Have you considered changing all the .value('.','varchar(whatever)')
to .value('(./text())[1]','varchar(whatever)')
?
...
January 14, 2013 at 7:03 am
And another Tally type version, but seems faster to me...
CREATE FUNCTION dbo.fn_extract_chars_in_range(
@input varchar(8000) -- the string to be cleansed
,@start char(1) -- the first valid character
,@end char(1) -- the...
January 13, 2013 at 6:22 pm
WolfgangE (1/13/2013)
January 13, 2013 at 3:39 pm
Another way...
ORDER BY CHARINDEX(statusId,'32451')
January 12, 2013 at 4:38 pm
Phil Parkin (1/10/2013)
If people pledge enough beer money, I might even be tempted to investigate ... π
π Like your motivation π
January 11, 2013 at 9:13 am
Viewing 15 posts - 1,051 through 1,065 (of 1,957 total)