Viewing 15 posts - 5,671 through 5,685 (of 7,187 total)
wware (10/21/2010)
Truncate does not fail for me...?
That's because you haven't defined a foreign key constraint.
John
October 21, 2010 at 7:25 am
Unless you already had something set up to track changes on your tables, there is no way of doing what you require. For the future, create triggers on those...
October 21, 2010 at 6:16 am
I've seen this happen before where the location for the SQL Server Agent log file doesn't have the right permissions on it or doesn't exist.
John
October 21, 2010 at 6:02 am
yjeevanrao.net (10/21/2010)
Hi john,Thanks for your spontaneous response. can you please give me any guide lines how to do this.
Jeevan.
Jeevan
Search on the internet for introductory tutorials for SSIS, then work...
October 21, 2010 at 5:35 am
Jeevan
You can write scripts to do this in T-SQL, but file manipulation isn't what T-SQL is designed for, so you're probably best creating a SSIS package to back up the...
October 21, 2010 at 4:56 am
Hugo Kornelis (10/21/2010)
Iulian -207023 (10/21/2010)
With all these restrictions what kind of application would use truncate table?
An application that does not use triggers, is not involved in transactional replication or merge...
October 21, 2010 at 3:07 am
As far as I know, xp_delete_file and others like it are undocumented, not deprecated. That means you should take care when using them since they could be deprecated or...
October 21, 2010 at 1:34 am
Use maintenance plans. I think the task you need is called Maintenance Cleanup.
John
October 20, 2010 at 1:48 am
I think I would start by removing the cursor from the trigger and instead insert the data as one set into the timetable table. You'll get performance problems when...
October 18, 2010 at 8:58 am
Something nobody's mentioned is foreign key constraints. If another table has a dependency on the table you are deleting from, and your foreign keys don't have cascading deletes, you'll...
October 18, 2010 at 4:59 am
Please will you provide some sample data in the form of INSERT statements, and show us what you've already tried? You'll find that more people will be willing to...
October 18, 2010 at 4:16 am
Ah, so this is an interview question!
(1) Create the table and use the SELECT statement to add the data into it.
(2) "name" is the name of the column you supplied...
October 15, 2010 at 8:41 am
I take it your comma key is missing or your Parse button doesn't work?
Anyway, I corrected your code and here are your options:
(1) Create a new table and select filtered...
October 15, 2010 at 7:12 am
Please can we have table DDL and sample data in the form of INSERT statements. Then we'll be able to help you.
Thanks
John
October 15, 2010 at 6:19 am
Chris
Yes, that's how I'd do it.
John
October 13, 2010 at 8:18 am
Viewing 15 posts - 5,671 through 5,685 (of 7,187 total)