Forum Replies Created

Viewing 15 posts - 4,876 through 4,890 (of 5,103 total)

  • RE: Migrating from Access to SQL

    I haven't any mention to Access ADP which by the way are supposed to support SQL Server in the Back end NATIVELY!

    Just my 2 cents

  • RE: leap years and t-sql

    You may not need to know if the year is leap or not:

    You can always do the Following

    1. Find next month number

    2. create the First Day of that next month

    3....

  • RE: Help with Sql Select statement

    I Believe I have to join Frank Kalis club of new words persnickety

    * About the Normalization Aspect of the problem I concur with it...

  • RE: Help with Sql Select statement

    quote:


    A minor refinement of noeld's excellent second suggestion:

    SELECT

    q1a, q1b, q1c, q1d

    , q2a, q2b, q2c, q2d

    FROM mytable

    WHERE

    CASE

    WHEN ( q1a +...

  • RE: NOT NULL CONSTRAINT

    That's a very good point. You should add constraints AFTER the table definion so that those can be named by yourself!

    if you plan to rename the constraint you will have...

  • RE: Help with Sql Select statement

    Disregard my previous answer, (I am tired )

    Along as you don't have nulls you can:

    
    
    SELECT * FROM MYTable
    Where
    ( (q1a/3) + (q1b/3 )...
  • RE: Determining an IDENTITY COLUMN on a Table

    SELECT COLUMNPROPERTY( OBJECT_ID('TblName'),'Column_Name','IsIdentity')

    HTH

  • RE: Help with Sql Select statement

    I am little tired but this may get you started. Considering You Have NO NULL NEITHER 0 in the q's you can:

    SELECT * FROM MYTable

    Where

    ( q1a*q1b*q1c*q1d > 2)>1

    OR

    ( q2a*q2b*q2c*q2d...

  • RE: Fixing linked server w/o restarting SQL Server?

    if You are using OLEDB Provider for ODBC Drivers to connect to the remote DB I believe you are out of luck on that one. It is very dependent on...

  • RE: How to return SP or query data to a Text File

    For a simple query you could also use bcp

  • RE: forum search

    This Search is something really good if you can somehow make it work. I believe you can do it

    Go for it!!

  • RE: NOT NULL CONSTRAINT

    If You don't have other constraints on the column like a default, etc

    then

    
    
    ALTER TABLE dbo.STATES
    ALTER COLUMN CountryID YOUR_TYPE NOT NULL

    if you have other constraints,

    1....

  • RE: Structure Change Problem

    Your Answer is Today's QOD

    
    
    ALTER TABLE MyTable DROP CONSTRAINT MyConstraint
    GO

    ALTER TABLE Mytable
    ALTER COLUMN Mycolumn varchar(100)
    GO

    ALTER TABLE MyTable ADD CONSTRAINT MyContraint DEFAULT 'New' FOR MyColumn
    GO

    ...

  • RE: question about a system query

    Have you tried?

     
    
    sp_sproc_columns

  • RE: Sp executing twice

    I don't Use Access this Fashion. I prefer Adp Files but what I believe is Happening is that you have an EXECUTE Statement in the definition and you...

Viewing 15 posts - 4,876 through 4,890 (of 5,103 total)