Viewing 15 posts - 25,576 through 25,590 (of 59,099 total)
- Win (10/21/2013)
Happy to see your response on this. I have couple of questions.
What do you mean ?
What should I understand with your response, the last lines ?
SSNs...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2013 at 2:14 pm
L' Eomot Inversé (10/21/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 21, 2013 at 4:51 pm
Keith Tate (10/21/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 21, 2013 at 4:38 pm
josh 92884 (10/21/2013)
I have a table on a MSSQL 2000 with about 4700 rows.
My query:
SELECT * FROM...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 21, 2013 at 4:28 pm
Everything has a "tipping point". 1 Extra row can cause an execution plan to change drastically.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 21, 2013 at 2:36 pm
This sounds like the perfect task for Nested Sets. Looking forward to readily consumable sample data for this problem.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 21, 2013 at 2:23 pm
Are the indexes and stats actually being rebuilt on the secondary?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 21, 2013 at 2:18 pm
jonysuise (10/21/2013)
Hi SSC Journeyman, 😀Maybe another approach could be partitionning your table.
Hope it helps. 😎
+1. You beat me to the punch on that one. I'm going through that...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 21, 2013 at 2:16 pm
sqlserver12345 (10/21/2013)
nothing just ...just learning some coding
In that case, I strongly recommend that you drop the whole idea of using a WHILE loop and not using REVERSE. Might as...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 21, 2013 at 1:31 pm
hoseam (10/21/2013)
I tried to use SQL Server Import and...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 21, 2013 at 9:04 am
blasto_max (10/20/2013)
Koen Verbeeck (10/20/2013)
DO NOT USE SSIS FOR THIS.
Use dynamic SQL for this (as Jeff mentioned).
If I would need to...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 21, 2013 at 8:23 am
dwain.c (10/20/2013)
sqlserver12345 (10/20/2013)
I do not want to use reverse function.please check the code I posted and correct what wrong I did.thanks
That's exactly what we're doing by showing you the right...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2013 at 8:44 pm
sqlserver12345 (10/18/2013)
declare @charvaluefront varchar
declare @charvalueback varchar
declare @frontpos int
declare @backpos int
select @count=len('ABC')
set @frontpos=1
set @backpos=@count
while(@frontpos<=@count)
begin
select @charvaluefront=substring('ABC',@frontpos,1)
select @charvalueback=substring('ABC',@backpos,1)
set @frontpos=@frontpos+1
set @backpos=@backpos-1
print @charvaluefront
print @charvalueback
end
How do I compare @charvaluefront and @charvalueback values to test...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2013 at 5:38 pm
mickyT (10/20/2013)
The 'no reverse' is an interesting requirement.
I believe what we have here is homework about how to use WHILE loops and the instructor probably never heard of a Tally...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2013 at 5:01 pm
sqlserver12345 (10/20/2013)
I do not want to use reverse function.please check the code I posted and correct what wrong I did.thanks
I'm curious... please explain why you don't want to use "REVERSE".
I...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2013 at 12:13 pm
Viewing 15 posts - 25,576 through 25,590 (of 59,099 total)