Viewing 15 posts - 61 through 75 (of 236 total)
I'm with Wayne. I simply can not bring myself to help someone devise a cursor-based solution when another solution is available. I tried. Even if your current...
August 4, 2010 at 3:13 pm
As everyone stated, there's nothing wrong with using a view in a FROM clause. However, when you JOIN a view against a table (or another view), you are typically...
August 4, 2010 at 2:33 pm
If you do determine that you need the indexes on the staging table, you may want to consider dropping them when you clear the table, and recreating them after the...
August 4, 2010 at 2:27 pm
By the way: no one will (should) judge you for using staging tables. Not only are they faster in your case, they also allow you to rebuild the data...
August 4, 2010 at 2:24 pm
My solution for this is a little more general purpose that what you're looking at, but it should work.
Turn on SSIS Logging. From the menu: SSIS > Logging....
August 4, 2010 at 1:59 pm
Ok, that makes sense.
Typically when I set up a multi-value parameter, the default is to select all. This way they get all the data, but have a flexible filter....
August 4, 2010 at 12:50 pm
It's worth mentioning that because my example references a dataset, it can't be used in the header. It can still be placed at the very top of the body,...
August 4, 2010 at 12:42 pm
Just to clarify: every UPDATE query should have a WHERE clause. I've often thought it should be a required clause, because something like "UPDATE [Table] SET [Field] = 1"...
August 4, 2010 at 12:36 pm
I'm not sure exactly what you're trying to do, but it sounds like you are trying to do an UPDATE ... FROM, which allows you to update a table based...
August 4, 2010 at 12:19 pm
Ganesh has lead you down the right track. That is exactly what you need to do.
However, I usually take it a step further. When they select ALL of...
August 4, 2010 at 12:10 pm
In the MVC architecture, SQL Server is the model.
August 4, 2010 at 10:11 am
In SSRS, the function is called MID(), but it does the same thing. There is also a RIGHT() and LEFT() function that do approximately the same thing. You...
August 2, 2010 at 1:34 pm
Yeah, I probably should have read a little further into it. Our SAN provides snapshots too, which are largely analogous with SQL Server database snapshots. Only the snapshot...
August 2, 2010 at 12:30 pm
What you're suggesting shouldn't have any impact on the SQL Server installation. Regardless, I understand your hesitation. The safest way to proceed would be to image the drive...
August 2, 2010 at 12:16 pm
The creation of a snapshot takes virtually no time whatsoever. No data from the database is copied until it is changed. Only the snapshot header is written when...
August 2, 2010 at 12:11 pm
Viewing 15 posts - 61 through 75 (of 236 total)