Forum Replies Created

Viewing 15 posts - 1,666 through 1,680 (of 13,460 total)

  • RE: Script to search for a string in all DB objects (incl synonyms)

    jellybean (6/29/2015)


    Hi everyone,

    Thanks for all the comments. The following script appears to work for my needs:

    use DBName

    select * from sys.synonyms

    where base_object_name LIKE '%SearchString%'

    Ideally, I would like 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: Using Column encryption with symmetric keys

    well, for me, the question is:

    if you created A certificate, why are you not using it.

    I've always created a certificate, and then used EncryptByCert and DecryptByCert to handle the routines.

    no...

    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: is .jet or .ace is used by ssis for excel file import.

    rajemessage 14195 (6/28/2015)


    hi,

    I want to import excel file in sqlserver , i was informed that we have to pay of drivers like .jet and .ace.

    i...

    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: Script to search for a string in all DB objects (incl synonyms)

    synonym definitions are not stored in sys.sql_modules.

    they are actually in the sys.synonyms table, so whatever search you create needs to search multiple places;

    you might want to include searching msdb.dbo.sysjobsteps, 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!

  • RE: Stored Procedue Schema Rights?

    no, it will not work.

    database ownership changing breaks if the object called(ie your dbo.procedure) references another schema or another database.

    in that case, the caller needs permissions to the objects involved...

    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: Attaching SSAS DAtabase Files on a different server

    an SSAS database backup file is usually saved as a name.abf file.

    it sounds like you are trying to ATTACH an SSAS backup as if it were a Regular...

    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 pull value of query, and not value of variable when query using select top 1 @value from table

    i think i see what you want, and you'll need to use dynamic SQL

    build a complete update command, and execute it inside the cursor.

    declare @isql varchar(max)

    SELECT @isql ='update #temptable

    set...

    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: Remove all permissions SSRS

    you should be able to navigate to the SSRS web site, click "Site Permissions" in the upper right

    from there, fidn the tab that says security, and remove thewindows groups or...

    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: Auto filling a field enabled PDF from access table fields

    that link you posted has a nice code example by bledu; that's the sort of code i'd put in an SSIS package's script task, so you can query SQL, and...

    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: Pull Out Of Office data from exchange server

    grkanth81 (6/25/2015)


    Hi Karthik,

    I know this is very old post of yours.

    But I would like to know - Did you manage to find a solution for your question?

    I am also looking...

    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: Logins & password

    try either procedure i offered, or the one Perry suggested.

    when called with no parameters, it returns all logins.

    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: Logins & password

    there's a Microsoft proc you can download that extracts users and their hashed passwords named sp_help_revlogin;

    you use it for exactly what you are asking copying/transferring existing windows users/groups/SQL users to...

    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 Generate Index Creation Scripts (many indexes)

    there are dozens of scripts in the scripts section here on SSC that do what you are asking;

    take a look and see if one will do the job 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!

  • RE: Whopper of a Deadlock, but why are there so many blank input buffers?

    ok so my analysis of WHY it occurred is as follows, see if you agree with me:

    LinqToSQL wants to try and maintain state of data, so instead of just doing...

    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 remove spaces

    because you are appending fields to each other, if any value is NULL, when sent to a text file, you end up with blank rows.

    i'd start with bulletproofing the query...

    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,666 through 1,680 (of 13,460 total)