Forum Replies Created

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

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

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • 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

    ...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

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

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

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

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

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

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

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

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

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

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

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

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

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

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

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

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

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

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

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

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

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

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Keeping security on a database restore?

    the issue is that the user [ssrsuser] on one server does not have the exact same sid as the same named user [ssrsuser] on the other server where you restore.

    if...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • RE: Couldnot connect ot SQL Server using Alias

    a connection without a port assumes the default port of 1433, OR that a SQL Browser service exists on port 1434, which in turn redirects the connection to the "right"...

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

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