Forum Replies Created

Viewing 15 posts - 1,981 through 1,995 (of 13,469 total)

  • RE: EXECUTE SP Permissions for child database

    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...

  • RE: SQL 2012 - SSMS not connect after change port 1433

    SQL Galaxy (2/19/2015)


    Thanks Lowell, It is working now..

    management also not recommend to start the browser service. so in this case need to mention new port number in ODBC connection or...

  • RE: SQL 2012 - SSMS not connect after change port 1433

    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,...

  • RE: Error: 18056, Severity: 20, State: 46.

    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

    ...

  • RE: SQL server table encryption

    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....

  • RE: name search idea requested

    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...

  • RE: Getting Row numbers for each people group

    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...

  • RE: SQL server table encryption

    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...

  • RE: Schema binding across multiple databases

    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...

  • RE: Compare dates between 2 different rows and columns

    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...

  • RE: DBA vs. Developer Question / Issue

    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...

  • RE: Query to combine two tables based a third table!!

    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...

  • RE: SQL LOOP - Help

    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...

  • RE: Linking a Parameter to multiple values

    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...

  • RE: Keeping security on a database restore?

    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...

Viewing 15 posts - 1,981 through 1,995 (of 13,469 total)