Viewing 15 posts - 211 through 225 (of 323 total)
The system proc sp_change_users_login may be able to help you fix the corrupted logins.
exec sp_change_users_login @Action = 'Report'
Will list users in the current database that are not correctly linked to a login...
August 24, 2004 at 6:06 pm
Also, the BULK INSERT T-SQL command can be called from sql code, and it's as useful as bcp for importing files. In fact, it's faster than bcp because it lives inside...
August 23, 2004 at 12:06 am
Have you tried adding a column to the existing table, with a datetime data type, and using an update statement to convert the exisitng data?
UPDATE myTable
SET MyNewDTCol =
August 22, 2004 at 11:05 pm
If you want to remove all the data from a table, use TRUNCATE TABLE because its damn fast. The transaction log will just contain the TRUNCATE TABLE command.
If you use...
August 20, 2004 at 1:30 am
Though this isn't tested code you could do something like
DECLARE @dbName varchar(256) SELECT @dbName = Min(Table_Name) FROM TableHoldingTableNames WHILE @dbName IS NOT NULL BEGIN DECLARE @exportSQL varchar(8000) SELECT @exportSQL = 'bcp "SELECT TOP...
August 20, 2004 at 1:23 am
How are you attempting to do the backup ? using SQL DMO objects?
Have you tried a simple disk backup?
BACKUP DATABASE master TO DISK='C:\backuptest.bak'
RESTORE VERIFYONLY FROM DISK='C:\backuptest.bak'
August 20, 2004 at 1:16 am
You have a backup schedule defined but users still have permission to do ad-hoc backups?
I'd say the easiest fix is to remove everyones access to backing up. Then your schedule...
August 20, 2004 at 1:14 am
From BOL:
LicenseType | Mode of this instance of SQL Server. PER_SEAT = Per-seat mode PER_PROCESSOR = Per-processor mode DISABLED = Licensing is disabled. Base data type: nvarchar(128) |
Check the...
August 20, 2004 at 1:09 am
If you want users to make changes / updates in Access, and for the changes to appear in a table that is stored in SQL Server, then create a Linked...
August 20, 2004 at 1:07 am
Read all the docs on DBCC optimisations. They detail their log usage for most of the commands. For anywhere where data is moved or changed, sql uses the transaction log.
You...
August 18, 2004 at 6:14 pm
Shadow copy lets you backup those nasty .dll files and other files that are locked. Somewhat important for system state backups.
But obviously grabbing a sql database file off the disk...
August 18, 2004 at 6:06 pm
Jeff is right TEXT is a whole different ball game. It operates in a similar way to the BINARY and IMAGE types, tagging bunches of separate data pages together to...
August 18, 2004 at 2:38 am
hahah. most DBA's have spare time while waiting for the server to catch up with them
DBA's do less programming, more planning, monitoring, optimising...
August 18, 2004 at 2:32 am
Read up on Permissions in SQL Books Online.
You'll need to take away the permissions of users (which can be set in the server, or database, or object).
DEFINATELY do...
August 18, 2004 at 2:20 am
Nope.
As Guy said, EM will actually create a new table with the IDENTITY setting, copy all your data into the new table, delete the old one, and rename the...
August 18, 2004 at 2:16 am
Viewing 15 posts - 211 through 225 (of 323 total)