Viewing 15 posts - 46 through 60 (of 101 total)
May be this way:
SELECT Sum(query.Counts) AS Total
FROM (
SELECT C1.ID, C1.Name, Count(*)as Counts
FROM ClassifiedsView_Ads AS CA
INNER JOIN Classifieds_Categories AS C1 ON CA.CategoryId = C1.ID
INNER JOIN Classifieds_Members AS M ON CA.MemberID...
December 1, 2007 at 3:04 am
Paul Turley, Joe Kasprzak, Scott Cameron (and others), Microsoft SQL Server 2005 Integration Services Step by step.
December 1, 2007 at 1:12 am
Change function definition to:
create function dbo.mycustomertest (@code varchar(10))
returns table
as
declare @sqlCmd nvarchar(4000)
select @sqlCmd = (case when @code= 'brm' then 'select * from
dbo.employee ()'
when @code='crm' then 'select * from dbo.myorder()'
else 'unknown'
end)
exec...
November 30, 2007 at 3:06 pm
Please try to explain what you want to do. Are you want to write C# application which executes SSIS packages or anything else?.
November 30, 2007 at 2:36 pm
So please correct me if I do not understand.
If your code looks like that:
files(0) = "\\manny-slave\appWork\FACT-FINDER\a.txt"
files(1) = "\\manny-slave\appWork\FACT-FINDER\b.txt"
http://ftp.SendFiles(files, "", True, False)
then it rise error?
What is...
November 30, 2007 at 2:44 am
You must use Script Component with transformation type, two outputs with SynchronusInputID set to none (for example ValidEMail and NotValidEMail) and with one column for each output (ValidEmail for ValidEMail...
November 29, 2007 at 3:32 pm
Try to use Data Conversion component from Data Flow Transformation toolbar.
November 29, 2007 at 2:20 pm
I think you must read this thread:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=61765&SiteID=1
November 29, 2007 at 12:10 pm
Try to change protection level to EncryptAllWithPassword and set password for the package. And next deploy it on production server.
November 29, 2007 at 11:40 am
I think the best way is to use SQL job. SQL 2005 has special step type: SQL Server Integration Services Package.
November 29, 2007 at 2:12 am
Password is not saved in the connection dialog but it is saved internally and SSIS can connect to it without any problem.
November 29, 2007 at 1:45 am
I think the best way is to use Script component (transform type) with asynchronous output.
November 28, 2007 at 2:05 am
I think if your package does not generate any error then all record are successfully transferred from source to destination (assuming there is not no additional logic between source...
November 28, 2007 at 1:35 am
Bill Nye (11/26/2007)
[font="Courier New"]IF EXISTS (SELECT * FROM mytable)SET @loadtable=0 ...[/font]
It is not good practice to issue SELECT * FROM statement (btw it can take the long time for the...
November 28, 2007 at 1:27 am
Bill Nye (11/26/2007)
An alternative way to check if a table has records, if you don't need to know the rowcount:[font="Courier New"]IF EXISTS (SELECT * FROM mytable)
SET @loadtable=0 ...[/font]
Try to use...
November 27, 2007 at 4:29 am
Viewing 15 posts - 46 through 60 (of 101 total)