Viewing 15 posts - 10,921 through 10,935 (of 13,877 total)
No problem.
I was responding to this statement:
I generally use SQL2K8 and i'm used to the format on it. Unfortunately the company i'm working for are on 2K5 and they're not...
February 1, 2012 at 2:28 am
What is there about your proc which works on 2008 and not 2005?
February 1, 2012 at 2:19 am
I explained the behaviour of STR() (or so I thought).
For your purposes, it is not suitable. If instead you cast your variables as, say, varchar(30) and then print them, you...
January 31, 2012 at 9:35 am
krishnaprasad14 (1/31/2012)
[For example, today we got 3 records into Unmatch obkect and tomorrow may be...
January 31, 2012 at 6:19 am
Koen Verbeeck (1/30/2012)
Sri8143 (1/30/2012)
I am using ssis not ssms ....and they want to do it thru ssis ..
Use an Execute SQL Task to create a backup of the database.
Use another...
January 30, 2012 at 6:47 am
I'm afraid that I don't 100% understand what you are doing. But as you are operating on a single server, I would be tempted to do the whole thing in...
January 28, 2012 at 12:18 pm
So is it the case that you only ever want to insert new data and that you are not worried about updates?
Is the PK ID an identity column? Just wondering...
January 28, 2012 at 10:06 am
Koen Verbeeck (1/26/2012)
Just split the datastream into two datastreams by using the multicast component. That way you'll have two outputs. Connect each of them to the corresponding file.
Or maybe you...
January 26, 2012 at 12:56 am
There's probably a faster way, but this works I think:
select convert(varchar(11), cast('1978-01-25 00:00:00.000' as datetime), 13)
January 24, 2012 at 3:11 am
You can set the TablesList property via an Expression.
January 23, 2012 at 6:57 am
Try this:
use AdventureWorks2008R2 ;
GO
select avg(salesytd) avgSalesYTD,
a.PostalCode
from Sales.SalesPerson s
join Person.Person p on s.BusinessEntityID = p.BusinessEntityID
join Person.Address a on a.AddressID...
January 21, 2012 at 1:48 am
My pleasure - thank you for the feedback.
January 20, 2012 at 9:24 am
January 20, 2012 at 8:08 am
Ah, this gives the dodgy result:
select @x Dec, @y Float, cast(@y as numeric(28,15)) casted
So looks like it may be cast as float and then back to numeric in STR()
January 20, 2012 at 6:51 am
Thanks Jeff
I checked that BOL entry out this morning, then tried stuff like this:
declare @x decimal(28,15) = 98.43075
declare @y float
set @y = @x
select @x Dec, @y Float
in the expectation...
January 20, 2012 at 6:46 am
Viewing 15 posts - 10,921 through 10,935 (of 13,877 total)