Forum Replies Created

Viewing 15 posts - 286 through 300 (of 461 total)

  • RE: Script out logins and users

    why not

    select * from syslogins (from the master database)

    select * from sysusers (from each user database)

    Bye

    Gabor

  • RE: Managing Historical Static Data

    Definitly the solution #3.

    But if you want this to make transparent you could implement a partitioned view based on the year/quartal.

    So you can put the "archive" data into differents databases...

  • RE: Finding only the modified rows

    Jonathan,

    I have to tell you that unfortunatly there is an error in your code

    The product id 3 and 4 should have been retrived as both of...

  • RE: Execute the SQL generated as a Resultset

    quote:


    SELECT "SELECT TOP " + rtrim(RowCnt) + " * FROM #T1 A , #T2 B WHERE A.UID = B.UID Group By...

  • RE: Finding only the modified rows

    I've forgotten to say that the modifications table is feed throu insert/update triggers.

    So the goal is to show all rows where a record exists for one of the component table...

  • RE: SQL tool-- Patrol for MS SQL

    Just a simple info.

    The guys as BMC, Tivoli, HP, MS are not able to show you more then SQLServer itselfs is able to.

    An addition there are fairly expensive and also...

  • RE: Hyperthreading and SQL2K

    quote:


    if turned on HT on my 4 ways server, the OS 'sees' 8 processors.


    But...

  • RE: non-unique Indexes

    Try to update the row count usage by DBCC UPDATEUSAGE see BOL

    Tell us if that on has solved your problem

    Bye

    Gabor

  • RE: Find first name?

    Here is the answer to the multiple word firstname problem

    declare @name varchar(100)

    set @name = 'Marie Sarah Vigote'

    SELECT LEFT(@name, LEN(@name)-CHARINDEX(' ', REVERSE(@name), 1))

    Of cours is you have a name where you...

  • RE: blob and images

    You cannot.

    QA is a text based tool. It's unable to interpret the flow of bits of an image.

    You need a client tool beeng able to anderstand the fotrmat of the...

  • RE: large table

    Basically it depends on your application how fast your response times are.

    If you have only single row selects and updates then the size of the database does not matter if...

  • RE: Help! Index corrupting? DBCC CheckTable failing?

    Just an idea.

    Try to make one of your index clustered.

    That one will rearange your table and recreate all your existing nonclustered indexes.

    If you really have a table or index corruption...

  • RE: Get better Performance for Querys in SQL

    Same as above.

    We would need the index definitions too to be able to determine if your query uses them correctly

    Bye

    Gabor

  • RE: How can I connect to another database?

    Or if this is you want, just use the:

    "

    use AnotherDBName

    go

    "

    syntax. See BOL

    Bye

    Gabor

  • RE: How can I connect to another database?

    I do not understand well your question.

    In TSQL there is no such command as connect.

    First you have to connect to a server/database then you can issue TSQL commands.

    Of cours you...

Viewing 15 posts - 286 through 300 (of 461 total)