Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: sRockyHill
  • Order by date
  1. sRockyHill

    Same query different result?

    Hi, I am confused on these query, why I get different result? 883782 vs. 901223 Thanks -- Total COUNT Return - 883782 SELECT Count( Transaction_ID) FROM (SELECT DISTINCT Transact.Transaction_ID, convert(varchar(10), Date_RUN, 101) as Date_RUN, City_RUN, Gender_RUN, Age_RUN, Service_RUN...
  2. sRockyHill

    Update query

    Individual Index fields are Service_Run, Transaction_ID, Date_RUN No clustered index
  3. sRockyHill

    Update query

    Hi, This update query very slow to do a update, 12 gigabyte databse, sql server 2000, windows server 2003. UPDATE CallStat.dbo.RUN SET Service_RUN = ''' + @Good + ''' WHERE Transaction_ID = ' + @Bad + ' AND Date_RUN BETWEEN convert(DATETIME, ''' + @Date1 + @vsTime + ''') AND...
  4. sRockyHill

    SQL SERVER 2K Delete current in use users or Session

    Thank you All - I tried solutions from DBAWinnipeg, and JayKusch. Both solution works well. Thank you
  5. sRockyHill

    SQL SERVER 2K Delete current in use users or Session

    Hi, I want to delete a database everynigth. Sometime it works when no users are in use. If database in use, I can't delete this database. Can you please give me a code - stored procedure that will terminate or Kill this active or sleep user from this database. Thank you
  6. sRockyHill

    Attach

    I dettach the database, and deleted .ldf file. I try to attach database again and gives following error. Error 1813: Could not open new database 'ReferReports' Create database is aborted. Device activation error. The physical file name 'D:mssql$surfin\logs\referreports_log.ldf' may be...
  7. sRockyHill

    Execute

    I think it works fine now. Thank you
  8. sRockyHill

    Execute

    They will be deleting 1 IssueNo at a time. I get an error message: Error 209: Ambiguous column name 'IssueNo' CREATE TRIGGER UpdateIssueNo ON [dbo].[IssueTable] AFTER DELETE AS UPDATE it SET IssueNo = (IssueNo)-(1) FROM dbo.IssueTable AS it INNER JOIN Deleted AS del ON...
  9. sRockyHill

    Execute

    Hi, I need to execute this tsql code: UPDATE IssueTable SET IssueNo = (IssueNo)-(1); WHERE (CaseID = ?) This could be a trigger or something else... When a case worker delete a Issue Number = 1, we need to reset the IssueNo to 1, 2, 3. We have to have sequence 1, 2, 3... They can delete...
  10. sRockyHill

    Split

    Hi, I have a memo field that has a value - ©1st Time User©©Special Need©©TFA© I need to split the value to say ©1st Time User© ©Special Need© ©TFA© Thank you
  11. sRockyHill

    onkeypress

    Hi All - I have developed a web form that has web text fields. How do I implement onkeypress events? We are having a few problems with the <enter> key and also with tabbing from a form that initialized on a specific field. The form does not navigate as expected? Please help. - Thanks
  12. sRockyHill

    Security

    ...<allow roles = "BUILTIN\Administrators" users"BUILTIN\Administrator" /> <deny users="*" /> </authorization> We want to authenticate the windows based users. Is this the proper code for the config file. Can you can provide some steps for windows...
  13. sRockyHill

    How to enter value in textbox by selecting from combobox

    text1.text = items.selecteditem or Selectedvalue
  14. sRockyHill

    onEnter

    Hi, My form is a form.aspx . This page don't have a keydown event.
  15. sRockyHill

    Table, and Field name

    Hi, How can I write a query that will return a table names ,a nd its field names. something like this: Select Name from dbo.sysobjects where xtype = 'u' AND NAME NOT IN('dtproperties') This only return table name, I need the table names with field names. Thank you Salim Bhura
  16. sRockyHill

    onEnter

    When I hit Enter instead of a Tab key, then my web application go to another form. I would like to the next field. Or Operate as a tab key. How do I make this to work. This application is written in vb.net. Thank you Salim Bhura
  17. sRockyHill

    onEnter

    When I hit Enter instead of a Tab key, then my web application go to another form. I would like to the next field. Or Operate as a tab key. How do I make this to work. Thank you Salim Bhura
  18. sRockyHill

    Dialog box

    I would like to insert a title to display my company name in a DIALOG BOX. Sample: Like to Insert a *** TITLE *** HERE <SCRIPT type="text/javascript"> function FulfillmentNullDateCheck() {parent.alert("Fulfillment has been sent; cannot modify activity.");} </SCRIPT>
  19. sRockyHill

    Text Field Cache

    This is web form vb.aspx.net page. We have a text field of Zipcode that onchange we would like to get a town in the next field. It works when I enter a zipcode and tab it to the next field. However it will not work if I select from the cached zipcodes.
  20. sRockyHill

    Text Field Cache

    Please help us with this one..... How do you dispose of information in a text field cache?

Part and Inventory Search

Back
Top