Viewing 15 posts - 5,686 through 5,700 (of 13,460 total)
it's a scripting option:
if you go to tools options in SSMS, one of the selections available is "Include collation"

change it, you might have to reirun in a new window, and...
Lowell
March 28, 2012 at 10:40 am
CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) as qt
if the database you are executing the query from is not compatibility 9 or above, i think that will fail.
Lowell
March 28, 2012 at 10:20 am
ugh, i hate it when people start adding permissions to public.
this script will generate the REVOKE commands for any permissions granted to PUBLIC to specific objects ;
from there you can...
Lowell
March 28, 2012 at 9:40 am
ok i see that; case sensitive collations, and accent insensitive colaltions will see Ä as matching both 'a' and 'A' for example.
i fiddled with it a little, not much...
Lowell
March 28, 2012 at 9:34 am
clearly you've modified what i posted in order to get the results you are showing. show us the code YOU created.
we can find the issues there.
Lowell
March 28, 2012 at 9:00 am
the CREATE LOGIN process already does that.
for example if you try this command:
CREATE LOGIN [fakedomain\fakeuser] FROM WINDOWS WITH DEFAULT_DATABASE=[master]
you get this error:
Msg 15401, Level 16, State 1, Line 1
Windows NT...
Lowell
March 28, 2012 at 8:43 am
did you try my exmaple? it worked perfectly for me:
/*
DescriptionFoundChar
Nº20º
*/
WITH TBProduct (Description)
AS
(
SELECT 'Nº20' UNION ALL
SELECT 'No Special Characters'
)
SELECT Description,
...
Lowell
March 28, 2012 at 8:34 am
Anders Pedersen (3/28/2012)
Lowell (3/28/2012)
also, a view can use or call a function, so if the proc can be converted to a function, that is another option.
Performance however becomes, uhm, bad,...
Lowell
March 28, 2012 at 8:11 am
sureshrajan (3/28/2012)
how to validate a windows login in domain through SQL queries
not sure what you mean...do you want to test if mydomain\sureshrajan has a login or has access to a...
Lowell
March 28, 2012 at 7:22 am
here's one way to do it;
the typical chars you are looking for are highascii between 160 and 255;
here i'm just using a row_number() function generate a table of numbers so...
Lowell
March 28, 2012 at 7:17 am
i believe an "autologin" is nothing more than a shortcut that is passing the required parameters.
so if you want it to auto login, you add the parameters, and if you...
Lowell
March 28, 2012 at 7:02 am
also, a view can use or call a function, so if the proc can be converted to a function, that is another option.
Lowell
March 28, 2012 at 7:00 am
GuruGPrasad (3/28/2012)
Is it not possible to create trigger for ntext,text and image data type columns?Regards
Guru
you cannot manipulate any column that is ntext,text or image from the INSERTED or DELETED...
Lowell
March 28, 2012 at 6:55 am
depending on what the procedure was doing, you might be able duplicate the logic from the proc in a view by using a CTE or two, but again it really...
Lowell
March 28, 2012 at 6:49 am
Bob Cullen-434885 (3/28/2012)
Lowell
March 28, 2012 at 5:59 am
Viewing 15 posts - 5,686 through 5,700 (of 13,460 total)