Forum Replies Created

Viewing 15 posts - 6,661 through 6,675 (of 13,460 total)

  • RE: Blowfish Encryption Toolkit on SS 2008 R2

    Error: 17750 is "Could not load the DLL ", you are correct.

    the xp_dlls are in the Binn folder of the correct instance, right? i know you can get that error...

    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: identify applications using sa

    that could be more than one program, written in .net, connecting to your database; it might be the same program from multiple machines; that is what a SQLConnection will call...

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

    you have to join master-files to itself.

    this will work, but if you have any ndf files, the are not taken into account.

    select @@SERVERNAME,

    db_name(main.database_id),

    main.size AS mdfsize,

    logs.size AS logssize,

    main.physical_name AS mdfpath,

    logs.physical_name AS...

    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: DateAdd function returns wrong result

    Jim i think it's because you mixed up the order of the parameters.

    ,dateadd(m,datediff(m,0,dateadd(m,1,getdate())),+3) As Date_3

    the "+3" in the above is a DATE...not the number of days to add. it's actually...

    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: identify applications using sa

    any chance you can change the sa password, and then wait for someone to report which apps are failing?

    yeah i know you can't do that....

    for a similar issue, i used...

    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: Backup DB structure

    it's actually pretty easy; right click on the specific database in Management Studio's Object Explorer.

    select Tasks>>Generate Scripts.

    a script wizard comes up, where you can simply check a checkbox that says...

    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 Functions

    well it depends on the function for the exact parameters allowed, but for exampleit would typically be something like this:

    SELECT dbo.split_string('A String, To Split',',')

    --where the second parameter(the comma)...

    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: Determining if a server is clustered or stand-alone

    colleen i know that via TSQL you can get the serverproperty:

    would that help?

    SELECT 'IsClustered', SERVERPROPERTY('IsClustered')

    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: Synchronizing with Google Calendar?

    there's a post here on SSC that might help, as well as the wiki on icalendar:

    http://en.wikipedia.org/wiki/ICalendar

    http://www.sqlservercentral.com/Forums/Topic403478-149-1.aspx

    i know you send a file as an attachment of *.ics, but i cannot find...

    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: AUDIT_LOGIN_FAILED Trace Event

    that's what i had tested, kind of...

    my scenario was:

    my default database was "PERFECT1000",

    my connection string was "SandBox",

    the failed login returned master for the db_name() finction that i logged.

    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: AUDIT_LOGIN_FAILED Trace Event

    just to confirm: database name does not seem to be available at login.

    i created a login trigger to prevent all logins,and then changed my connection string to explicitly have 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: AUDIT_LOGIN_FAILED Trace Event

    I believe the users default database is only used after a successful connection, and only if they user did not explicitly specify the database in the connection string.

    so i don't...

    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: ODBC - way to limit the list of databases?

    simple CONNECT permissions give the user the ability to query sys.databases, which is where the user gets the ability to see all teh databases, even though they have no rights...

    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: numeric precision and scale question

    when you do math on numerics and decimals, SQL server is free to use the maximum precision unless you declare it ootherwise.

    DECLARE @numerator numeric(8,3)

    DECLARE @denominator numeric(8,3)

    SET @numerator = 3

    SET @denominator...

    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 access c:\Program files\..... in master..xp_cmdshell in T-sql

    here's what i use, just retested the syntax:

    --http://www.7-zip.org/download.html

    --http://downloads.sourceforge.net/sevenzip/7za920.zip

    DECLARE @results TABLE(results varchar(255))

    declare @command varchar(2000)

    --zip one file

    SET @command =

    '"C:\DataFiles\7zip_CommandLine_7za465\' --path to 7za command line utility note 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!

Viewing 15 posts - 6,661 through 6,675 (of 13,460 total)