Viewing 15 posts - 256 through 270 (of 321 total)
Boyan Penev (2/26/2009)
February 26, 2009 at 5:11 am
Chris Morris (2/26/2009)
See also here.
Nice circular reference there Chris 😀
Whens your next TV show coming out?
February 26, 2009 at 3:53 am
you can match on User plus the space
replace(columnname, "User ", Employee ")
or you can change the userid part of the string first, then revert afterwards
replace(replace(replace(columnname, "UserID", "UxSxExRxIxDx"), "User", "Employee"), "UxSxExRxIxDx",...
February 26, 2009 at 3:33 am
mh, your solution is fine but when you test it with a lot of data against a cursor, the cursor is orders of magnitude faster
I adapted your query to fit...
February 26, 2009 at 2:10 am
doesn't sound like a valid CSV file
are the text columns quoted or not?
e.g. does the file look like this
1,"company name","this is a description,company in USA"
or is it
1,company name,this is a...
February 25, 2009 at 9:06 am
declare @milli as int
set @milli = 11202079
select @milli/3600000 as hours,
(@milli - ((@milli/3600000)*3600000))/60000 as minutes,
...
February 25, 2009 at 2:14 am
Save first
right click the package, select copy
right click the SSIS Packages folder, select paste
Right click new package, select rename.. rename package (don't forget the .dtsx extension) and click yes when...
February 24, 2009 at 1:54 pm
I think you'll need to get your typing hat on.
As far as I know there is no way to copy variables from one package to another. Each variable is...
February 24, 2009 at 9:13 am
garethmann101 (2/24/2009)
February 24, 2009 at 9:01 am
The problem with these sorts of calculations is that a row of data in a database is completely independant. It does not know or care about its neighbours and so...
February 24, 2009 at 6:11 am
Where is the stored procedure being called from?
If it is from another stored procedure then why create the list and then seperate them?
You can use a temp table to store...
February 24, 2009 at 5:54 am
if you want to avoid using lots and lots of ORs or you don't know how many strings you need to check before you run the query then try a...
February 24, 2009 at 3:15 am
You can use Visual Studio as a SQL editor
This gives you greater control over the file structure of the solution and allows you to connect to a source control...
February 24, 2009 at 2:23 am
simplest way is to build a function to handle it
function will need to loop backwards through the string to find the last "\"
once you have that location you can work...
February 3, 2009 at 3:09 am
ricol (12/5/2008)
December 5, 2008 at 7:10 am
Viewing 15 posts - 256 through 270 (of 321 total)