Forum Replies Created

Viewing 15 posts - 1 through 15 (of 22 total)

  • RE: How to reference user input in a query

    Select * from Table_Name where TownName=:TownName

    Where :TownName is a paramter to which you must assign a value in your Access app. I would suggest that you avoid filters such as...

  • RE: Code Generation: Using SQL to Generate SQL and Other Code

    Excellent article. I have tinkered for quite some time with a QA alternative, and the thing that has bugged me most is the generation of SQL statements. This article has...

  • RE: Trusted_Connection defaulting to YES

    Hi Elizabeth,

    When connecting from a piece of custom software, i am accustomed to building the connection string myself, and then judiciously using the Trusted_Connection property as I need to, but...

  • RE: Error connecting to MSDE on another PC

    Damn!! I never thought of that. Thanks. I'll give it a try.

    Regards,

    Morpheus

  • RE: Torn Page Error on Attaching DB

    No. AS per usual, there was no maintenance plan in place. But obviously there is now. Amazing how the door is always bolted after the horse has bolted, isn't it?

    Morpheus

  • RE: inserts and updates only

    My approach would be different in that I would continue to use the replication stored procedures on the subscriber server, but I would edit the delete stored procs to take...

  • RE: Replication between disconnected sites

    We wrote a solution similar to this for an International NGO about two years ago. Basically, we could not use anything like Replication or DTS, as all of the sites...

  • RE: Replication Gotcha - Columns with Defaults

    Yes. Add the oclumn using the repl stored procs or EM Repl tools, but add the default contraints directly in the table editor in EM or via queyr analyser. That...

  • RE: Replication Gotcha - Columns with Defaults

    Nope. Never got that far. If I was going to drop a column at the publisher, I first dropped the default constraint at the subscriber. Simple.

     

  • RE: Replication Gotcha - Columns with Defaults

    Nope. Never got that far. If I was going to drop a column at the publisher, I first dropped the default constraint at the subscriber. Simple.

     

  • RE: Replication Gotcha - Columns with Defaults

    Nope. Never got that far. If I was going to drop a column at the publisher, I first dropped the default constraint at the subscriber. Simple.

     

  • RE: Replication Gotcha - Columns with Defaults

    I bumped up against this problem a short while ago on a project. I eventually concluded that the problem occurs because the default constraint is given an arbitrarily assigned name...

  • RE: Using a stored procedure parameter as a column name

    Or you can use parameterization to achieve the same tadk. Here is an example from BOL:

    sp_executesql supports the setting of parameter values separately from the Transact-SQL string:

    DECLARE @IntVariable INTDECLARE @SQLString...
  • RE: Query question...

    Ah, humble apologies I guess it helps to ask for more info before jumping to design conclusions. What you say makes absolute sense....

  • RE: Query question...

    It sounds to me like you have data redundancy in your database design. If possible it might be better to look at further normalising your design to eliminate the problem,...

Viewing 15 posts - 1 through 15 (of 22 total)