Viewing 15 posts - 4,846 through 4,860 (of 7,191 total)
Cluster Admin and Configuration Manager both work for starting and stopping services, and as far as I know you can use SSMS as well. It's the Services applet that...
December 16, 2011 at 8:24 am
Yes. Make sure that "-" appears in cnsmr_accnt.cnsmr_accnt_crdtr_rfrnc_id_txt at position 2 or later. Read the Books Online pages for CHARINDEX and SUBSTRING so that you understand how they...
December 16, 2011 at 7:43 am
I'm guessing that [font="Courier New"]charindex('-',cnsmr_accnt.cnsmr_accnt_crdtr_rfrnc_id_txt)-1[/font] evaluates to 0 or less.
John
December 16, 2011 at 7:10 am
Actually, yes, my caveat doesn't apply in this instance, since all we're doing is applying an existence test. It's where you're taking a value from one table to update...
December 16, 2011 at 6:26 am
Beware - this will bite you if any row you are updating (call it table1) has more than one match in the table you are updating from (table2). You...
December 16, 2011 at 4:22 am
Marco V (12/16/2011)
anyways his typo in the alter loginALTER USER ram WITH LOGIN = ram
Yes indeed. It was an error in the code that I posted, but I...
December 16, 2011 at 4:11 am
Marco V (12/16/2011)
if you now check the properties of the user on the database it will have his login mapped now
What, even though there were 0 users fixed? My...
December 16, 2011 at 3:59 am
EXEC sp_change_users_login 'Auto_Fix', 'user'
That syntax is deprecated and you should avoid using it where possible.
i tries this
ALTER USER [ram] WITH LOGIN [ram]
but it giving following error :-
Msg 102, Level...
December 16, 2011 at 3:43 am
You need to go into each database and use the ALTER USER command on each user that is affected, in order to associate it with the login on the new...
December 16, 2011 at 3:18 am
I don't think you can use that syntax. You could try sp_executesql with an output parameter.
John
December 15, 2011 at 9:21 am
Lowell (12/15/2011)
the WHERE statement looks correct to me:
1. it's checking one specific table
2. finding only the columns that are lower cased
3. findinf only...
December 15, 2011 at 8:38 am
It needs to come immediately after the predicate to which you want it to apply. Try swapping the order of the AND lines.
John
December 15, 2011 at 8:30 am
Use the COLLATE clause, like Lowell showed you.
John
December 15, 2011 at 8:21 am
I'm guessing your database has a case-sensitive collation. Look at the name of the table you created, and look at the name of the table you're trying to insert...
December 15, 2011 at 7:18 am
Eric
How did you create the table?
John
December 15, 2011 at 7:12 am
Viewing 15 posts - 4,846 through 4,860 (of 7,191 total)