Viewing 15 posts - 3,991 through 4,005 (of 8,731 total)
farfel (10/22/2015)
October 22, 2015 at 9:41 am
If you wanted to stay in the past, you could have followed this: https://www.virtualobjectives.com.au/sqlserver/dts_sql2005.htm
October 22, 2015 at 9:10 am
eric.notheisen (10/22/2015)
October 22, 2015 at 8:46 am
Is great to know that you're sharing your real life experience. As commented above, the cross tabs approach has been way back before pivot and is more flexible. That doesn't...
October 22, 2015 at 8:24 am
Without actual sample data, I can't ensure that this will work, but it should give you an idea. It reduce the code and the work done.
SELECT [GCM_CLIENT_CD],
...
October 21, 2015 at 1:42 pm
SQLCurious (10/21/2015)
October 21, 2015 at 1:24 pm
Why do you think you need a cursor? You're not even using the variable inside the cursor.
I'm not sure about your requirements as they're confusing and your sample data won't...
October 21, 2015 at 1:17 pm
As John said, the problem is that your splitter function is at least 4 times slower than the one we suggested. It might actually be worse by using varchar(max).
Read the...
October 21, 2015 at 6:52 am
mr.addikhan (10/20/2015)
Sir, i am junior developer i am learning sql server, your professional i need only help..:crying:
That's even a better reason to stop and understand what you're...
October 20, 2015 at 4:14 pm
You forgot to create the splitter in your system. You need to use it inside the function and call the function using your table.
October 20, 2015 at 2:46 pm
Alan, your idea is good, but if order is important a tweak might be needed.
CREATE FUNCTION dbo.RemoveDupes(@string varchar(8000))
RETURNS TABLE AS
RETURN
WITH CTE AS(
SELECT MIN( ItemNumber)...
October 20, 2015 at 2:10 pm
Why not just drop and recreate the database?
October 20, 2015 at 2:00 pm
If you can't create data that accurately represents your problem, then you might not understand your real problem or your data.
We can't help you with that and we can't understand...
October 20, 2015 at 7:49 am
Brandie Tarvin (10/20/2015)
Ed Wagner (10/20/2015)
Alvin Ramard (10/19/2015)
ITU_dk2012 (10/19/2015)
... I think I should post this into another SSC forum because I am not getting any help over here.Thanks.
Oh...
October 20, 2015 at 7:47 am
j.sjoelund (10/20/2015)
I have imported a txtfile to access and have some problem making the data appear in my wanted way. I want to shift the cells in the first row...
October 20, 2015 at 7:41 am
Viewing 15 posts - 3,991 through 4,005 (of 8,731 total)