Search:
Type: Posts; User: ddebecke
Search:
Search took 0.02 seconds.
-
That did the trick. Thanks a lot.
Dirk
-
I am creating a VBA-application in Excel, and I noticed that, while running the application, the tab-key browses through the widgets on the window in the order there were created. I wonder whether it...
-
count(sid)/count(distinct sid) is indeed what I was looking for. Thanks a lot
-
I have a database containing a table "Case", and a table "Session".
I want to calculate the average number of sessions per case, but I don't know how to do this.
The following code does not work:...
-
March 2nd, 2007, 03:28 PM
I want to execute a query from VBA to a MS SQL database, and store the results of the query in a resultset, so that I can loop over these results, but I don't find the correct syntax to do so. Can...
-
January 30th, 2007, 11:28 AM
Hallo everyone,
I have another problem related to producing reports from MS SQL Server using Excel. I know how to put the results of a query in an Excel worksheet, but now I want to use the...
-
January 16th, 2007, 08:39 AM
OK, I removed the single quotes. Thx for the suggestion (as well as the other help)
Grtz,
ddebecke
-
January 16th, 2007, 04:12 AM
This is what I tried to do in my VBA script:
' Get the number of callers that made more than 5 calls
' Set up the SQL Statement
sqlstring = "execute dbo.PersonsWithMoreThanXCalls '5'"
...
-
January 15th, 2007, 11:10 AM
OK, I've found the answer.
For those of you interested, my stored procedure looks like this:
CREATE PROCEDURE PersonsWithMoreThanXCalls
@MinNbOfCalls int
AS
EXEC('SELECT COUNT(*) [People with...
-
January 15th, 2007, 07:58 AM
Thx Krzemo,
That is almost what I was looking for. But now I get as a column header
"People with more than @MaxNbOfCalls calls".
That is, the system does not seem to substitute the parameter...
-
January 12th, 2007, 04:49 AM
Here I am again with another question related to producing reports in Excel by querying a ms sql database. The answer to my previous question was satisfying (thx Krzemo), so I hope that will also be...
-
January 8th, 2007, 03:34 PM
Hi,
I would like to create some queries (actually, preferrably views) in ms sql server that allow for user input. The reason why I want this, is because I am trying to generate some reports about...
|
Click Here to Expand Forum to Full Width
|