Viewing 15 posts - 106 through 120 (of 311 total)
Lowell (10/16/2010)
jaffrey (10/16/2010)
Hai guys,Is it possible, Delete a record without using Delete keyword?
a single record? no...the TRUNCATE TABLE [TABLENAME] command will delete all records in a table. so that deletes...
October 16, 2010 at 3:54 am
BTW, why did you started a new thread on the answer I gave you?
October 16, 2010 at 2:33 am
scottichrosaviakosmos (10/15/2010)
i.e row of a like 10+20+40.. to...
October 16, 2010 at 2:30 am
Do you mean something like this?
declare @tblmonth table(stdid int, code char(1), jan int, feb int, march int, april int, may int)
declare @tbldate table(stdid int, sdate date, eddate date)
insert into @tblmonth
values...
October 15, 2010 at 1:27 pm
Paul White NZ (9/18/2010)
Hmm. How'd I miss this thread? :w00t:
Because of being busy writing those great optimizer articles?
September 18, 2010 at 10:45 pm
Jeff Moden (9/16/2010)
Wow... I guess my machine doesn't like XML so much. I stopped the test after 10 minutes on a 10K by 100 run.
Like Steve already pointed out,...
September 17, 2010 at 2:02 am
frharkonnen (9/13/2010)
In the INNER JOIN (94%) I have the following warning : NO JOIN PREDICATE. Why ?
The top input of the inner join contains an index seek on Topic.t_id =...
September 14, 2010 at 3:40 am
steve-893342 (9/13/2010)
WayneS (9/13/2010)
SET NOCOUNT ON;
print replicate('*',30);
Print 'Jeff''s function';
print replicate('*',30);
SET STATISTICS IO,TIME ON;
select
count(*)
from
CsvTest
cross apply
dbo.Split8KX(CsvParameter, ',');
SET STATISTICS IO,TIME OFF;
print replicate('*',30);
print 'Inline table valued function';
print replicate('*',30);
SET...
September 13, 2010 at 7:32 am
I am not an XML Ninja either, but you can try a inline table valued function
CREATE FUNCTION dbo.Split8KX_Inline(@Parameter VARCHAR(MAX), @Delimiter VARCHAR(1))
RETURNS TABLE
WITH SCHEMABINDING
AS
RETURN
SELECT...
September 13, 2010 at 12:29 am
Lowell (8/26/2010)
ROWTERMINATOR =
vbCrLf = CHAR(13) + CHAR(10) = \n
vbCr = CHAR(13) = \r
vbLf...
August 26, 2010 at 3:38 pm
Oops, posted twice.
August 26, 2010 at 11:07 am
BravehearT1326 (8/26/2010)
FROM 'C:\TEST\test.txt'
WITH
(
FIELDTERMINATOR ='|',
...
August 26, 2010 at 11:01 am
Is this what you want?
;with OrderedProbability as
(
select
ConstructNo, ImportanceBands, Probability,
row_number() over (partition by ConstructNo order by Probability desc, ImportanceBands desc)...
August 18, 2010 at 6:18 am
deepthik (8/12/2010)
Am using the below function as you mentioned. At that time, there is no data, so i habve tested on test data and is working fine.
now, my report is...
August 13, 2010 at 3:03 am
You are using the wrong expression for the format. Given a date of 2/3/2009, your expression
=Format (<datetime field from dataset>, "dd-MMM-yyyy").
evaluates to "3-Feb-2009" which is then used to format...
August 10, 2010 at 3:49 am
Viewing 15 posts - 106 through 120 (of 311 total)