Viewing 15 posts - 181 through 195 (of 238 total)
I am afraid you have to accept the third way and live with it.
Another approach is to find a better design solution that does not require passing long XML...
January 7, 2003 at 2:22 pm
You are right in the way you decided to resolve the issue. Adding a day to the @date_to is the best solution I think. Of course, it is not a...
January 7, 2003 at 2:12 pm
You can also put a DOS command 'rename' or 'copy' as the last step of your job and rename/copy the output file using the date/time as you wish.
Edited by -...
January 2, 2003 at 5:34 pm
Unfortunately, you have to create a standard login in SQL Server to connect to ERwin, There is no way around as far as I know. A user name with read-only...
January 2, 2003 at 5:10 pm
Use statement
ALTER TABLE tblMMStudentTestScores
DROP CONSTRAINT UN_tblMMStudentTestScores
or
ALTER TABLE tblMMStudentTestScores
ALTER COLUMN ...
- something like that to get rid of the constraint. It should help.
Edited by - mromm on 01/02/2003 5:04:25 PM
January 2, 2003 at 5:03 pm
Go to Steps tab of the job, then double click on a step, click on Advanced tab, find a box called "Transact-SQL Script (TSQL) command Options" and Output File entry...
January 2, 2003 at 4:52 pm
I think indexes won't help here. IS NOT NULL (or <>) condition has to go through every row anyway. This is different from IS NULL (or =). Also, once you...
January 2, 2003 at 11:34 am
You cannot update a value in the inserted table. You have to do an UPDATE of the same row based on its primary key from the trigger. Or, better yet,...
December 30, 2002 at 2:09 pm
Of course.
Instead of executing a custom XP from a trigger, insert a record into a separate 'log activity' table. Run a SQL job on the server that checks that table...
December 30, 2002 at 1:56 pm
What do you mean? What value of a parameter?
If you are talking about order of parameters, then there is a column called Param_order in the SELECT statement I provided. It...
December 30, 2002 at 1:48 pm
Test both ways if you can and let us know.
I think your approach should also depend on whether you are going to INSERT this data into DB and than...
December 30, 2002 at 12:55 pm
UPDATE c
SET location = i.Location,
Region_code = i.Region_code,
Bedroom = i.Bedroom,
Area = i.Area
FROM COAManyflats c
JOIN inserted i
ON c.Flatsno =...
December 30, 2002 at 11:11 am
Please, never ever put anything in trigger with exception of the simplest data integrity checking or auditing code. Triggers are not a messaging system. They are table constraints in a...
December 30, 2002 at 11:03 am
So, what is the exact question (in English) your query needs to answer?
Edited by - mromm on 12/27/2002 2:24:25 PM
December 27, 2002 at 2:24 pm
Just run this and enjoy:
select'Procedure Name'= o.name,
'Parameter_name'= c.name,
'Type'= type_name(c.xusertype),
'Length'= c.length,
'Prec'= casewhen type_name(c.xtype) = 'uniqueidentifier' then c.xprec
else OdbcPrec(c.xtype, c.length, c.xprec) end,
'Scale'= OdbcScale(c.xtype, c.xscale),
'Param_order'= c.colid,
'Collation'= c.collation
fromsyscolumns c
joinsysobjects o
ono.type = 'P'
ando.id = c.id
order...
December 27, 2002 at 11:40 am
Viewing 15 posts - 181 through 195 (of 238 total)