Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 18th, 2009, 11:54 AM
Friend of Wrox
 
Join Date: Oct 2006
Posts: 112
Thanks: 12
Thanked 0 Times in 0 Posts
Default

thank you for your help... Since we are on select statements... would you know how i can format my output ex.: Select Date,Store,SKU,Flag,Qty,Price from Details where Date >= '03/17/09' output is 2009-03-17 00:00:00 5 921711 1 1 10.9600 i need an out like... 20090317 005 0000000921711 01 00001 0001096thanks rino
 
Old March 18th, 2009, 12:07 PM
Friend of Wrox
 
Join Date: Oct 2006
Posts: 112
Thanks: 12
Thanked 0 Times in 0 Posts
Default

i got the date to work for now... Select CONVERT(char(8), TransactionDetailDate, 112),.... output is 20090317





Similar Threads
Thread Thread Starter Forum Replies Last Post
Select In Statement mr_pc1963 SQL Server 2005 2 April 19th, 2008 09:59 AM
Select from another select statement to a repeater simsen ASP.NET 2.0 Professional 0 May 2nd, 2007 04:34 PM
Question on select statement RinoDM SQL Server 2000 3 January 19th, 2007 10:21 PM
Select Into Statement I think, Basic question gmoney060 SQL Server 2000 4 December 31st, 2004 02:52 AM
Select statement Sarju Mehta SQL Server 2000 1 March 30th, 2004 03:16 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.