Viewing 15 posts - 16 through 30 (of 47 total)
If you can run something like this, perhaps you CAN find out the collation of the columns:
USE AdventureWorks
GO
SELECT name, collation_name
FROM sys.columns
WHERE OBJECT_ID IN (SELECT OBJECT_ID
FROM sys.objects
WHERE type...
March 4, 2010 at 12:57 pm
Ok, so you don't have permission. I was able to add it to my local server and I have just ran a simple test to insert into temp, both my...
March 4, 2010 at 12:50 pm
Just tried it, seems ok. Don't quote me on this though.
March 4, 2010 at 12:21 pm
Can you add a trigger or does that consitute "changing the table"?
What about the part where insert/update happens, can you change that and add an OUTPUT clause to them to...
March 4, 2010 at 10:59 am
No disrespect but a lot of what you are doing is unnecessary. With many conversions back and forth it is easy to get messy results.
Try this
Create FUNCTION [dbo].[NewFormatFloat](@dIn...
March 4, 2010 at 10:53 am
I don't understand what the issue is
declare @f decimal(38,31)
set @f=9999999.123456789012345678901234567891
select round(@f,20)
select cast(@f as varchar(50))
Can you post your function and some sample data? See this link for how to do that:...
March 4, 2010 at 9:17 am
This is just a stab at this but I think it is the right direction.
See these links:
Explanation of Mantissa and Precision
It seems that floats do not have...
March 4, 2010 at 8:54 am
Your constraint is
CONSTRAINT [tPickPointD01] UNIQUE NONCLUSTERED
(
[tpphidx] ASC,
[desn] ASC
)
so looks like the update is...
March 3, 2010 at 2:24 pm
Matt, good point. The approach very much depends on their setup and security tolerance. I used BCP in my more SSIS resistent days.
March 2, 2010 at 10:01 am
Front end, can you not copy this file to a seperate folder? i.e create a "processing" folder under your current folder and move file there one at a time and...
March 2, 2010 at 9:58 am
David, I have no idea about your issue but would like to comment on SSIS in general.
The learning curve is very steep and painful.
I too was introduced to SSIS...
March 2, 2010 at 9:47 am
If I understood you correctly, I have done this by putting the XML file in a table and BCP that out to the file. The directory can be loaded from...
March 2, 2010 at 9:14 am
Nice,
Those CTEs are great and this might work better for him since he might not have the rights to modify the tables.
February 25, 2010 at 10:19 pm
Thanks. I thought about somehow use the OUTPUT on the UPDATE but this seems too complicated for that.
February 25, 2010 at 9:51 pm
Viewing 15 posts - 16 through 30 (of 47 total)