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 Mike Lewis 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: Kenos
  • Order by date
  1. Kenos

    Is there an easy way to find if table exists in a database?

    Using the Master database is there a way to return a value if a table exists in a different database. Any help would be great. Currently I am trying to get it this way. DECLARE @vCharDatabaseName varchar(255) SET @vCharDatabaseName = 'MyDatabase' /* @vCharDatabaseName is passed into the SP...
  2. Kenos

    Fedex Direct API

    Toga, Post you request to FEDEX test server https://gatewaybeta.fedex.com/GatewayDC You will need to fill in your FEDEX account information below and package info. hope this is what you need. <?xml version="1.0" encoding="UTF-8" ?> <FDXRateAvailableServicesRequest...
  3. Kenos

    Can anyone Debug a sql statement

    Place a double quote at the end of your statement.
  4. Kenos

    MSDE database help,

    For everyone out that may need to do this In SQL Management under Jobs Created Job Step 1. T-SQL Script Use Master DECLARE @result int EXEC @result = sp_detach_bd '<name of database>','true' If (result = 0) PRINT 'Success' ELSE PRINT 'Failed' SETP 2. T-SQL script Use master DECLARE @result...
  5. Kenos

    MSDE database help,

    Issue: I have a MSDE SQL database that needs to return it to the original state after it is shown to customers. I would like to create a job that will Detach the database, Copy the .mdf and .ldf file from a backup location located on the same machine Attach the database. Question: If I use...
  6. Kenos

    What is the Best way to

    Hello Everyone I have over 130 databases that are exactly the same, (Different Data) I need to drop a Column in a single table table = Products Column = Old_CAT_ID Is there a way to create a stored PRoc to cycle all databases and drop just one Column Thanks
  7. Kenos

    Return Multi Rows to one Colunm

    Thank You for your response dky1e When I first tried it it returned a null value Then I added this to it declare @names varchar(256) Select @Name = '' select @names = @names + ItemName + ',' from table select 1 As ID, @names As Items And it worked Great Thanks for all your Help (Mental...
  8. Kenos

    Return Multi Rows to one Colunm

    Hello Every one, I have a table that has four records in it ID, Item , ItemName Values 1, type1, Name1 2, type2, Name2 3, type3, Name3 4, type4, Name4 Output Needed Is this ID, ItemName 1,'name1,Name2,name3,Name4' Thanks in advance Any help would be greatly appreciated
  9. Kenos

    Emergency Help Needed (DTS PACKAGE)

    I have been writing a DTS package using the Eval Version of SQL The trial period has expired and I cannot install a full version on my Windows Pro System The Question is: Can I retrieve the DTS Package from a file to import into my Full Version of SQL?
  10. Kenos

    Is there an easier way to handle this Replace method?

    Thanks Zhavic This Function works Great Thanks for the Help
  11. Kenos

    Is there an easier way to handle this Replace method?

    I have phone numbers in a nvarchar(20) Column I need to remove all Non numeric Characters and remove extra number leaving a 10 digit number Is there to replace using like % a-z % This is what I am using now CONVERT(...
  12. Kenos

    Problem With Replace Function

    V_SQL = V_SQL & &quot;RTrim(LTrim(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE((SELECT ParentName From CategoryParentLookUp WHERE Product.CategoryID =MainID),',','<\Co>'),CHR(34),'<\DQ>'),CHR(13),''),CHR(9),''),CHR(10),''))) AS MainCategory From PRODUCT I get this Error. Undefined function 'REPLACE'...
  13. Kenos

    Need Help Selecting Values, Based on a Single Field in same Table

    Thanks you very much swampBoogie, Now I can enjoy the weekend
  14. Kenos

    Need Help Selecting Values, Based on a Single Field in same Table

    I have one table that holds Billing and Shipping information There is a Bit set to true if the Billing is the same as the Shipping Here is what I need to do If Bit = true Show shipping info If Bit = False Show billing info Fields are BillingFirstname ,BillingLastName, ShippingfirstName...
  15. Kenos

    Is it possible to compact database from a web page?

    Thank You baddos This is Great.
  16. Kenos

    Is it possible to compact database from a web page?

    Hello All, Is it possible to compact an Access database from a web page? I have searched and have not found anything on this Subject Thanks In Advance
  17. Kenos

    Need to Change the Identity Value

    Thank You tlbroadbent This works well
  18. Kenos

    Need to Change the Identity Value

    Hello All I have an Identity Field and it starts at 1 I want to set this value to 10000 Without inserting Data The Identity Field is 2000 Now These values are already created and have data in them Can this be done? Thanks In Advance
  19. Kenos

    Update Table Using Stored Procedures Problem

    Thanks tlbroadbent This works great

Part and Inventory Search

Back
Top