Viewing 15 posts - 196 through 210 (of 2,635 total)
The db_owner role is probably a good choice, but be aware that a user in this role can drop the database. You definitely don't want to allow the user...
January 7, 2010 at 5:09 pm
Jpotucek (1/6/2010)
Can anyone tell me which constraints I would need to drop in order to truncate and reload this table?
You don't need to drop the primary key constraint, but you...
January 7, 2010 at 9:10 am
The column definition is causing the error. Assuming the column is already in the table, remove (PAYEE_ID INT NOT NULL) and you won't get the syntax error. Also...
January 6, 2010 at 5:23 pm
You can get pretty much the same information from the sysjobhistory table, which is in both SQL 2000 and SQL 2005. Look at run_date, run_time, and run_duration.
If you're interested...
January 5, 2010 at 11:50 am
You can find that in the sysforeignkeys system table. Here's a query that will list foreign key info for the tables in a database:
select t.name as 'Table', c.name as...
December 31, 2009 at 4:47 pm
Is your local database that includes the new table in SQL 2005 or SQL 2000? Since you posted in the Integration Services forum, I could assume that it's in...
December 30, 2009 at 9:11 am
If it's the package that's failing, enable package logging by opening the package in DTS Designer, open package properties and go to the Logging tab. You can log to...
December 23, 2009 at 10:29 am
Here's how I'd do it:
create table x (A varchar(20))
insert into x
select substring(system_user,charindex('\',system_user) + 1,20)
select * from x
You can decide if it seems easier.
December 16, 2009 at 9:44 am
ray 78019 (12/10/2009)
If I understand correctly, if I open the DTS in SQL Server Management Studio (2005) and save it under a different name, it'll still be saved as...
December 10, 2009 at 9:17 am
If you launch Replication Monitor in SSMS on any SQL Server instance, you can see the instances that are replication publishers. When you click on a publication, you can...
December 10, 2009 at 9:12 am
Bru Medishetty (12/8/2009)
ray 78019 (12/8/2009)
December 9, 2009 at 5:03 pm
Faiyaaz (12/1/2009)
Our server crashed and I managed to recover everything, there is just on thing missing, one of our senior developers could edit/update DTS Packages but defintely was not...
December 2, 2009 at 8:31 am
We want to limit the number of holes in the firewall so we've decided against linked servers and restricted data movement to pushing data into the DMZ servers with SSIS...
November 25, 2009 at 10:58 am
Here's an article that summarizes the permissions needed to backup and restore: http://www.sqlbackuprestore.com/backupandrestorerights.htm. Unfortunately, there isn't a very restrictive role for restoring a backup. Hopefully, this isn't a...
November 24, 2009 at 9:53 am
ajith.ranjan (11/18/2009)
Msg 3154, Level 16, State...
November 19, 2009 at 10:48 am
Viewing 15 posts - 196 through 210 (of 2,635 total)