Viewing 15 posts - 4,636 through 4,650 (of 7,187 total)
I could give you a step-by-step guide, but you should be able to use a search engine to find something like that yourself. Is there a particular bit you...
March 7, 2012 at 5:07 am
Please will you post the statement you're trying to run?
Thanks
John
March 7, 2012 at 5:05 am
Use the task scheduler in Windows to run the command through sqlcmd.
John
March 7, 2012 at 4:50 am
Not quite. FK_Companies_Users is the name of the foreign key constraint, so you need to change that - you can't have two objects with the same name. [>Modified...
March 7, 2012 at 4:45 am
It worked when I tried it, but then I'm not using SQL Server Express. It's very fiddly and prone to error if you try to do stuff like this...
March 7, 2012 at 4:33 am
a.penasco (3/7/2012)
March 7, 2012 at 4:04 am
Please will you post DDL for the two tables, as well as (or including) the DDL for the foreign key constraints?
Thanks
John
March 7, 2012 at 3:26 am
Also, I don't think anyone's mentioned that you can have many unique indexes on a table, but only one primary key constraint.
John
March 6, 2012 at 5:50 am
Most people here will be loath to do your homework for you if you don't show any evidence of having attempted to do so yourself. I find that search...
March 6, 2012 at 4:48 am
I can think of two. Is this for homework, or an interview?
John
March 6, 2012 at 4:42 am
Ravi
I take it function1 is a function? sp_recompile only acts on stored procedures and triggers.
John
March 6, 2012 at 4:23 am
Jim
It appears it's the Check Database Integrity task that's failing. Can you show us the error message for that, please?
John
March 5, 2012 at 7:54 am
Also, for the failure to open the specific database, is the database you're moving the default database for the user you're connecting as? You need to change this to...
March 4, 2012 at 2:50 am
Also, don't back up to the same disks that your databases are on, if you can avoid it. If you lose the disk, you've lost the backup as well...
March 2, 2012 at 8:54 am
Lowell, I think you're confusing bits with bytes.
Chris, is Byte 0 the eight most significant (highest value) bits, or the eight least significant? I think you need an "OR"...
March 2, 2012 at 6:28 am
Viewing 15 posts - 4,636 through 4,650 (of 7,187 total)