Viewing 15 posts - 7,921 through 7,935 (of 13,882 total)
Use the RIGHT() function.
Right('0' + col,2)
November 13, 2015 at 4:53 am
If you take the time to post the data in consumable form (see the link in my signature), I will show you how.
A correlated subquery is not required in this...
November 13, 2015 at 3:46 am
Hopefully your framework allows you to set the max concurrent number of executing packages per job.
I'd suggest playing with that number a bit. Start on the low side and gradually...
November 13, 2015 at 12:36 am
That very process was recently described in this thread.
November 13, 2015 at 12:32 am
Also, literal dates are best written in 'YYYYMMDD' format, eg, '20791201', to avoid any possible DMY, MDY confusion.
November 12, 2015 at 11:27 am
ChrisM@Work (11/12/2015)
Ed Wagner (11/12/2015)
Sean Lange (11/12/2015)
Jack Corbett (11/12/2015)
Sean Lange (11/12/2015)
Brandie Tarvin (11/12/2015)
Sean Lange (11/12/2015)
djj (11/12/2015)
Grant Fritchey (11/12/2015)
November 12, 2015 at 10:23 am
nexus2vijay (11/12/2015)
I'm not a Techie infact. I'm from Teaching field and new to IT industry and getting to know the DB.
If you could help me out...
November 12, 2015 at 10:17 am
nexus2vijay (11/12/2015)
From the attached 4 Tables Schema Diagram
Will the below query Reduce me the ListPrice by 20% if i didn't receive the order for the last 2 years ? Jammed...
November 12, 2015 at 10:07 am
OK, version 2.
declare @x varchar(500) = '&StartRow=1&EndRow=1000&LoginID=40&ProjectAssessment=16&ShowColumns=Asset&ShowColumns=Category&ShowColumns=IOL&ShowColumns=Vulnerability%20Exposed&AssetDescription=&';
select @x
,left(replace(right(@x, len(@x) - charindex('&ShowColumns=', @x) - 12), '&ShowColumns=', ','),charindex('&',replace(right(@x, len(@x) - charindex('&ShowColumns=', @x) - 12), '&ShowColumns=', ','))-1)
November 12, 2015 at 9:13 am
robert.wiglesworth (11/12/2015)
November 12, 2015 at 9:03 am
You could try this. Might not work in all circumstances though:
declare @x varchar(500) = '&StartRow=1&EndRow=1000&LoginID=40&ProjectAssessment=16&ShowColumns=Asset&ShowColumns=Category&ShowColumns=IOL&ShowColumns=Vulnerability%20Exposed&AssetDescription=&';
select @x
,replace(replace(right(@x, len(@x) - charindex('&ShowColumns=', @x) - 12),...
November 12, 2015 at 8:39 am
nexus2vijay (11/12/2015)
Attached the Schema of a DB with 4 Tables.
1.Query to get the customers with the total sales, who placed an order last year but not this year.
•Column...
November 12, 2015 at 6:47 am
If the solution you are considering is as simple as you suggest, there is little point in staging anything. Instead
1) Dataflow task with source Server1.Source1
2) Data source to fully-cached Lookup...
November 11, 2015 at 12:08 pm
Sure.
Let's assume your source proc is called dbo.proc and it has a parameter called @MaxDate.
Point your OLEDB data source at your source database and in SQL commend text, enter:
exec dbo.Proc...
November 11, 2015 at 6:17 am
Viewing 15 posts - 7,921 through 7,935 (of 13,882 total)