Forum Replies Created

Viewing 15 posts - 196 through 210 (of 272 total)

  • RE: User cannot not see stored procedures

    Have you granted execute permissions to all the procedures to the user or a role he/she is a member of?

  • RE: Call multiple ssis packages and execute them from master ssis package

    You can use a sequence of Execute Package tasks with success connectors. That will make sure you execute the tasks in the sequence you require.

  • RE: Problems for insert on table

    Usually when a developer asks me this question, I find the data in the table in a different database (usually master).

    You may want to check other databases.

  • RE: How to find changes in a table

    You could compare to snapshots using SQL Data Compare from Redgate.

    You could also do a compare in a query like this:

    select * from ShipAddr a

    inner join ShipAddrSnapshot b

    ...

  • RE: How To Determine if Reporting Services was Installed

    Can you check the services list? If so, you can see of the reporting services is listed.

    Also, from SSMS, you could try to connect to reporting services for that...

  • RE: Convert 0000 into 00:00 format

    One way would be something like :

    declare @Time int

    select @Time = 0630

    select

    SUBSTRING(CAST(@Time + 10000 AS varchar),2,2) + ':' + SUBSTRING(CAST(@Time + 10000 AS varchar),4,2)

  • RE: Querying a Table Using Dynamic SQL

    Yea, I noticed that, but I hard-coded the order by thinking he could adapt that if needed. It was the row_number() usage that was key.

    Also, I didn't see your...

  • RE: Querying a Table Using Dynamic SQL

    USE dbTools

    GO

    CREATE TABLE deed (deed_id INT IDENTITY(1,1), deed_name VARCHAR(25))

    GO

    INSERT INTO deed (deed_name) VALUES ('Deed F')

    INSERT INTO deed (deed_name) VALUES ('Deed C')

    INSERT INTO deed (deed_name) VALUES ('Deed I')

    INSERT INTO deed (deed_name)...

  • RE: Add Merge Replication

    You could potentially have an issue with identity columns as keys, unless you offset carefully between the two systems. A better solution might be a guid ( NEWID() )...

  • RE: Help with TOP clause

    I think dynamic SQL is your solution here, unless you can set a variable ahead of your query.

  • RE: How many rows are returned from the query below?

    I think sometimes we are guilty of over analyzing a problem. Questions such as "How many rows are currently contained in tblUsers?" leads to a judgement that the question...

  • RE: Overusing Identities

    An email address is a mutable attribute. As such it would make a terrible primary key for a database.

    Just because you use a email address to login to Amazon...

  • RE: Deleting records but maitaining history

    Why do you need to delete records?

    If you're considering flagging them as deleted, why do you need to delete at all?

  • RE: how to backup without the whole data

    In the object explorer, right-click on the database you wish to script. Under Tasks, select Generate Scripts. You can script the tables, views, procedures, UDFs etc. You...

  • RE: Overusing Identities

    We create identity columns for just about every table. It tends to make things much easier. One such area this makes things easier in is transactional replication.

    One area...

Viewing 15 posts - 196 through 210 (of 272 total)