Dynamic SQL

Technical Article

RE: Need help on store procedure

  • Reply

@PartId should probably be declared as an Int and not a VarChar@PartId is not initialzed and therefore is null before the select:If the select returns 0 rows then the @PartId will be unchanged and will remain null.If the select does contain rows and the all values for Part_ID are null then @PartId will be assigned null.After […]

You rated this post out of 5. Change rating

2005-05-26

Technical Article

RE: Arguments for using SQL server

  • Reply

And many things in file-based systems, like definite record numbers, simply do not exist in SQL server (and for good reason - it's a set of data.  If you want it ordered, use an order by).Also...  many of the systems like Fox/Access use cursors a great deal - server side cursors are usually the substitute […]

2005-05-24

Technical Article

RE: Agile Development with Scrum

  • Reply

"The customer lists all the features they want in priority order."And how often can your customers tell you exactly what they want, let alone as a prioritized list?If you are lucky enough to get a feature list, and it doesn't change half-way through, everything will be top priority. If you make the decision for them, […]

2005-05-18

Technical Article

RE: Comparison operator *=

  • Reply

Good article reference, Frank (and congrats again on the MVP!)  I did not know about precedence of when the WHERE clause gets evaluated between the two forms.This begs a question of me, though.  I recently wrote the following code:select distinct fieldlist blahblahblah.... from EntityHistory en join enLookupCodes lc1     --get state  on ad1.refstateid = lc1.id join enEntityAddressTypes […]

You rated this post out of 5. Change rating

2005-04-22

Blogs

Deleting Old Local Git Branches–#SQLNewBlogger

By

I had a lot of local branches for a repo (actually a few repos)....

Use Your Voice

By

If you want more of a career and less of a job, one thing...

Real-World SQL Mastery: Your Hands-On, Mess-Free Sandbox

By

Are you ready to take your SQL skills from theoretical to tactical? If you've...

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