Forum Replies Created

Viewing 15 posts - 2,326 through 2,340 (of 3,656 total)

  • RE: Identity Columns

    Years ago I started off prefixing tables with tbl, views with vw etc but moved away from doing that when I found I needed to replace a view with a...

  • RE: What can I do to help my Memory Situation

    You need to look at AWE memory.

    Adventures in AWE

  • RE: Original size of DB

    If you look in sysaltfiles within the master database check the size * 8/1024 for the size in MB.

    It certainly works for TEMPDB however, if your database was built without...

  • RE: Return only Metadata

    SELECT * FROM syscolumns where id=object_id('dbo.yourtable')

  • RE: How to generate unique ROWGUID

    The NEWID function generates a GUID

  • RE: Identity Columns

    One problem I have had with IDENTITY columns is that when I use the

    SET IDENTITY_INSERT dbo.tblAnswer ON
         INSERT INTO dbo.tblAnswer(fields....) VALUES(...)
    SET IDENTITY_INSERT dbo.tblAnswer OFF
    

    The identity...

  • RE: Transaction involving several databases ?

    Yes it is possible.

    Simply use fully qualified names for your objects.

    Northwind.dob.orders (database.owner.object)

    If your databases are on different boxes then you can use BEGIN DISTRIBUTED TRANSACTION.

    ROLLBACK and COMMIT are the same...

  • RE: to find name of indexes by name of fields

    select

    object_name(i.id) AS TableName,

    c.name as FieldName,

    I.Name AS IndexName ,

    objectproperty(object_id(i.name),'IsPrimarykey') AS IsPrimaryKey

    from sysindexkeys as ik

    inner join sysindexes as i

    on ik.id = i.id

    and ik.indid = i.indid

    inner join syscolumns as c

    on ik.id...

  • RE: cannot update table

    Chances are one or more of your tables is locked.

    Try running sp_lock or looking at the current activity in Enterprise Manager.

    One possibility is to break down your update into small...

  • RE: ANSI SQL Is Dead

    Standards always lag behind current developments. They have to.

    I find it hard to get enthusiastic about SQL-92 when we are in the last half of 2006.

    If you are a...

  • RE: A Fix() Function in T-SQL

    Solution for constipated mathematicians, work it out with paper and pencil, if that doesn't work use LOGs

  • RE: What is XML?

    Consuming XML isn't hard, it's digesting it and it makes my eyes water to parse it.

    I've used it for what it is supposed to be used for. Separating content...

  • RE: How many hours do you work

    If I ever get to the States it will be beers all round.

    I don't have many ambitions in life but I would really LOVE to have a game of baseball...

  • RE: The Support Joke

    In my first job we had a guy ring up the IT department and ask

    You know these computer viruses? Can humans catch them?

    This from a guy who forgot his...

  • RE: How many hours do you work

    In nearly 20 years I've always been fortunate in that I have worked for companies where extra hours over those in the contract were recognised. Not always in financial...

Viewing 15 posts - 2,326 through 2,340 (of 3,656 total)