Search the web
Sign In
New User? Sign Up
SQLQueriesNoCode

Group Information

  • Members: 3212
  • Category: SQL
  • Founded: Feb 17, 2003
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.
Notice  Upcoming calendar upgrade: Yahoo! Groups calendars are being upgraded to a much improved version. You may not have access to the calendar (for up to 24 hours) when this group is upgraded. We sincerely apologize for this inconvenience.

Home

 

Activity within 7 days:

Description

SQL Queries Advice for any programming language

NOT NOT NOT an ASP.net group go to
[AspNetAnyQuestionIsOk]
if you have ASP.net questions


This list is to discuss primarily the SQL Query you are activating in your code including easy, medium, hard SQL Queries:
  • "Select ..."
  • "Insert Into"
  • "Delete ..."
  • "Update ...."
  • joins, Actions, DDL, Aggregate, Multi-Table, Cubes, OLAP, etc.
and is NOT NOT NOT really about debugging or including the ASP, ASP.net, ColdFusion, VB, C# or whatever code that calls ro consumes that query.

GENERALLY we want to see the SQL statement only, not all the surrounding programming code since we don't want to become a code-debugging lists - there are plenty of those.

To paraphrase Joe Friday from Dragnet
"Just the SQL Please"

If possible we don't talk about Stored Procedures or Packages because they are DBMS specific (SQLserver and Oracle respectively) but if they are the most efficient way to get results we will discuss them.
We are not really an Oracle, SQLserver or Informix, etc. specific support list so as questions drift from SQLqueries into issues peculiar to only those specific database platforms, we suggest those questions occur on DBMS specific lists not these.

Most Recent Messages

  (View All)
(Group by Topic)
Advanced
   Start Topic
Re: DateTime conversion
Thanks Paul, Since this query has to be run for just for value at a time..inside a udf, your solution is pretty much accepted.   Best Wishes, Noman Aftab  
Posted - Mon May 14, 2012 6:35 pm
Noman Aftab
noman17pk
Offline Offline
Send Email Send Email
Re: DateTime conversion
because you are not everything in the column is not a date and your date format is not a SQL Standard you will need to test for a DATE and convert using
Posted - Mon May 14, 2012 4:56 pm
Paul Livengood
p_livengood
Offline Offline
Send Email Send Email
DateTime conversion
Hi, I have a varchar column which contains a formatted datetime in 'yyyyMMddHHmm' format. For e.g. '201205142050' represents 14 May 2012 08:50 PM This column
Posted - Mon May 14, 2012 4:42 pm
Noman Aftab
noman17pk
Offline Offline
Send Email Send Email
Re: CASE - ISNULL - What Am I Missing?
Coalesce is ansi standard whereas isnull is t-sql and could go away in the future. Mark Sent from Yahoo! Mail on Android From: John Warner ; To: ; Subject: RE:
Posted - Sat May 12, 2012 2:09 pm
Mark E
meckeard2000
Offline Offline
Send Email Send Email
Re: CASE - ISNULL - What Am I Missing?
I can't speak for all nor for the OP but null can cause procedural code to have an issue, null isn't a string or char array and thus will need conversion.
Posted - Sat May 12, 2012 9:44 am
John Warner
john@...
Send Email Send Email
Add SQLQueriesNoCode to your personalized My Yahoo! page Add to My Yahoo! XML What's This?

Message History

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2012 2 18 1 11 16
2011 15 29 31 23 6 25 10 6 31 15 7 1
2010 10 19 22 24 22 11 1 5 14 3 8
2009 18 55 63 83 28 47 48 75 14 23 50 39
2008 65 65 67 53 37 56 29 22 59 53 63 16
2007 53 37 10 13 29 46 62 82 27 46 94 61
2006 31 60 96 78 73 60 71 117 89 57 73 84
2005 109 46 51 53 55 92 76 70 50 26 27 61
2004 59 67 70 23 46 21 44 69 49 41 34 65
2003 15 97 59 52 55 46 41 26 101 38 27
What is Yahoo! Answers?

Yahoo! Answers, a new Yahoo! community, is a question and answer exchange where the world gathers to share what they know...and make each other's day. People can ask questions on any topic, and help others out by answering their questions.

What is Yahoo! Answers?

Yahoo! Answers, a new Yahoo! community, is a question and answer exchange where the world gathers to share what they know...and make each other's day. People can ask questions on any topic, and help others out by answering their questions.

Questions in Computers & Internet > Programming & Design

  • Questions are currently unavailable.

Want to help answer other questions? Go to Yahoo! Answers


Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help