Viewing 15 posts - 91 through 105 (of 157 total)
i dint know how to map your tables but the basic SQL would look like this if you want no of days from startdate to current date
SELECT C.* , DATEDIFF(Day,...
March 30, 2010 at 2:00 pm
Rt clk on the Excel destination, then select advanced and see the Input/Output column data types they should match.. if they dont just open up Excel destination In the...
March 30, 2010 at 1:54 pm
If your SQL is getting you all the images then you just need to make rank() or row_number() function part of your SQL as below
SELECT dbo.tblVara.fldKategori, dbo.tbVara.fldVaraID, dbo.tblVara.fldRubrik, dbo.tblAnAddVara.fldText, dbo.tblVara.fldPris,...
March 30, 2010 at 1:44 pm
click on Excel connection Manager and on the rt side Property pane you should see Expressions.. you will also see a Connection string property, try to make a note of...
March 30, 2010 at 11:58 am
Did you try using Row_Number() Function in SQL?? its simple and would give you the same results ... Partition them on Seq,meter
March 30, 2010 at 10:59 am
Did you change the connection String Property of your EXcel File which should look something like this based on your EXCEL Version. The Variable "ExcelFilePath" holds the path of the...
March 30, 2010 at 9:45 am
Phil Parkin (3/30/2010)
Wrong. File names and folder names cannot contain slashes.
🙂 I agree with you on that Phill, I was just trying to help him with the code their.....
March 30, 2010 at 9:31 am
Replace "+" with "&" that should do it
FileDate = "-" & strDay & "\" & strMonth & "\" & strYear
March 30, 2010 at 9:15 am
My First thought would be to try using ROW_Number() function and just select 1 row based on your condition if any.... can you post your table definitions with some sample...
March 30, 2010 at 8:57 am
you add the ForEach Loop to the package do you drag it on to the work area and then drop the connection inside of the loop or do you...
March 29, 2010 at 9:40 am
Use a execute SQL task to get distinct Column data and Then use a FEL to loop on that column data, Place a execute SQL task and a Data Flow...
March 29, 2010 at 9:31 am
ronaldkrex (3/24/2010)
March 26, 2010 at 9:34 am
I looked at the example you referenced and downloaded the sample file the author provided but its still not clear. What I rally need is an on line sample/example...
March 26, 2010 at 9:17 am
Use Import/Export wizard in SSIS to complete the Data Flow Task part. You will be left with Control Flow task and all you need to do is use a For...
March 25, 2010 at 4:29 pm
SQL command from Variable should work..What is the Error that you are getting ? Are the SSIS variable data types same as your Function variables ??
March 25, 2010 at 9:11 am
Viewing 15 posts - 91 through 105 (of 157 total)