Forum Replies Created

Viewing 15 posts - 9,196 through 9,210 (of 13,461 total)

  • RE: Sql Doubt - 1

    boy these read just like homework questions.

    what do you think the answers are?

    troy2.net (6/23/2010)


    1) Can we generate Trigger for two table and give a example ?

    you can create a...

  • RE: How to use sqlcmd to run my create database/tables/sp's script

    well it really depends on your application.

    if your application is a client-server kind of app, then changing the connection string would be once-at-startup, and then an on-demand situation, where...

  • RE: Query Active Directory Groups and the Users in each Group

    andrewkane17 (6/22/2010)


    You can also use the below code, we use it to figure out group membership without having to engage domain admins.

    EXEC xp_logininfo 'whateverdomain\whatevergroup', 'members'

    Andrew

    omg that extended proc with no...

  • RE: Query Active Directory Groups and the Users in each Group

    Andrew i have this saved in my snippets; it's creating a linked server to Active directory, and querying for some stuff;

    when i tried it on my own network, i didn't...

  • RE: star schema or snowflake schema

    this is outside my area of experience, but my Google-Fu skills are strong! I searched "ssas star or snowflake" and found some stuff.

    i found this article about why snowflake is...

  • RE: Index

    i believe the DDL statement DROP index would be captured in the default trace;

    you can use the GUI filtered version and find out whodunnit if not too much time has...

  • RE: How to get empty tables and delete from database

    just because a table has no rows does not mean that table has not been referenced by a view/stored proc / function or external application; it is perfectly normal to...

  • RE: DBCC TRACE

    are you confusing DBCC TRACEON with a system trace? (select * from sys.traces)

    every DBCC TRACEON command does a different thing...some turn on something to be visible in performance counters, others...

  • RE: Unable to send email alerts in SQL server 2005

    this clearly identifies the issue, and it's outside of SQL server:

    The server response was: 5.7.1 Unable to relay for aangie@ibmcore.org). )

    that is one of the standard SMTP error messages.

    that means...

  • RE: i need a query tip

    wouldn't this just be a min( date), and count(*) grouped by customerid ,year(min(date))?? so you can calculate counts per year or some other period?

  • RE: How to use sqlcmd to run my create database/tables/sp's script

    nite re-download the project one more time;

    i tested it found some bugs and missing code, this versions much better.

  • RE: Read only access to view all objects in a DB

    something like this is what you want;

    the permissions is VIEW ANY DEFINITION, which is what you were asking for: let them see the text of any view/proc/function.

    CREATE ROLE [ReallyReadOnly]

    --give reader...

  • RE: Periodic Backup using script and task scheduler

    the recommended way is to take your script, which you already know works, and use SQL Agent to create a job from within SSMS, which runs on a regular basis.

    while...

  • RE: SQL Agent Start Depend On SQL Server Engine

    as Chirag alluded to, you can use the procedure sp_procoption to run a procedure when SQL server starts, but SQL Agent might not be running.

    here's an article wher ethey discuss...

  • RE: DLL OR OCX??

    maybe i'm mis reading the request, but it seems to be "show SSMS reports in our application instead of SSRS web pages". I had thought it was different.

    I'm assuming the...

Viewing 15 posts - 9,196 through 9,210 (of 13,461 total)