Viewing 10 posts - 211 through 220 (of 220 total)
I don't believe SSIS does dynamic imports. You could maybe use a script component to do so?
June 11, 2015 at 3:08 am
Are you after something like this?
SELECT DISTINCT ne.NewsID
FROM NewsEntities ne
LEFT JOIN (SELECT DISTINCT NewsID FROM NewsEntities WHERE EntityID = 2) tne ON tne.NewsID = ne.NewsID
WHERE ne.EntityID = 1
AND tne.NewsID IS...
June 11, 2015 at 2:56 am
Are the ldf and mdf files both in there?
June 5, 2015 at 7:39 am
Create a table to add the file names into it e.g.
CREATE TABLE EmailTask(Name VARCHAR(20))
INSERT INTO EmailTask(Name)
SELECT 'ABCD'
UNION
SELECT 'HERH'
...etc
Create a 'object' variable called 'objName' then a string variable called 'strName'.
Use 'Execute...
June 5, 2015 at 3:19 am
Does the folder 'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\Documents' already exist?
June 5, 2015 at 2:50 am
I had a similar issue with a setup a while back, from what I recall the AdventureWorks2008 database is slightly different to the others (you may be able to find...
June 4, 2015 at 7:55 am
Far from elegant, but this may work
SELECT RTRIM(CASE WHEN CHARINDEX(',',Address) < CHARINDEX('*',Address)
THEN SUBSTRING(Address,0, CHARINDEX(',',Address))
WHEN CHARINDEX(',',Address) > CHARINDEX('*',Address)
THEN SUBSTRING(Address,0, CHARINDEX('*',Address))
ELSE Address
END)
June 4, 2015 at 4:59 am
Assuming the expression is typed correctly - is CEILING definitely available in 2000? (Sorry if a silly question, I don't have access to it anymore!) If it is, try prefixing...
June 3, 2015 at 4:42 am
manoj.ramaiah (6/3/2015)
Hi thanks for your suggetion,Where we should use This expression "E:\\Reporting\\Delivered_Reports\\ExcelName_"+
((DT_WSTR,4)Year(GETDATE()))+
RIGHT("0"+((DT_WSTR,2)Month(GETDATE())),2)+
RIGHT("0"+((DT_WSTR,2)Day(GETDATE())),2)+".xls".
In send mail task or somewhere else?
Thanks for your time
MWise already answered this for you:
Then in...
June 3, 2015 at 4:25 am
Which property are you assigning this expression to?
June 2, 2015 at 7:44 am
Viewing 10 posts - 211 through 220 (of 220 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy