Viewing 15 posts - 9,256 through 9,270 (of 13,469 total)
why back it up? at the moment of creation it is an empty copy of model. it would be better to simply schedule a script to backup every db at...
June 12, 2010 at 1:33 pm
that's not the line raising the error; paste the whole trigger.
the error line is going to say something like this:
WHERE SomeVariable = (Select SomeVariable from someTable)
the select in parenthesis is...
June 11, 2010 at 2:49 pm
this is just a WAG to get the max's without the temp table and double join;
does this return the desired results? how does it perform?
SELECT
s1.Recordid,
s1.SubrecordID,
...
June 11, 2010 at 12:13 pm
well, without the execution plan that Wayne requested, we can only offer the obvious advice:
the problem is probably the WHERE statement:
WHERE (s1.Substantiation_Indicator = 'N'
OR s1.Substantiation_Sequence_Letter_Code =...
June 11, 2010 at 11:33 am
tcshekar (6/11/2010)
Got this error...on execution.Msg 280, Level 16, State 0, Line 1
Only text, ntext, and image columns are valid with the TEXTPTR function.
sdounds like you are trying to use this...
June 11, 2010 at 11:03 am
Stumpy D (6/11/2010)[hrSo other than indexing restrictions, there is no difference if I declare a varchar(8000) and a varchar(10) to store a 10 character string?
Seems odd as why even bother...
June 11, 2010 at 9:20 am
I don't think sql server does not have access to any printer objects; Because of that, I think what you want to do is use/create a program that reads...
June 11, 2010 at 8:40 am
i think the biggest impact on varchar sizes has to do with the ability to index the column.
if the column is bigger than 900 bytes, the index rasies an error,...
June 11, 2010 at 8:00 am
take a look at the thread below; another poster had the exact same problem, except he had semicolons at the beginning at or end;
there are some fine solutions in that...
June 11, 2010 at 7:23 am
what i was getting at is the procedure you menthioned, dbo.xpPutPalletOnQueue
if the procedure features EXECUTE AS in it, It runs with different priviledges, and your application role wouldn't need...
June 11, 2010 at 6:44 am
by normal scripts to fix this problem do you mean the EXECUTE AS clause?
I'm not sure what you mean; you should be able to create a procedure with the EXECUTE...
June 11, 2010 at 5:50 am
here's a question looking at your issue sideways:
if you are running a script to create a database and all it's objects, why not just include a backup of the...
June 11, 2010 at 5:43 am
No, MS sql server is locked into the MS windows operating systems, with no plans for multi-platform.
so while the SQL Engine itself must run in a windows environment, you...
June 11, 2010 at 5:39 am
while there is an event for CREATE_DATABASE you can use for a server trigger, stewartc's questions are right on track....it depends on what you want to do;
he hinted at auto-creating...
June 11, 2010 at 5:36 am
SQL validations typically are CONSTRAINTs, whether a UNIQUE constraint, or a CHECK constraint. you can also use triggers or even functions as a CHECK constraint...so the tools are there...but...
As...
June 11, 2010 at 5:25 am
Viewing 15 posts - 9,256 through 9,270 (of 13,469 total)