ado.net

Technical Article

RE: Query that works different inside a SP

  • Reply

If you aren't interested in the time period in the where clause you can convert your A.Date1 to remove the time.  This should then remove the problem of times after midnight not matching the between statement e.g.where cast(convert(varchar(10), a.Date1, 112) as datetime) between @param1 and @param2 This will take the date and time and then replace […]

2004-09-02

Technical Article

RE: Stored Procedures under .net

  • Reply

Hi there...We are using .NET (VB .NET) frontend applications to analyse Data from SQLServer 2000. We use stored procedures where we can.First of all, when using stored procedures through the Command Object and adding Parameters, SQL-Injection is avoided.Secondly, by seperating the business logic and data logic more scalability is acchieved. If I have a reporting tool, […]

2004-08-10

Technical Article

RE: Developer tips for team.

  • Reply

Stored procedures, stored procedures, stored procedures. Simply don't let the apps access the server in any other way. Use roles with execute permissions on the stored procs. Always make dbo the owner of the tables and stored procedures. If they have Visual Studio .NET and Visual Source Safe, encourage them to use database projects. This […]

You rated this post out of 5. Change rating

2003-06-16

Technical Article

RE: Procedure cache - recompile problem

  • Reply

Kalen Delaney, author of Inside SQL Server 2000, wrote a series of articles (Dec. 2002, Feb. 2001, & Jan. 2000) in SQL Server Magazine regarding recompilations. You may find useful information in these. The gist of these articles is that certain options are stored as server, database, and session options. A couple (QUOTED_IDENTIFIER and ANSI_NULLS) […]

2003-06-03

1 reads

Technical Article

RE: Debugger Question

  • Reply

Not that I'm aware of. Could do a select at some point and step through that. Steve Jones sjones@sqlservercentral.com http://qa.sqlservercentral.com/columnists/sjones www.dkranch.net

2003-06-03

Technical Article

RE: SQL 6.5 Restore

  • Reply

It seems there's been a bit of confusion at my end-i'm on here on behalf of my boss who told me before, that the original machine is NT4. I have just learned that it is in fact 2000. Apologies for the false information, but thanks all the same for trying to sort it! We checked […]

2003-05-21

Blogs

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Snowflake + Azure blob

By

Let’s go back to data platforms today and I want to talk about a...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers