May I post here questions about SQL queries against Excel via ODBC?

and if not, can you recommend of a relevant forum?

For example, I'm desperately looking for an answer to the question:

How can I retrieve the row number of a record in a query? Somethin
like:

select x.*,rownum()
from sheet1$ as x


Thanks in advance,


Noam

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

0
11/19/2003 1:20:57 PM
excel.misc 78881 articles. 5 followers. Follow

1 Replies
615 Views

Similar Articles

[PageSpeed] 24

try posting in the Security Forum, under SQL Server 
Security, that's where most people go when they have 
questions about SQL. 
0
anonymous (74722)
11/19/2003 5:10:53 PM
Reply:

Similar Artilces:

Excel Regional Date Format Options
A client of ours in NZ is complaining that date format options for English (New Zealand) have changed from older versions of excel (they are using 2003) Some of their spreadsheets have dates formatted as dd-mmm-yy, mmm-yy and dddd,dd,mmm but these options do not exist anymore. Is there anyway to add options to this list without using the custom format option? Thanks, Jesse I just compared the Excel 97 and Excel 2003 built-in date formats and they are mostly unchanged. 2003 has a few more but I don't think there were any subtractions. The formats dd-mmm-yy and mmm-yy are righ...

MS Excel 2003 cannot auto calculate formula, need to press F9 each time
hi, I don't know why my excel 2003 new worksheet cannot auto calulate formula (eg. summation), i need to press F9 and it will refresh and show the new figure. there is "calculate" word at the left hand bottom of the screen. what is the likely reason ? it was running fine 2 weeks ago. any advise is greatly appreciated. rgds. Tools>Options>Calculation tab, check Automatic -- Kind regards, Niek Otten Microsoft MVP - Excel <sg_s123@yahoo.com.sg> wrote in message news:d5393a73-eb7d-4e08-8fab-5f4ab895f77a@e23g2000prf.googlegroups.com... | hi, | | I don't know w...

Thread Question #2
Dear Sir, In my application we are using legacy libraries which are not thread safe.We are calling one function from the GUI to initiate the process which will call the function in the libraries.The process is as follows : 1) The tool requests the data from the oracle and after retrieving the data from the oracle local system creates one file based on this data,This process is continued repetitively based on the input,that means it may create n files based on the input.To improve the performance we are using two threads,one thread calls the library function(the constraint is we hav...

Get paid to post in forums..
myLot promises to pay as you talk on its discussion boards. You can post and reply to whatever topic that you like. to join: http://www.mylot.com/?ref=blogger1 The following is taken from their website: ****************************** How does this work? We have implemented a system to give everyone who uses the internet the ablity to make money. The idea is pretty simple - if you contribute to the myLot Community - whether it is by posting a new discussion, responding to a current discussion, commenting on a current discussion, or referring friends, you earn money. Our goal is t...

CRM / SQL Reporting Co-Exist
We are trying to run Microsoft CRM and SQL Server Reporting on the same server. We have experiemented with several approaches but with no luck. Either SQL Server Reporting's Report Manager will not run with an error that session state in disenabled in ASP.Net or I get an error that there is a problem with the assembly Microsoft.CRM.Platform.Types. Does anyone know where I could find a document on how to make CRM and SQL Reporting co-exist on the same or server. It must be possible since many people run Small Business Server 2000 or 2003. Regards, George Vessels ...

Excel sheet truncated after copying to powerpoint slide
Hi, We are using Office 2000 with sp3. When we copy excel sheet to power point slide, some of the rows and colums are truncated. Also the font size is changed. We can see only some part of the sheet. Let me know if anybody faced this problem.. Thanks in advance Shekar. Debra Dalgleish posted this link that you may want to review: http://www.rdpslides.com/pptfaq/FAQ00068.htm Microsoft wrote: > > Hi, > > We are using Office 2000 with sp3. When we copy excel sheet to power point > slide, some of the rows and colums are truncated. Also the font size is > changed. We can s...

SQL Back-end / Access Front-end using linked tables????
I have a backend that contains tables that I pull Driver information, Customer information , etc. (these are MAS 200 accounting software tables that are exported nightly to the SQL backend). I also have on the backend tables that I push information to; information that we enter on the forms located on the front end. I might not have this set- up correctly, but I'm linking all tables on the back end to the Access database on the front end. When trying to set up an Auto Lookup off of a query I've created in Access it says I need to go into the table change Data Type to the Lookup wizard,...

How to create a connection point in Excel
When I group autoshapes the group itself does not have connection points. A connector connects to one of the grouped shapes instead. So, the connector beginconnecedshape (or endconnectedshape) property contains the name of the contained shape and not the name of the group. Is there a way to create connection points for a group? Alternatively, is it possible to change a group into a single shape with connection points? ...

Count problems[Excel 97]
Hi there, I did a search on the forum to find an answer to my question but didn' find anything. Here is my prob : Lets say I got this page-> ___a___b_____c__d__ 1 Name Type Job bla 2 Name Type Job bla 3 Name Type Job bla 4 Name Type Job bla 5 Name Type Job bob I want a Cell to write how many row I got( 5 in this exemple) and onl count the cells with bla in the D column(4 in this exemple). Sorry if I'm not really clear but if you can help me feel free t answer :) thx, Tulkas -- Tulka -----------------------------------------------------------...

Viewing an Excel sheet w/out all the empty fields...
How do you create a spreadsheet that only shows the fileds with data in them? -How do you get rid of all the empty rows/columns, to ease viewing for those who are easily confused by excel spreadsheets? (I don't know how else to emaplin my question... I just don't want the extra columns & rows there, if that's possible...) Please help... Hi! >I just don't want the extra columns & rows there, if that's possible... Just hide them! Suppose the last column in your sheet that contains data is column H. You can hide columns I:IV so that after column H all you ...

Data from Access query to Excel
To pull data from an Access 2003 database, I have created the queries in Access, then import into Excel. The problem is that all the numbers that are pulled into Excel are text and need to convert them into numbers to run formulas on. I have converted a few sheets by hand, but, some have will over 50,000 rows. Is there a function to select all number colums (the colums are the same through out the sheets) and convert? Thanks There are instructions here for converting text to numbers: http://www.contextures.com/xlDataEntry03.html You can select all the columns, and only the num...

Excel question #9
Is there a way that I can transpose the order of the values in a cell? For example I have the values of 10.200.13.1 in a cell and I want to transpose(not sure if that is the correct term or not) the order of the values in the cell so that they appear as 1.13.200.10. thanks for any help as I have literally 4 pages of these kind of values that I have to flip. -- Brian blanktree at hotmail dot com Hi try the following user defined function from John Walkenbach's book Excel 2000 formulas (great resource by the way): Option Explicit Function REVERSETEXT(text) As String ' R...

Excel color palette missing colors
Opening a workbook with text formatted in color (orange) defaults to gray. Examination of the color palette shows that that shade of orange is missing from the palette itself. Exiting Excel and restarting it sometimes solves the problem. Text rendered in orange is orange again and the color swatch is back in the palette. User has tried rebooting the system too. ...

How to view the code for excel built-in functions?
Is it possible? -For example the function PMT(). thanks. No, the code is compiled, so it would likely be less than useful anyway. About the best you can do is check out the equations used in Help (see "PV"). In article <OSU3OXOBGHA.1676@TK2MSFTNGP09.phx.gbl>, "serdar" <s@s.com> wrote: > Is it possible? -For example the function PMT(). > thanks. ...

How do I convert time (hh:mm) to value ($$) in Excel?
Would like to calculate cost of time. Eg. Cost for production down time per minute is $100. Says production doen for 3.5 hrs, what is formula shall I apply in order to generate the cost (in $$). =3.5*60*100 "ahfen79" wrote: > Would like to calculate cost of time. Eg. Cost for production down time per > minute is $100. Says production doen for 3.5 hrs, what is formula shall I > apply in order to generate the cost (in $$). =(3.5/24)*60*100 -- Regards Dave Hawley www.ozgrid.com "ahfen79" <ahfen79@discussions.microsoft.com> wrote in ...

Where can I get UNLIMITED Excel stock qoutes?
The Excel Add-in that allows you to retrieve stock qoutes is limited in taht it only allows you to get about 250 qoutes at a time. How can I get unlimited qoutes in a format compatible with excel? Z There's a program called Historical Stock Quotes which can create tab or comma delimited files that can be read into Excel. If you want something that updates automatically within Excel, you may have to buy an add-in. Have you searched the web? On Sun, 6 Mar 2005 12:18:23 -0800, ZouBCivil <ZouBCivil@discussions.microsoft.com> wrote: >The Excel Add-in that allows you to retriev...

How to change default printing parameters on Excel & ......
How to change the default printing parameters on Excel & keep them changed for future workbooks. Example: Normally I use Printing margins 0.25 on all directions, but default printing margins are 0.75. I want to change them to set 0.25 as DEFAULT. If you start a new workbook and change the page layout (for all the sheets), you can save it into your XLStart folder as Book.xlt. Excel will use that as the basis for new workbooks. You can change a lot of settings that way--including orientation, headers/footers.... Amjad wrote: > > How to change the default printing parameters ...

Excel 'hangs' when deleting a row
when i delete a row in excel 2000, everything locks up! and when lookup at Task Manager/Processes, it's MEM USAGE goes up to 22K o more! i tried doing it in another file but i experienced no error. the dat is in LAN. all data are filtered when the deletion began. however i ca delete files before. please help, anyone.... -- Message posted from http://www.ExcelForum.com The best thing is to free up memory (assuming your file is large). Clos all applications you do not require at the time and any workbooks no in use. Dunca -- Message posted from http://www.ExcelForum.com ...

Windows XP: Open file in read-only: Word, Excel, Visio
I'm often sharing files on a network drive with someone. Often, one of us knows that we don't need to open a file for modification, and we only need read-access. Is there a way to open a file in read-only mode so that when someone does need to open it for modification, the read-only user is not blocking that? If there is not a way to do this native to Windows XP, is there a way to do it from the three applications that we use most, namely Word, Excel, Visio? All are 2003 versions. Thx. I used to save files like this in "read only recommended" mode. File|SaveAs|Tools|Ge...

Excel and NPV
Hi, I have a problem regarding the NPV function on Excel. Does anyone know how to use the function if the interest rate changes over a period of 20 years. Say for example, for the first 8 years the interest rate is 8%, then for the next 5 it's 12%, and for the last 7 it's 14%. It would be great if any one can me with this! thanks! As far as I can tell, there is no way you can vary the discount rate in the NPV function in Excel. In fact it is very difficult to model this in any calculation tool. Here is an interesting article which may help you see the difficulty; http://...

Paths to becoming an Excel Expert
Dear community I am a retired accountant, and have used Excel for many years, including power user, macro and VBA development. I would like to specialise in this field + maybe delivering Excel training, maybe offering my services as a freelance. What is the best path to develop this expertise? Is there a worthwhile Microsoft Certification route - which I find confusing? And finally is it worth sticking with VBA which seems to be on the back burner now? Thanks for any suggestions. First, some links to several "Excel Experts" www.chandoo.org www.peltiertech.co...

Post Closed Batches to Quickbooks
Hi, We have just recently installed RMS and have completed the Assign GL Accounts. We want to test batch posting, so we created a copy of our QB file to play with (in case it blows up!) We are running the Canadian edition of Quickbooks Premier 2005: Retail and Repair Edition. So, what do we do now? I've gone to Journal/Post Closed Batch, clicked the batches, but don't know what to do with 'File Name:' What about after that? And once everything is working great, how do we re-post the batches to our 'real' copy of QB? Thanks for any help anyone can provide! Save...

Consecutive Query
Good Day, For your consideration I have the following question. I have a process that leads to the below dataset. Name Start Date End Date Chris 11/2/2008 11/9/2009 Joe 11/1/2008 11/8/2008 Joe 11/8/2008 11/22/2008 Joe 11/22/2008 11/29/2008 Joe 12/10/2008 12/17/2008 Joe 12/17/2008 12/24/2008 Now that I have this dataset I would like to only include Arrival Dates that begin on a day within a 6 day range. ...

List box with available queries question
I have a list box control on a form and want the list box to display all the queries within the database. The following code is what I have so far but it does not work. Any help is appreciated. SELECT [Name] FROM MSysObjects WHERE [TYPE] = 5 and LEFT([Name],1) <> "-" ORDER BY [Name]; "Billy B" <BillyB@discussions.microsoft.com> wrote in message news:F47BB77B-7B66-4860-8954-F4FE32FE7C3C@microsoft.com... >I have a list box control on a form and want the list box to display all >the > queries within the database. The following code is what...

xsd question #5
I am doing a bulk load and an element name in the xsd and xml is named differently in the database. I can NOT change the database field or xml. Can I do anything with ehw XSD? The field name in the db is "CaseType" <xs:schema xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas-microsoft-com:mapping-schema"> <xs:element name="Cases" sql:relation="PUCCASES"> <xs:complexType> <xs:sequence> <xs:element name="NbrOfCases" type="xs:decimal"/> <xs:ele...