Viewing 15 posts - 8,296 through 8,310 (of 26,490 total)
Does your function have to split a string declared as nvarchar(max)?
March 27, 2013 at 3:02 pm
SCH70 (3/27/2013)
March 27, 2013 at 2:54 pm
No gals on this thread, yet.
March 27, 2013 at 2:52 pm
churlbut (3/27/2013)
March 27, 2013 at 2:49 pm
Check out the resources with this article: http://www.sqlservercentral.com/articles/Tally+Table/72993/. You should find a CLR splitter that will meet your needs.
Be sure to read the article and the discussion with it.
March 27, 2013 at 2:44 pm
A rough guess based off a very flimsy description of what you are trying to accomplish.
declare @SQLCmd nvarchar(max);
select
@SQLCmd = stuff((select N'union select MFG from ' +...
March 27, 2013 at 12:58 pm
jbalbo (3/27/2013)
But can't find it?
here is everything
O
/****** Object: StoredProcedure [dbo].[jb_test_deleteme_sp] Script Date: 03/27/2013 14:18:42 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[jb_test_deleteme_sp]
(
@StartDate...
March 27, 2013 at 12:28 pm
Have you tried? If so, did you get an error?
March 27, 2013 at 12:07 pm
Also, you really can't compare the pricing of SQL Server to that of Oracle without adding all the features you get in SQL Server at no additional cost to the...
March 27, 2013 at 12:05 pm
It is a part of BIDS. I haven't worked with SSIS for a while so you should do some research in BOL (Books Online).
March 27, 2013 at 11:31 am
Have you tried deploying the package from BIDS using the deployment tool?
March 27, 2013 at 11:18 am
Erin Ramsay (3/27/2013)
Then the sql I posted would be sufficient for such a task, I believe.
Not quite:
select count(distinct source.col1), DATEPART(month,datecol)
from
(
select 'name1' col1, '1/1/12' dateCol
union
select 'name1' col1, '1/2/12' dateCol
union
select 'name3'...
March 27, 2013 at 11:15 am
You have fallen into a common trap. Just because ISNUMERIC(adc.value) = 1 is true does not mean that convert(decimal(11,2), adc.value) will work.
Please read the following article: http://www.sqlservercentral.com/articles/IsNumeric/71512/.
March 27, 2013 at 11:12 am
How are you deploying the package?
March 27, 2013 at 11:01 am
Or, another option using smoke and mirrors inside the WHILE LOOP:
set @sql = 'create synonym MyTarget for ' + @C1_NAME + '.dbo.MyTable';
exec (@SQL);
select * from MyTarget
drop synonym MyTarget;
March 27, 2013 at 9:27 am
Viewing 15 posts - 8,296 through 8,310 (of 26,490 total)