Viewing 15 posts - 1 through 15 (of 26 total)
Great. That's what I am looking for.
Regards,
Daniel
June 12, 2009 at 3:43 am
Thank you for your hints.
I also think now that it is not good to shrink the transcation log to 1MB.
Although the recovery mode is set to simple (so only the...
April 30, 2009 at 7:24 am
Why not?
I only want to use some databases in a testing enviroment.
April 24, 2009 at 7:22 am
Thanks for your help.
Normally I should know this.
My idea is to change the recovery model and to shrink the transaction protocol with a script.
The change the current database.
See as the...
April 24, 2009 at 12:30 am
I think I make it with dynamical sql.
Last questions:
- Is there no workaround to have two batches in one if-condition?
if (level = 1)
begin
alter table tblCustAttrDefValue add strHelpValue...
January 30, 2009 at 1:21 am
This solution is really messy.
At first I thought it works.
But when I when a make the following "SELECT", the column "strHelpValue" is missing:
select *
from tblCustAttrDefValue
Any other ideas?
Has anybody experience with...
January 29, 2009 at 2:56 am
Unfortunately this doesn't work:
Here the code:
if (select nDbSubVersion from tblVersion) = 2
begin
alter table tblCustAttrDefValue add strHelpValue varchar(200) null
end
go
if (select nDbSubVersion from tblVersion) = 2
begin
update...
January 29, 2009 at 2:27 am
The second possibility I do not understand:
It's that, or break the batch using GO
Can you describe it?
January 29, 2009 at 2:15 am
What do you mean by dynamic SQL?
I hope not "EXEC".
January 29, 2009 at 2:08 am
Yes I post a similar case a few months back.
My problem is the following:
I want to add column and then modify the column in a if-clause.
Theoretical it should be:
if (level...
January 29, 2009 at 2:05 am
You are right, it's a syntax error at compile time.
Is there any chance to suppress this syntax error?
Do you have a workaround?
January 29, 2009 at 1:36 am
My problem is that even though the condition is false, the sql compiler throws an error for the statement in the condition.
January 29, 2009 at 12:34 am
Viewing 15 posts - 1 through 15 (of 26 total)