Forum Replies Created

Viewing 15 posts - 9,376 through 9,390 (of 13,460 total)

  • RE: Logon Trigger Not Acting As Expected

    here's an article that does explains what we were talking about: total lockout due to a trigger:

    http://www.pythian.com/news/1310/sql-server-troubleshooting-logon-triggers/

    seems if you use the dedicated admin connection(DAC), you are also in without 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: Logon Trigger Not Acting As Expected

    forget about the reinstall...just look at your rule: no ssms.....that's not preventing ALL connections, so you could change your application, which IS allowed to connect , but i'd do 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: Logon Trigger Not Acting As Expected

    howard i just tested this with a few different logons, and it seems to work; while i did not get the error message from the raiseerror stuff, it did prevent...

    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: rewriting the code in SUb queries

    I agree with Lutz;

    changing it to say, an inner join doesn't make that much of a differenc:

    SELECT [MODE],[NUMBER],[DESCRIPTION],[UNITSIZE]

    FROM [database1].[DBO].[table1]

    EXCEPT

    SELECT [_ZONE],[MODE],[NUMBER],[DESCRIPTION]

    FROM [database2].[DBO].[table2] t1

    INNER JOIN( SELECT MAX (ENTRYDATE) AS ENTRYDATE FROM...

    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 convert a string into table

    Kris there is a difference between a string which happens to have Carriage Returns, and splitting a string into rows;

    search the script contributions for "Split", for a huge collection of...

    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: Service accounts in installing sql server 2005

    Fig your new laptop is probably running Windows 7 or Vista, right?

    thos operating systems changed, compared to XP; they no longer make your login an sql administrator when you...

    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, phantom job title?

    ahh so true; the dba title is one you can apparently take at will; we see way to many "dba" titles around the neck of posters asking questions from Chapter...

    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: SQLSERVER Architecture

    Alone (5/24/2010)


    Please let me know SQL SERVER 2005 architecture overview and Memory Architecture...

    I don't think anyone can post anything that would be more understandable that what exists in Books online;...

    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: Limiting resultset to match column with only certain values

    how about selecting all the non-5.10.15 values so they can be eliminated?

    WHERE vehicle_types IN (05,10,15)

    AND vehicle_types NOT IN (SELECT vehicle_types FROM SOMETABLE WHERE vehicle_types NOT IN (05,10,15))?

    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: Limiting resultset to match column with only certain values

    WHERE vehicle_types IN (05,10,15)

    AND vehicle_types NOT IN (20)?

    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 manipulate number segments

    excellent job on giving us all the stuff we need to help with!

    in this case, i thinkyou want to use the BETWEEN command in your where statement, that lets you...

    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: Insert Into Statement

    there are two ways;

    you can not refer to the column at all, or you need to use the NULL keyword explicitly:

    --define the columns being inserted, skip #4

    INSERT INTO TableName ...

    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: Looping through files in FTP Site folder is possible or not?

    i think i understood you correctly...say there is a file Archive.zip on your ftp site, you wanted to know the names of the files / contents INSIDE Archive.zip before having...

    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: Looping through files in FTP Site folder is possible or not?

    nope, there is no way to read the contents of a zip file unless it exists locally; so if the file exists on the FTP site, you have to download...

    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 Function Issue.Getting Strange Result

    this is normal; the execution plan is cached;

    when you create a proc/function/view, and it features SELECT * FROM, behind the scenes the actual query is stored as SELECT Col1,Col2,Col3.... for...

    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,376 through 9,390 (of 13,460 total)