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 SkipVought 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: *

  1. bertrandkis

    Data base migration

    Hi all, I have a SQL 2000 box with 60 databases and I need to move all the databases to a new sql 2005 box. What is the quickest way to do that?
  2. bertrandkis

    SQL2005 SSIS service

    I installed SQL2005 on a 64bits Dell server and apllied SP1 but the SSIS service did not install and does not even appear on the services lists. Although the BI dev studio is installed and I can Create packages but when I go to the management studio to connect to an SSIS server I get the error...
  3. bertrandkis

    Opening crystal report 11 from the web

    I have Crystal Reports 8 Web Component Server (WCsinsapi.dll) installed on my Win2000 running IIS. This allows me to host reports on the machine a open them from the Browser. Now I have a new group of reports that are designed in Crystal 11 and hosted on the same machine when I try to open them...
  4. bertrandkis

    Query a linked server from SQL2005

    I have installed sql server 2005 on a Windows 2003 box and Created a linked server to link to a SQL2000(SVRFOO) running on Win2000 box. When I try to run this query: select * from SVRFOO.databasedn.dbo.People against the linked server I get this message OLE DB provider "SQLNCLI" for linked...
  5. bertrandkis

    dts export to .csv

    You don't need to do anything special. Use the DTS wizard. From the Tools Menu in EM -> wizards -> Data transformation ->Export data. Choose your source database On the screen to specify the destination Choose text file in the drop down then specify the destination file naming it with a CSV...
  6. bertrandkis

    Drop down box Data binding

    Hello friends, I am trying to bind a dataset to a drop down box using the following code: strSQL= "SELECT RoleID ,FullName FROM CONTACT " Dim dsDataset As New DataSet Dim daAdapter As New SqlClient.SqlDataAdapter(strSQL, dbConnection) daAdapter.Fill(dsDataset) With cboContacts...
  7. bertrandkis

    SQL - Duplicate Rows

    This query will do the trick for you. This technique is called correlated subquery. select UniqueID, Tariff from dbo.BHT_QA8D_EXTRACT_Dec05 as T1 where Exists(Select Tariff from dbo.BHT_QA8D_EXTRACT_Dec05 as T2 where T1.UniqueID=T2.UniqueID and T1.Tariff...
  8. bertrandkis

    Trigger not rolling back transaction

    I have created the following trigger CREATE TRIGGER Learner_ITrig ON dbo.Learner FOR insert AS Begin if (select count(LearnerID) from learner where Learnerid=(select LearnerID from Inserted))>1 begin RAISERROR ('This ID already exists in the database', 16, 1) rollback tran end If...
  9. bertrandkis

    Showing Child Rows as a comma delimited string.

    Hey NoCoolHandle, Your UDF script is good but it's limited to the problem you wanted to solve because you have hard coded the column names and tables in the UDF "Select @v = @v + Firstname + ', ' From Firstnames where mid = @mid" so it cannot be used in a different scenario. However...
  10. bertrandkis

    xp_sendmail

    Thanks for the tip. However the Stuff() function will not work as the code is dymanic and I am using a Select * to generate the query because the column names and number of columns change. So what I need now is to change the Database collation before I generete the mail and then set it back to...
  11. bertrandkis

    Datetime Filter Problem

    Well I am glad that you have taken my idea one step further. As long as it works, the code is good. You deserve my *. Good work.
  12. bertrandkis

    Showing Child Rows as a comma delimited string.

    The key here is to understand how assigment into variables works.Since we ar on the subject, the following is an Excerpt from my SQL Bible: --A variable is a tempory memory location where a program stores data as it runs --2 Types of variables in MSSQL: Local and Global variables --A variable...
  13. bertrandkis

    xp_sendmail

    Hello folks, I am sending a email from sql server that consists of results of a query and that's working perfect. When I open the text file generated by xp_sendmail in notepad it's OK, but when I open it in MS Word or WordPad, I see garbage characters in form of squares added to the content. Is...
  14. bertrandkis

    Datetime Filter Problem

    I am disappointed that it did not work.Any way, the challenge now is to find the records that are causing the conversion to fail. To do that we have to proceed by elimination and test the data one partition at a time. For example you may select all records where the date is 02-04-2006, SELCT *...
  15. bertrandkis

    Datetime Filter Problem

    Your problem might be some records with date formats that SQL cannot convert into a proper datetime format. If you are sure that the entries in the SysEntryDate are consistent 1-3-2006 12:2:23, all you need is to extract the date part and then cast it to a datetime. You can use string functions...
  16. bertrandkis

    Tabcontrol Resizes beyond form size

    I am writting an app in vb.net. I have a form with a tabcontrol with 2 tabs only.At design time, the tab control size is smaller than the form,but when I run the application the tab control resizes itself beyond the form size such that I can't see the borders of the tabcontrol and some controls...
  17. bertrandkis

    Creating Cubes

    Thanks, I will try that. By the way, why do you want to be shot?
  18. bertrandkis

    Creating Cubes

    Hi folks, I am creating some datacubes on the dev server and I have to implement the cubes at a client once it has been tested.Is there a way to script the cube and just run the script file on the Client server without needing to recreate the cube from scratch and the calculated members? Thanks
  19. bertrandkis

    Calling a stored procedure

    Does any one knows how to call a stored procedure from a view? Is this possible?
  20. bertrandkis

    Database Restore failing

    Thanks for your reply. I found out that the file was corrupt. Thanks again.

Part and Inventory Search

Back
Top