Viewing 15 posts - 5,656 through 5,670 (of 8,731 total)
You could try deleting the rows in batches. According to your recovery model, there'll be differences on how would you need to code it.
October 16, 2014 at 9:10 am
There should be a way to do it completely in SSIS, but you could create a table in SQL Server to query the correct path according to your dates.
October 15, 2014 at 4:28 pm
You can change the CTE for a subquery.
October 15, 2014 at 4:19 pm
I'm leaving 2 options in here. The problem is that you're formatting your date in different parts.
Date formatting should be done in the front end to avoid problems.
CREATE TABLE DateTest(
...
October 15, 2014 at 4:17 pm
Just to add what Jack and Batgirl already said. Here's a little test that you can make. If you want to have an exact rounding, you need to use an...
October 15, 2014 at 1:08 pm
If you're deleting all the rows from the tables, you might want to consider TRUNCATE.
October 15, 2014 at 8:41 am
Grant, Congratulations on being elected as a member of the PASS board!
October 15, 2014 at 7:22 am
The results grid will remove the line breaks, there's no way to change that. You need a front end that can display line breaks.
October 14, 2014 at 5:08 pm
I'm not sure if a "WHEN NOT MATCHED BY SOURCE" would be what you need. It gives the expected result, but I'm not sure if it's the logic needed.
...
October 14, 2014 at 5:00 pm
SQL Server stores the line breaks without any problem. One of your applications must be removing the line breaks.
October 14, 2014 at 4:48 pm
Lynn Pettis (10/14/2014)
It could be implicit...
October 14, 2014 at 4:06 pm
ScottPletcher (10/14/2014)
AND CASE
...
October 14, 2014 at 4:02 pm
You can also grant multiple permissions on a single instruction.
GRANT INSERT, SELECT, UPDATE, DELETE ON ObjectName TO UserName
October 14, 2014 at 4:02 pm
Eirikur Eiriksson (10/14/2014)
Luis Cazares (10/14/2014)
Thank you for the update, Steve.
In an unrelated topic, have you ever seen...
October 14, 2014 at 2:28 pm
The best way to do this is by using TRY...CATCH... blocks.
Read more about them in here: http://msdn.microsoft.com/en-us/library/ms175976(v=sql.100).aspx
Or search on the internet for more information and come back with any questions...
October 14, 2014 at 2:11 pm
Viewing 15 posts - 5,656 through 5,670 (of 8,731 total)