Viewing 15 posts - 1,981 through 1,995 (of 13,469 total)
i believe the best solution is to sign the procedure via ADD SIGNATURE . then the certificate permissions are used, instead of the caller, and would perform as expected.
a crappy...
February 19, 2015 at 7:41 am
SQL Galaxy (2/19/2015)
management also not recommend to start the browser service. so in this case need to mention new port number in ODBC connection or...
February 19, 2015 at 6:35 am
in order to connect to an alternate port, you either need the sql browser service running, or explicitly state the port.
the browser service runs on port 1434, and when running,...
February 19, 2015 at 6:16 am
this link seems to imply the default database for a user might be null?
http://www.sqlservercentral.com/Forums/Topic1259661-146-1.aspx
do either of these return any data?
SELECT *
FROM sys.server_principals
WHERE default_database_name IS NULL
...
February 19, 2015 at 6:09 am
the purpose of encryption is to prevent third parties from recovering the raw data, right? so encrypting at the field level is to at least make interception vectors more difficult....
February 19, 2015 at 5:29 am
this is the whole idea of what full text searching is all about. you leverage the ability to full text search specific columns,a nd search agaisnt that specialized index:
there's pretty...
February 18, 2015 at 2:40 pm
assuming Koens assumption on Score,
:
;WITH MyCTE([ClientID],[ClientName],[Date],[Score])
AS
(
SELECT '1','Smith','12/31/2014','25' UNION ALL
SELECT '1','Smith','10/15/2014','45' UNION ALL
SELECT '2','John','08/11/2014','55' UNION ALL
SELECT '2','John','06/18/2014','15' UNION ALL
SELECT '3','Rose','04/15/2014','12' UNION ALL
SELECT '4','Mike','07/23/2014','28' UNION ALL
SELECT '5','Mary','01/5/2014','56' UNION ALL
SELECT '6','Lisa','08/1/2014','54' UNION ALL
SELECT...
February 18, 2015 at 2:13 pm
column level encryption is what you are asking about., not table level. each individual field in a row would be encrypted.
effectively each column that specifically needs to be protected would...
February 18, 2015 at 1:02 pm
you can create a view, but Not with schemabinding.
Tables and user-defined functions must be referenced by two-part names in the view. One-part, three-part, and four-part names are not allowed.
since a...
February 18, 2015 at 9:59 am
my first guess, based on what you posted;
the second query is assuming you want to compare just the "previous" row, whcih would be based on the effectivedate.
SELECT * FROM MyTable...
February 18, 2015 at 9:14 am
best practice is every permanent table has a clustered index. clustered indexes enhance performance.
that doesn't mean you need a unique, primary key, just a clustered index at a minimum.
Leaving a...
February 18, 2015 at 9:07 am
to get one columns a s a comma delimited, one to many, you'll want to use the FOR XML trick.
if you provide actual cREATE TABLe / INSERT INTO code that...
February 18, 2015 at 7:10 am
well something like this gives me the componenents to build a query;
for me, the trailing plus sign does not belong in the data, i'd use FOR XML and use the...
February 18, 2015 at 6:29 am
rcharbonneau1 (2/17/2015)
I apologize but not sure what you mean by having indexes on them. Could you elaborate more? Do you have more info on the UNION topic?
any intelligent answer depends...
February 17, 2015 at 2:37 pm
in that case, after the resotre, you need to fix the orphan; sp_change_users_login is the "old way to do it, which of course still works, but i prefer to try...
February 17, 2015 at 12:01 pm
Viewing 15 posts - 1,981 through 1,995 (of 13,469 total)