Forum Replies Created

Viewing 15 posts - 2,731 through 2,745 (of 2,840 total)

  • RE: How grant db_owner permission to some objects

    Cant you set up the objects that this User needs to alter in a seperate schema and gove Alter Schema permission for that schema?

  • RE: Commited Transaction

    Do you have to update it the other table all the time when the first one gets updated? Then use a trigger. That is easier.

  • RE: Selecting rows from 2 Tables

    You should write the Where clause as

    Where classnumber Not In ('544','444','100','142','143','326','370','378','457','467','594')

  • RE: Permissions Question

    My suggetion would be to create a role, Let us say UserRole. Create a user with just connect permission. That means that user is just in the DB Role Public....

  • RE: Format Date in SQL Table

    Thats because you have bad data in it.

  • RE: Need some help

    ALZDBA, Yes I did get the picture. The only thing I was concerned about was the column name. But that shouldnt be a big issue. I think I can get...

  • RE: Need some help

    Thats another logical option. Let me check the query plans for all these options.

    You guys have given me 2 additional option than what I had.

    Thx:)

  • RE: Need some help

    ALZDBA

    I do not want to use Dynamic SQL. I know it is powerful but I have never been comfortable using it. Unfortunately these tables has been there for years and...

  • RE: Installing MS SQL 2005

    Maybe this is a stupid question, but are you sure you chose all options and not just client side tools?

  • RE: is there a way to do this with query?(giving group numbers)

    GSquared (1/17/2008)


    Roy: Yeah, a case statement would work, but only with a small table where you have easily defined sets of values, and where the data will never change.

    I think...

  • RE: is there a way to do this with query?(giving group numbers)

    GSquared (1/17/2008)


    select dense_rank() over (order by c1, c2) as [Nu.], c1, c2

    from dbo.table

    order by c1, c2

    This gives the output differently from what he wants I think. This is what we...

  • RE: is there a way to do this with query?(giving group numbers)

    This is a cheap trick

    create table #Alpa

    (Col1 char(1),

    Col2 char(10))

    insert into #alpa

    Select 'a','red'

    Union All

    Select 'a','blue'

    UNION ALL

    Select 'b','white'

    Union ALL

    Select 'c','Yellow'

    Select case col1 when 'a' then 1

    when 'b' then 2

    when 'c' then 3...

  • RE: Some Career advice: Change career paths

    It will be an advantage for you since you have a pretty good grasp about Networking , Hardware. If you are being send for training then it should be good....

  • RE: Applications touching Database server

    Hi Nivas,

    You can run a profiler and see what all applications and what Stored Procs or Raw SQL (I hope you dont have any ) is hitting the DB. You...

  • RE: Convert nvarchar to datetime

    If you are sure that the data in there are all valid dates, you can just modify it using SSMS to date feild.

    Another option is to add another column with...

Viewing 15 posts - 2,731 through 2,745 (of 2,840 total)