Viewing 15 posts - 3,076 through 3,090 (of 13,461 total)
riya_dave (7/23/2013)
i created 2 different script ,i run first thats alter table and add new column
then i am running another that insert and update table
still getting same error
what is the...
July 23, 2013 at 9:15 am
well, you are mixing up DML and DDL, and they should be completely seperate steps...first alter the tables if needed, then do your transaction.
something like this, and note i explicitly...
July 23, 2013 at 8:55 am
well, i don't have a products table, to alter, and it was not included in your sample script, so here's mny best guesses:
you don't have GO statements after your...
July 23, 2013 at 8:01 am
TYPE is a keyword, so you'll need to put it in brackets:
ALTER TABLE product
ALTER COLUMN [TYPE] VARCHAR(25) NOT NULL
July 23, 2013 at 7:52 am
all of the DotNet versions install side by side in the %windir%\Microsoft.NET folders, they never overwrite each hooter, so you won't have an issue.
you'll just end up seeing a...
July 23, 2013 at 6:27 am
via TSQL, the best answer is no, you cannot install a new SQL instance via TSQL.
it has to be done from the operating system side, with the example parameters supplied...
July 23, 2013 at 5:19 am
i think i'd export the tables out to a different database, restore, and then delete and insert back into the original table...but if you've got foreign keys involved, that would...
July 23, 2013 at 5:08 am
i would guess it's due to the joins:
bd.SORTUSER_EMPID = ed.[Employee ID]
i think maybe one column is an integer or numeric column, and the other is varchar?
due to data type precedence,...
July 22, 2013 at 12:15 pm
my concerns mirror steve's;
If this was a suite of web pages i dropped into a virtual folder on my own IIS server, yeah it would probably be a good idea.
If...
July 22, 2013 at 9:41 am
for me, it doesn't matter if it's entity framework or an ADO connection or anything else. it doesn't make a real difference in what it's going to do.
in our shop,...
July 22, 2013 at 6:30 am
srimkumarp-720356 (7/22/2013)
We are using only Server level audit trigger.
For example :- I created the login on one server and later drop the same login. Now I want...
July 22, 2013 at 6:19 am
srimkumarp-720356 (7/22/2013)
I want to capturethe Audit Server Security Events , like if any one doing Create / Alter / Drop logins on server level ,...
July 22, 2013 at 5:30 am
truncate is not granular like that; it's inherent in db_owner and db_ddladmin, i believe.
just make sure noone has those rights.
what difference is there if the user is allowed to delete...
July 19, 2013 at 10:27 am
Guras (7/19/2013)
July 19, 2013 at 10:19 am
fraggle i just tested this myself;
i was hoping i could alter a user and remove their mapping to the existing login, but i found i had to crop and recreate...
July 18, 2013 at 12:25 pm
Viewing 15 posts - 3,076 through 3,090 (of 13,461 total)