Viewing 15 posts - 346 through 360 (of 1,065 total)
If I understand your requirements correctly, then you have your constraints the wrong way round. You say
How can I implement both relations, if SQL Server don´t allow me to do...
October 22, 2009 at 4:10 am
You're hired Gus... when can you start?:-D
October 21, 2009 at 12:39 pm
Why did you rule out Log Shipping?
Replication isn't really the tool to use here... even with Merge replication, you still have the concept of a Publisher, Distributor and a Subscriber....
October 21, 2009 at 5:44 am
GSquared (10/20/2009)
And you might be shocked by how many people who call themselves DBAs or who even have jobs as DBAs can't answer that question. I've met dozens.
On that...
October 20, 2009 at 3:46 pm
I think Silverfox and I are in agreement (maybe because we're both in the UK)... I have never worked at a client were there has been such a rigid distinction...
October 20, 2009 at 11:41 am
Nope, putting the database into STANDBY won't break the log chain... you can switch between the 2 whenever you want.
October 20, 2009 at 11:20 am
GSquared (10/20/2009)
October 20, 2009 at 8:58 am
Just a quick observation... voluntaryprojectid and commercialprojectid are superfluous... projectid should be the primary key (and foreign key) for your specialisation tables.
October 20, 2009 at 6:34 am
Just restore the transaction logs "WITH STANDBY" instead of "WITH NORECOVERY" and you will be able to query the secondary database.
Restores take longer using WITH STANDBY, as SQL Server has...
October 20, 2009 at 1:31 am
Tut, tut Paul... you're not advocating using undocumented features in production code are you? 😉
The %%PhysLoc%% doesn't really fit the bill here, as the 6th row to be inserted doesn't...
October 16, 2009 at 5:16 am
There are also other differences, which may affect the plan:-
@Address is nvarchar(23) in one, but varchar(200) in the other
@ZipCode is nvarchar(5) in one, but varchar(10) in the other
one query refers...
October 16, 2009 at 2:16 am
Try:
create procedure p2
with execute as 'my_login'
as
begin
select 1
end
October 13, 2009 at 8:09 am
Are you certain that's the SQL being executed when you get the error?
The SQL you posted doesn't have a syntax error, but the error you posted looks a bit like...
October 13, 2009 at 2:30 am
You've obviously created a table with some lengthy VARCHAR columns.
As the message tells you, the maximum size of a row is 8060 bytes.
Although the table has been created, and you...
October 12, 2009 at 6:04 am
RESTORE DATABASE <dbname>
WITH STANDBY = '<undofile name>'
October 12, 2009 at 6:02 am
Viewing 15 posts - 346 through 360 (of 1,065 total)