Viewing 15 posts - 16 through 30 (of 48 total)
Great, you looks confident! how you do partitioning switching? dynamic queries? manual? how often? weekly? monthly?
using the 20k method? what 20k method?
August 27, 2008 at 10:42 pm
that mean I need to go thru' trial-and-error? Thanks anyway
August 26, 2008 at 11:26 pm
Jeff Moden (8/25/2008)
August 26, 2008 at 9:20 am
Yes, I have gone thru' that. That's what I meant cold archiving (predefined values). I have tried to do something like this:
SET @SQLString = N'ALTER PARTITION SCHEME [' + @archiveScheme...
August 25, 2008 at 8:10 am
PaulB (8/24/2008)
You may want to research table partitioning.Table partitioning allows for the fastest and cleanest way to achive data archiving and purging.
Sorry, I am curious how the table partitioning affect...
August 25, 2008 at 7:52 am
then you meant ident_current('table name') can be used as scope_identity ?
July 9, 2008 at 10:40 pm
since you are talking about identity, I think IDENT_CURRENT('table_name') will also have the scope problem as @@IDENTITY(From BOL: @@IDENTITY is not limited to a specific scope; SCOPE_IDENTITY returns the value...
July 9, 2008 at 5:58 pm
Mark (7/9/2008)
SELECT col1 AS "@N",
col2 AS "text()"
FROM @temp
FOR XML PATH('D'),ROOT('Root'),TYPE
I cann't , I get this :
< D>
< N>Measure </N>10.6227 </D>
< D>
...
July 9, 2008 at 5:02 am
Thanks for your info, though I did not use trigger. Anyone know batch update to eliminate of getting @@scope_identity?
July 9, 2008 at 4:56 am
The openXML or XQuery I have no problem,
but the column "ID" in table A will be getting from:
set temp variable = @@identity
to insert into column "A_ID" in...
July 8, 2008 at 5:51 pm
Great, thanks. 😀
May 30, 2008 at 5:58 am
Mahesh Bote (5/23/2008)
[font="Verdana"]Select @var = col1 from #t1
EXEC au_info @var
[/font]
where's declaration of @var?
Do not tell me:
DECLARE @var text
or
DECLARE @var nvarchar(4000)
😀
May 23, 2008 at 7:36 am
[Code]
create table #t1 (col1 text)
insert into #t1
Values('
<Customers CustomerID="XYZAA" ContactName="Joe"
...
May 23, 2008 at 3:19 am
GilaMonster (5/14/2008)
gan (5/13/2008)
By the way, most of the sites is using MSSQL 2000, any idea?
Other than suggesting that SQL 2000 questions should go in the SQL 2000 forums?
Dunno. I'm...
May 14, 2008 at 1:42 am
GilaMonster (5/13/2008)
May 13, 2008 at 7:25 pm
Viewing 15 posts - 16 through 30 (of 48 total)