Forum Replies Created

Viewing 15 posts - 9,676 through 9,690 (of 13,461 total)

  • RE: Create Views on similar table names in multiple databases

    i think as soon as you try to simplify and abstract stuff, it makes it harder to understand. pseudo code sux sometimes...tablex/database a/b...yuck.

    so do you have multiple tables(maybe in other...

  • RE: Can we have both SQL 2005 and 2008 client tools on the same PC?

    on my machine i had 2005 installed a couple of times as various instance names...then i installed 2008. cleaning up some extra unneeded isntance names,

    i now have the 2005 db...

  • RE: Map IP Address to a Geographical Location

    i must have tunnel vision this morning;

    i didn't see any BULK insert scripts for the files; after downloading the csv files, i see they are UNIX style(slash r for the...

  • RE: SQL 2005 collation

    there is a default collation at the database level, which you can see in sys.databases.

    collation is not at the table level, but for each individual column. the value is visible...

  • RE: Change the Date Format

    first, you should never store dates as any datatype except datetime.

    fix it now so you don't have the same issue in the future; if it's stored as a date,...

  • RE: SQL Server procedure- Strange problem

    i believe the setting "Generate Scripts For Dependant Objects" is True on one machine, but not the other.

    Tools>>Options in SSMS, then you have to find the node "SQL Server Object...

  • RE: Profiler dbid = 0

    I know that when you look at sys.triggers and the db_id is zero, it's because it is a Logon Audit trigger, so it's not associated to a specific database, but...

  • RE: Unexplained Client Disconnects

    just hazarding a guess, but since this is running on Express, could the AUTOCLOSE setting of the database be causing the disconnect of the client connections, when SQL Server decides...

  • RE: How to: Rename foreign key constraint

    it's the full syntax for a constraint instead of the shortcut for a foreign key:

    ALTER TABLE dbo.a

    ADD CONSTRAINT FK_MyForeignKey FOREIGN KEY (id) REFERENCES dbo.b(id);

    to rename a constraint that has a...

  • RE: Database Mirroring Faqs

    I found a lot of stuff on Database Mirroring here:

    database mirroring sql server 2008

    general questions and information gathering stuff like that is what google is awesome at; the forums here...

  • RE: Apostrophe's and Variables Headache

    Paul Clark-418949 (4/15/2010)


    PICNIC (Problem In Chair Not In Computer)

    hehe in my shop we call that a problem with the CKI (Chair to Keyboard Interface);

    it can often be fixed witht...

  • RE: dateDiff question

    I'm a little weak on your requirement, so help me clarify it:

    you have an openDate and a closedDate.

    I thought the closedDate should be x business Days greater than the openDate;...

  • RE: Are "SELECT Statements" cached?

    yes, the plan could be cached; it's not guaranteed.

    I have an older book that explains it in some detail...the answer is if SQL thinks there is a high cost for...

  • RE: dateDiff question

    without the two tables (tblSale and tbl1 ) and some sample data, i can only make a guess that is syntactically correct;

    my assumption in my example is that the Closeddate...

  • RE: Missing last 2 Days records ..How can i recover ..

    John Paul-702936 (4/14/2010)


    SIMPLE

    ouch.

    assuming deletion of specific data, then the data is lost. there is no way to recover deleted data when in SIMPLE mode;

    the typical thing you'd have to do...

Viewing 15 posts - 9,676 through 9,690 (of 13,461 total)