Forum Replies Created

Viewing 15 posts - 9,991 through 10,005 (of 13,460 total)

  • RE: Encrypt connection to SQL Server 2005

    river1 (2/8/2010)


    Thank you very mutch.

    A direct question is: will data not be seen if i use profiler? or a sniffer? after encrypting?

    for profiler, only users who have ALTER TRACE permission...

    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: Encrypt connection to SQL Server 2005

    yeah, encryption can be confusing; I didn't know SSL was an added layer; so I learned something today; (as usual here on SSC) Thanks Eduard!

    river by changing that flag...

    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: Encrypt connection to SQL Server 2005

    SSL is an https connection for a web page, using port 443 by default. in theory, i can go to your web page via https, but your web server goes...

    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: trigger halt down software

    1.your trigger doesn't have SET NOCOUNT ON at the beginning, which is good practice and may avert other issues receiving "1 row(s) affected" and thinking it's a result set.

    2.you are...

    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: Connection String Problem

    it sounds like you are developing in C# becasue of the error on the escape;, i think you need to use double slash to escape the string in that case:

    Data...

    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: Encrypt connection to SQL Server 2005

    river1 (2/6/2010)


    But there is no problem with encrypting a connection because it uses SQL Server authentication instead of windowns authentication, correct?

    Or i can only encrypt connection if they use windows...

    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: Connection String Problem

    just wrap the servername in brackets, the same way you do with TSQL reserved words:

    Data Source=SQLSRVDEVNSMAIN;Database=pubs;Trusted_Connection=True;";

    string connectionString =

    "Data Source=[HENRY-PC\SQLSRVDEVNSMAIN];Database=pubs;Trusted_Connection=True;";

    you could also switch to an ip\instance, or an ip port, which...

    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: Showing Time in [h]:mm:ss format

    i think something like this might help you build what you are after?:

    results:

    Years Months Days ...

    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: Encrypt connection to SQL Server 2005

    as i understand it, you should do this in two places;

    you can make your server require encryption from everything connecting,a dnt he native client will handle it automatically:

    SQL Server Configuration...

    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: NESTED Statement only compiles part of first CASE

    maybe something like this will help you model your calculation?

    SELECT

    SUM(

    CASE WHEN property = 'prop1' THEN 1 ELSE 0 END

    + CASE WHEN property =...

    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: how to write a query which must identify a particular word from one table and another table

    i think this is what you are after;

    the "description" field must be like the NAME, and the NAME must be like your search parameter:

    so the "description" must be like '%WASH...

    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: NESTED Statement only compiles part of first CASE

    Tammy from what you describe, the CASE statement is working as it is supposed to, but not the way you want it to.

    a case statement executes the first TRUE condition...

    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: Help with Loop

    ha; Ramesh and i came up with identical solutions;

    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: Help with Loop

    jordan i think this example might help;

    i'm using the power of set based operations and the row_nubmer() function to generate the needed values;

    check out the SELECT statem3ent...if you run it...

    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 script assistance

    here you go;

    this is using the FOR XML trick to concat your values together:

    create table #temp

    (

    offerid int

    , Catg varchar(100)

    )

    insert into #temp( offerid, Catg )

    select 1, 'health' union all

    select 1, 'fitness'...

    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 - 9,991 through 10,005 (of 13,460 total)