Viewing 15 posts - 8,281 through 8,295 (of 11,678 total)
SQL Kiwi (1/26/2012)
Koen Verbeeck (1/26/2012)
For starters, check out the datetimeoffset datatype:One of the many issues with DATETIMEOFFSET is it doesn't handle things like daylight savings time.
Ah, that is good to...
January 27, 2012 at 12:01 am
100 is the number of characters you can store, not the size in bytes.
Since you are using a unicode column (datatype preceded by n), you are using twice as much...
January 26, 2012 at 11:56 pm
Is it possible to give some sample data and desired output?
For starters, check out the datetimeoffset datatype:
http://msdn.microsoft.com/en-us/library/bb630289.aspx
ps: I think most people here want help asap. No need to point out...
January 26, 2012 at 11:54 pm
Buh, got it wrong. But that's because I refuse to learn XQuery 😀
January 26, 2012 at 11:13 pm
GSquared (1/26/2012)
January 26, 2012 at 2:57 pm
I don't think that is correct syntax.
Store the two statements in variables. Then execute the statement in the IF construct with the EXEC statement or with sp_executesql.
edit: sorry, I wasn't...
January 26, 2012 at 7:08 am
In the connection string, add IMEX=1 at the end. http://www.connectionstrings.com/excel
Set the registry setting of TypeGuessRows to 0 for the JET provider. http://support.microsoft.com/kb/281517
This way, the JET provider will scan the entire...
January 26, 2012 at 5:24 am
Why are you trying to change the sa password if you have Windows Authentication?
The sa login is used with SQL Server Authentication.
January 26, 2012 at 5:17 am
I thought such a basic question, which has appeared numerous times in the QotD, would have been easier, but apparently more than 50% - at the moment - still got...
January 26, 2012 at 3:07 am
Dhirju (1/26/2012)
or, client already end the session without rollback or commit transaction
That would be surprising, as uncommitted transactions are rolled back when the session is terminated.
Has the behaviour from your...
January 26, 2012 at 2:33 am
Dhirju (1/26/2012)
k. but what will be that trancation state. rollback or commit.
If you kill the session, the transaction will be rolled back, as stated explicitly in the link that...
January 26, 2012 at 1:47 am
Phil Parkin (1/26/2012)
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...
January 26, 2012 at 1:00 am
One small question, just to be sure:
were the two inputs for the MERGE JOIN sorted?
January 26, 2012 at 12:15 am
Put a For Each Loop and loop over the object variable. Put the plan code value into a variable and use this variable in an expression to set your flat...
January 26, 2012 at 12:14 am
Viewing 15 posts - 8,281 through 8,295 (of 11,678 total)