Viewing 15 posts - 6,421 through 6,435 (of 14,953 total)
Looks like Numeric(4,2) would do what you need, but keep in mind that you're likely to end up with rounding causing issues.
October 25, 2010 at 2:41 pm
Comparing I/O rates between two complex systems is tricky. What are the bus speeds for the two servers? How much cache on the two drive systems? Spindle...
October 25, 2010 at 2:40 pm
"If" statements have to make sure every possible outcome can compile and run without errors. That's why they give errors as if an option had run that really didn't....
October 25, 2010 at 2:38 pm
While it's possible GetDate() will be removed at some point, there's nothing indicating it will be at this time.
I prefer it, because:
select getdate()
looks like it's selecting a function, while:
select current_timestamp
looks...
October 25, 2010 at 2:36 pm
There is a Time datatype in SQL 2008. You posted in the 2005 forum, so I'm assuming you don't have access to that.
Just use Datetime and don't worry about...
October 25, 2010 at 2:30 pm
The probability of it being duplicated is tiny. You'll reduce the impact of the query by changing it so instead of checking before-hand, it captures any insert error and...
October 25, 2010 at 2:26 pm
Are you talking about installing two copies of BIDS on the same computer, one from each version? If so, yes, that's possible.
October 25, 2010 at 2:24 pm
There are a number of different ways to do this. Perhaps the easiest is to import it into a staging table, and do a select with Unions to select...
October 25, 2010 at 2:22 pm
There are a few key things to look for in any execution plan. The first is any warnings on it. These will usually be marked in red and...
October 25, 2010 at 2:14 pm
It depends on the security rights you have, if I'm not mistaken.
October 25, 2010 at 1:51 pm
That makes some sense then.
I'm assuming the clustered index on the table is NOT based on some sort of "date added" column. If it were, that would make the...
October 25, 2010 at 1:48 pm
Derrick Smith (10/22/2010)
October 25, 2010 at 1:41 pm
It'll take as long as whatever you have the trigger do takes.
If, for example, the trigger just immediately returns, then it'll take microseconds.
If, for example, the trigger writes a large...
October 22, 2010 at 11:22 am
That it's still SQL
All the things they should know about any ACID, relational database
Set-based CRUD
SQL is Declarative, not procedural/OOP
Table input parameters
Merge
Modifications to "Values" (data sets)
That's not 10, but it'll get...
October 22, 2010 at 11:19 am
You could probably run the disable and enable in the same context as the insert and get it that way, but it doesn't guarantee results.
Any problem with just inserting, and...
October 22, 2010 at 11:14 am
Viewing 15 posts - 6,421 through 6,435 (of 14,953 total)