Viewing 15 posts - 76 through 90 (of 428 total)
to be more clear, it should work when you have it printing this instead of what you have now (notice the extra single quotes around TIN and in other places):
execute...
May 7, 2008 at 5:58 pm
jan michael woo cerna (5/7/2008)
I have problems in concatenating a sql statement using EXECUTE and Update.
Here's my code:
execute("declare @lcdbname char(11), @lclanguage char(2), @lccurrdb char(11) " +
"select @lccurrdb = db_name()...
May 7, 2008 at 5:54 pm
You cannot turn off logging. without logging you would not have a proper DBMS.
you can set to a different recovery mode which will minimize logging. simple recovery mode,...
May 7, 2008 at 5:44 pm
you might want use a tinyint for the PK on a states table if it was being referred to from other large tables.
one of the dbs I have to work...
May 1, 2008 at 7:56 am
might as well just say "all clients are evil"
April 28, 2008 at 10:49 pm
I don't think there is a way to discover this from the metadata.
what I was trying to say in my first post is that if it's already set on some...
April 28, 2008 at 12:40 pm
steveb (4/28/2008)
You wont be able to include the table in replication if you only have a unique non-null key, and not a PK.
good point. that's a real difference.
April 28, 2008 at 11:08 am
that only tells you whether a column is an identity column or not. that's not what OP is asking.
April 28, 2008 at 11:05 am
are you sure that the columns being aggregated actually have different values in them? if the values are all the same, then the min/max/avg would also all be the...
April 27, 2008 at 9:04 am
from BOL:
"If a table already has this property set to ON, and a SET IDENTITY_INSERT ON statement is issued for another table, SQL Server 2005 returns an error message that...
April 27, 2008 at 8:33 am
perhaps the query plans for your procs are no longer optimal.
what happens if you recompile all the procs?
April 27, 2008 at 8:23 am
PK does not have to be clustered. you can have a non-clustered pk. if you don't specify when you create it though, sql server defaults to clustered for...
April 27, 2008 at 8:16 am
alorenzini (4/25/2008)
I would really appreciate a example.
there are lots of examples in the article I posted. Did you have a look?
April 25, 2008 at 9:49 am
there are a great many examples of how to do this in this article:
April 25, 2008 at 9:47 am
Viewing 15 posts - 76 through 90 (of 428 total)