Viewing 15 posts - 9,961 through 9,975 (of 18,926 total)
I see your concern, but what good is the list of procedures if they can't gain access to them? I'd like to hear your thaughts on the process as a...
April 18, 2007 at 10:15 am
SELECT CASE WHEN [Module] = 'Soarian Clinicals-Classroom Instruction' then [Module]
ELSE rtrim([Module])+'(Online Module)'
END as ModuleName
FROM [Module Name List SClinicals]
April 18, 2007 at 10:09 am
CREATE TRIGGER TR_Audit_TblName_A_U ON dbo.TblName
FOR UPDATE
AS
SET NOCOUNT ON
INSERT INTO dbo.AuditTbl (ColsList)
Select ColsList FROM dbo.Inserted
This would send the new data inserted in the table. Change Inserted to Deleted to have the...
April 18, 2007 at 10:07 am
Please post your findings so that other members can benefit from you work.
April 18, 2007 at 10:04 am
I don't know what the requirements are but I know for sure that this is false representation. The brain is way too big in that picture
April 18, 2007 at 8:29 am
Do you know that a timestamp column is NOT A DATE equivalent in any way?
CREATE TABLE #x (a int not null primary key clustered)
Insert into #x (a) values (1)
SELECT *...
April 18, 2007 at 8:23 am
That's because there's a default value in the column.
Or in insert trigger that update the rows.
Or a default value has been directly coded within the insert statement.
I must add that...
April 18, 2007 at 8:20 am
Have you tried something like this?
declare @date as varchar(255)
set @date = convert(varchar,getdate(),112)
declare @Path as varchar(255)
set @Path = 'G:\MS SQL\Backups\mydatabase\mydatabase_backup_'+@date+'.bak'
EXEC sp_addumpdevice 'disk', 'mydatabasebackup', @Path
BACKUP DATABASE mydatabase TO mydatabasebackup
April 18, 2007 at 8:18 am
Another solution would be to use a job to start the whole process.
The first job step would be in VBS to open the file using the FileSystemObject. Add a line,...
April 17, 2007 at 8:09 am
Are you planning on changing job soon??
Anyhow I think that the skillset you posses is far more important than the job title (to a degree). Also if you feel you...
April 17, 2007 at 8:04 am
No, if anything goes wrong, the whole transaction rolls back and that's the way it should be.
I suggest maybe having a job run every X minutes to handle that update. ...
April 17, 2007 at 8:01 am
You just can't do that (without going 1000 loops and workarounds which I would strongly advise against). Why aren't you using the identity property of sql server? This is by...
April 16, 2007 at 8:15 am
What if you backup / restore the rogue db to another server or even to the same server under a different name.
April 13, 2007 at 2:34 pm
What is the collation of the server / database / column in the table?
April 13, 2007 at 2:25 pm
Just to make sure I understand correctly : You want to remove the data in a particular column but without deleting the entire row and without dropping the column?
If those...
April 13, 2007 at 7:59 am
Viewing 15 posts - 9,961 through 9,975 (of 18,926 total)