PowerShell

Technical Article

RE: Convert varchar to numeric

  • Reply

One way to go around this problem is to get the number directly from Progress as opposed to you converting it. You can use To_NUMBER Progress function. The function will convert the Char_expression to a number. for example: you can have the following: SELECT *     FROM customer     WHERE TO_NUMBER (SUBSTR (phone, 1, 3)) = 603 […]

You rated this post out of 5. Change rating

2003-07-30

Technical Article

RE: delta processing: alternative to cursor

  • Reply

Jeremy, There may be some things in your SQL that we could look at that might speed things up. But aside from that, speed is not the only problem with CURSORS; they can also have serious memory problems associated with them that a SET-based solution usually doesn't. That said, there ARE times when a cursor […]

You rated this post out of 5. Change rating

2003-07-30

Technical Article

RE: Single User Bug????

  • Reply

quote: ...Is there any possibility that DBCC is trying to fix some minor errors, and SQL Server changing to Single User Mode & not changing it back?! Just a Thought.... That is EXACTLY what is happening. When you check "Attempt to repair minor problems" under the Integrity tab, the maint plan job will try to […]

You rated this post out of 5. Change rating

2003-07-30

Technical Article

RE: Poor login speed with 2000+ tables

  • Reply

jfrank, it sounds to me that it is something specific to your application. you can investigate more and find out exactly where the login process is waisting so much time by profiling the server, save the trace and run it in QA; there you can see the query plan in detail and find out exactly […]

You rated this post out of 5. Change rating

2003-07-29

2 reads

Technical Article

RE: Doing Short Circuiting in WHERE clause

  • Reply

If @FirstName and @LastName are the variables and contain NULL for 'Not Supplied' then WHERE (@FirstName IS NULL OR @FirstName = FirstName) AND (@LastName IS NULL OR @LastName = LastName) or if you want to test in sequence then WHERE (CASE WHEN @FirstName IS NOT NULL AND @LastName IS NOT NULL AND @FirstName = FirstName […]

You rated this post out of 5. Change rating

2003-07-28

Blogs

SQL Saturday Boston 2024 Slides

By

Thanks to everyone that came to my talks. Slides are below. Best Practices for...

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...

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