Viewing 15 posts - 5,686 through 5,700 (of 13,468 total)
pragyan.banerjee (3/29/2012)
I have all the credentials handy but still I couldn't connect to a database from enterprise manager,
its giving the reason :"Sql server not exist or access denied".
My question...
March 29, 2012 at 7:10 am
i'm already leaning towards a not null constraint violation; every column in the table is defined as not null, so if the entity framework creates a command with a null...
March 28, 2012 at 4:26 pm
how about adding another server side trace that captures all errors and warnings , and limit it to just the database in question.
http://support.microsoft.com/kb/199037
then you might see that some basic error,...
March 28, 2012 at 12:34 pm
ok two questiosn for you:
you are getting TOP 10 from each database with no ORDER BY...were you trying to get slow running queries? ie the ones with a long elapsed...
March 28, 2012 at 11:52 am
another issue to consider: is there a trigger on the table in quesiton? if the trigger fails, the insert fails, and the data "disappears" like you seem to be identifying.
could...
March 28, 2012 at 11:32 am
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...
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.
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...
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...
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.
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...
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,
...
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,...
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...
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...
March 28, 2012 at 7:17 am
Viewing 15 posts - 5,686 through 5,700 (of 13,468 total)