Viewing 15 posts - 4,981 through 4,995 (of 13,465 total)
looks pretty good; if first and last name are required, i think they need to be NOT NULL, right?
Create Table Customers
(FirstName VarChar(20) NOT NULL ,
LastName VarChar(20)NOT NULL,
CustomerSSN SSN Primary...
August 9, 2012 at 2:11 pm
you cannot ALTER a table and then also use the column in the same group of commands ; the column has to be added, and then a GO statmenet...
August 9, 2012 at 2:02 pm
there is no equivilent; each SQL statements kind of assumed to stand alone, and would need everything it needs inline with the command itself, sorry.
August 9, 2012 at 1:51 pm
run this query, and review the err.description:
they probably all have the same error message..it might say 5.7.1 relaying prohibited, or 551 mailserver not found, etc.
post one of those error messages...
August 9, 2012 at 1:48 pm
I thought sysindexes is deprecated.
and that made sys.sysindexes the replacement?
August 9, 2012 at 1:46 pm
rebuilding an index only builds the statistics on the columns included in the index; it doesn't do the whole table. so if the statsitics are out of whack for...
August 9, 2012 at 12:12 pm
there is a drop down menu in the screen shot...right now it says "Index"
if you chose the other option in the list "Unique Key" it creates it as a constriant,...
August 9, 2012 at 11:40 am
sqlfriends (8/9/2012)
Thanks, so this is to create a unique index, but not a unique constraint.It seems not GUI way to create unique constraint.
i think it's more of just a naming...
August 9, 2012 at 11:29 am
it's there.
it's an option when you go to create or edit an index

August 9, 2012 at 11:19 am
Sqlism (8/9/2012)
Great! This really helped me a lot lot lot.Thank you:)
Excellent! Thank you for the feedback!
I like trying to provide examples, it's much easier to help folks visualize and...
August 9, 2012 at 10:07 am
As Far As I Know, if you lost the passPhrase for creating the certificate, you would also lose the ability to decrypt anything that was encrypted with it.
if someone...
August 9, 2012 at 9:58 am
it's LinkedServerName.DatabaseName.User/SchemaName.ObjectName.
you want two periods together to hide databasename for Oracle; your example has 3 periods.
'EDWGEARS..ORAUSER.VW_FRED_AADT_HIST'
August 9, 2012 at 9:37 am
username/owner of the table? probably is' like
EDWGEARS..MYORAUSER.VW_FRED_AADT_HIST.
August 9, 2012 at 9:29 am
I think it's a best practice to create your own role that encapsulates just the required permissions.
Then i can assign any number of users to that role, as it's appropriate.
this...
August 9, 2012 at 9:27 am
Viewing 15 posts - 4,981 through 4,995 (of 13,465 total)