Forum Replies Created

Viewing 15 posts - 61 through 75 (of 153 total)

  • RE: Lookup Table Madness

    Just to clarify, there are no codes exposed to users. 

    And yes, there are separate entities handling associations between patients and drugs and a different entity of PatientAllergies.

    The specific question was in...

  • RE: Lookup Table Madness

    I hate to re-open this issue, but want to make sure I understand the trade-offs exactly.

     

    I intend to use a unique number for...

  • RE: Insert statement

    thanks. That was it. I had an extra "Select" πŸ™

    It's working now.

    Sam

  • RE: drop index constraint

     

    IF exists (select * from dbo.

  • RE: reseed table

    Thanks. That did it.

    Sam

  • RE: Form Driven Input to SQL SP

    Is the question how do you call a stored procedure from Access? THis should do it:

    Public Function InsertDate( _

            strTableName As String, _

            strStartDate As String, _

            strEndDate As String, _

    On Error GoTo...

  • RE: table naming conventions

    This really helps. Thanks. My takehome lesson is use grouped names only after careful thought and consideration of multiple factors. I decided not to use a prefix for now.

    Sam

  • RE: quotation syntax

    mkeast, thanks for bearing with me. I'm a newbie and truly baffled by this. This statement executes properly from QA:

    EXEC sp_generate_inserts OccRadiology, Fact, @debug_mode=1, @cols_to_include ="'AilmentID','Ipsil','ContraB'"

    debug_mode is bit type (so...

  • RE: quotation syntax

    here is the statement printed with print @cmd:

    osql -S. -E -dRestructureTest -Q"EXEC sp_generate_inserts 'OccRadiology','Fact',@debug_mode=1,@cols_To_Include='Ipsil','Contra' -w8000 -h-1 -o c:/Artifex/inserts.sql

    Sam

  • RE: quotation syntax

    okay, it looks like the above solved the issue with the @col_to_include parameter.

    Now I have this error: Line 1: Incorrect syntax near '-'.

    There are many dashes. How do I find...

  • RE: script table changes

    thanks. I finally found it. sorry for the trouble.

    Sam

  • RE: dynamic SQL

    Thanks. That really helps.

    Sam

  • RE: SQL Code syntax

    Mike: Thanks so much. This is really helpful.

    Sam

  • RE: SQL Code syntax

    Clarification, Mike:

     

    You’re saying that

     

    Set rs=CurrentProject.Connection.Execute(strSQL)

     

    Is faster than

     

    Set rs=New ADODB.Recordset

  • RE: New Poll

    Having perused the responses, I find my fingers itching to send my own little opinion. πŸ™‚

    I live in a different world (non-IT) and have been investigating for a couple...

Viewing 15 posts - 61 through 75 (of 153 total)