| Thread | Last Post | Replies |
|
| Resultset | 31 Mar 2008 23:32 GMT | 8 |
Here is what I'm looking for... I'm looking to get the MAX(OP) , DEPT and DESCRIPTION for this data table (pretty easy). But.. I have an exception table that allows me to override the OP calculated from this query. IE Part Number 17377's MAX(OP) is 060 MILL MFG LUG, but I have ...
|
| perform calculation on previous row | 31 Mar 2008 22:39 GMT | 10 |
I have this table with columns A & B A B 1 100 2 300
|
| Select Top n records and Group By | 31 Mar 2008 22:23 GMT | 8 |
I have a table that is storing records every minute and I want to select the last n rows and then do a group by on just those records. Below is what I'm using to select the last n rows. When ever I add the group by, it is selecting all the rows in the table. How do I apply
|
| date problem | 31 Mar 2008 16:03 GMT | 6 |
dear sir/madam 1. select ParticipantName,Email,City,BoutiqueOffice,OthersOffice,Mobile,Sex,AboutParticipant,Friendtalent,category,OthersCategory,MyName,Number1,DateSubmit from TanishqBAM_Nominate where dateSubmit = '3/31/2008'
|
| Can funcion return integer OR numeric value? | 31 Mar 2008 15:48 GMT | 4 |
I need a function to help me clean data from char type to int/numeric type There are two kinds of data One is integer,like age,quantity
|
| How to execute a stored procedure from a .net assembly??? | 31 Mar 2008 14:11 GMT | 8 |
I have .net assembly that i have registered with the sql server that needs to provide the front end some information. This information is compiled by the object (.net class) by executing few other stored procedures internally.
|
| help with selecting the greater value between to fields to be one returned value | 31 Mar 2008 08:48 GMT | 1 |
I have need to return in a select statement a value that could be either the calculated value or a permitted max value from a table. By this I mean the following Select tbl_shelf.width * tbl_shelf.depth as [Area], tbl_machine.maxArea from
|
| sp_send_dbmail with attachment issue | 31 Mar 2008 06:07 GMT | 3 |
I'm using SQL Server 2005 And I have (based on Northwind) configured theDatabase mail EXEC msdb.dbo.sp_send_dbmail @profile_name = 'Mail',
|
| Output Parameter vs Return Value vs SELECT performance in SP | 30 Mar 2008 23:35 GMT | 5 |
I have a general question about any performance benefit in returning value from stored procedureas Output Parameter, Return Value or using SELECT statement. Do you guys prefer any of the above options to return value due to
|
| Distributed Transactions | 30 Mar 2008 15:24 GMT | 2 |
I'm doing some reading on remote stored procedures and the text I am reading states: The processing done by the remote procedure is, by default, not done in the local transaction context. If the local transaction rolls back, modifications performed by the remote store procedure ...
|
| moving averages | 30 Mar 2008 14:06 GMT | 18 |
any simple code or SQL for creating moving averages, basically want to create 30 and 60 day moving averages of events over time with moving averages
|
| How to retrieve tables & columns which are related to column names in stored procedure? | 30 Mar 2008 12:19 GMT | 3 |
I need to get relation between columns which my stored procedure returns and tables and columns which are used in my stored procedure. How to get that? See example below. I use SS2005, SP2.
|
| MS SQL 2005 database names... connecting is "sometime" case-sensitive??? | 30 Mar 2008 09:43 GMT | 3 |
Ok... tell me how strange this is: I'm using asp.net 1.1 (and ado.net) with a connection-string like this:
> Data Source=123.123.123.123; Initial Catalog=Testdb; User Id=myname; > Password=mypassword; |
| UNION syntex or better method | 30 Mar 2008 01:43 GMT | 4 |
I have two table, Income_tbl and Expense_tbl. I am trying to create a simple query to get income and expense. What I have works but does not give the "exact" result I am looking for. (The query is a little more complex then shown below as it joins
|
| sql2005 express | 29 Mar 2008 20:54 GMT | 1 |
I have several installations of sql2005 and all is well. Until recently I installed on a Vista Business laptop. Now I can create a database or do anything else. I gte an error message that I have no permissions on the master database.
|