I got list of the date that have double qoute. Item_Description Table"BACARDI GOLD 1.0L"
"DUNHILL RED KSF"
"PASSPORT 0.75L"
"MILD 7 CHAR FILTER BOX"
"DEWARS WHI 12YRS 1.0L"
I wana write query that read if item description have double qoute and replaced with nothing and display the string without the double qoute..How to write the query in SQL? - update * from dbo.MMM_Product_Item
-
set Description=' '
SOMEONE HELP ME!!
4 5879 gpl 152
New Member
Look up the REPLACE function
Hai Gpl,
Replace function in SQL query can be done?
- Select Replace(Description,'"',' ')
-
From dbo.MMM_Product_Item
Hai kindly help me on this...wheater its correct or not
- INSERT INTO NewItemFromSheet ( Prod_Category_Code, Prod_Brand_Code, Prod_Brand_Desc, Prod_SubCat_Code, Prod_SubCat_Desc, Item_Type, Acc_Set, Item_Description, [Retail _Price_RM], Unit_Cost_RM, Vendor_Code, Package_Unit, Unit, Qty_Of_Unit_Packing, Tax, Sale_Qty_By_Month, Custom_Code, Measurement, Unit_Code )
-
SELECT [Chinastk2Master].[Prod_Category_Code] AS Expr1, [Chinastk2Master].[Prod_Brand_Code] AS Expr2, [Chinastk2Master].[Prod_Brand_Desc] AS Expr3, [Chinastk2Master].[Prod_SubCat_Code] AS Expr4, [Chinastk2Master].[Prod_SubCat_Desc] AS Expr5, [Chinastk2Master].[Item_Type] AS Expr6, [Chinastk2Master].[Acc_Set] AS Expr7, [Chinastk2Master].[Item_Description] AS Expr8, [Chinastk2Master].[Retail _Price_RM] AS Expr9, [Chinastk2Master].[Unit_Cost_RM] AS Expr10, [Chinastk2Master].[Vendor_Code] AS Expr11, [Chinastk2Master].[Package_Unit] AS Expr12, [Chinastk2Master].[Unit] AS Expr13, [Chinastk2Master].[Qty_Of_Unit_Packing] AS Expr14, [Chinastk2Master].[Tax] AS Expr15, [Chinastk2Master].[Sale_Qty_By_Month] AS Expr16, [Chinastk2Master].[Custom_Code] AS Expr17, [Chinastk2Master].[Measurement] AS Expr18, [Chinastk2Master].[Unit_Code] AS Expr19
-
FROM Chinastk2Master
-
-
-
-
Select [Chinastk2Master].[Item_Description],replace [Chinastk2Master].[Item_Description],'"','')
-
from Chinastk2Master
-
-
Update Chinastk2Master set [Chinastk2Master].[Item_Description] = replace( [Chinastk2Master].[Item_Description],'"','');
-
Kindly help me how i can use the item description condiction and put in the first query
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Alden Streeter |
last post by:
Here is the HTML that is being output by my asp page:
<a href='Files/category/computers/bigimages/computers-sub-monitors.jpg'
target='_blank' onMouseOver="window.status='Click for a larger image...
|
by: davegraham_1998 |
last post by:
Hi All-
I'm pretty sure this have been discussed earlier, but couldn't find a
solution to my problem.
<input type="submit"
value="Delete Parts"
onclick="return handleDeleteParts('ABC', 'MY...
|
by: Ahmad A. Rahman |
last post by:
Hi all,
I have a problem constructing a regular expression using .net.
I have a string, separated with comma, and I want to group the string
together but, I failed to group a numeric character...
|
by: fred |
last post by:
Hi,
is there a way to put " (double quote) into a verbatin
string?
thank you
|
by: Kevin Thomas |
last post by:
Hi there,
If I have a string var, strFoo that contains double-quotes such that it
looks like this: I "love" VB
What do I pass into the "replace" method to replace the double-quotes with...
|
by: Huy |
last post by:
I've been unable to find information clarifying this but. What is the
difference between 'somestring' and "somestring"? When I use type() it
still reports as string. If there is a difference...
|
by: John Sitka |
last post by:
32.0 transformed to 000000320000000000
I guess the above would be equivalent to an numeric(18,10) datatype
the first 8 digits represent the whole part of the double
the last 10 represent the...
|
by: zacks |
last post by:
I need to check the current value of a string value to see if it
either starts with or ends with a double quote character, as in
"123" (where the quotes are actual contens of the string). I thought...
|
by: yogi_bear_79 |
last post by:
I have a double of unknown length that I need to split at the
decimal. I thought I would convert it either to a string or a char.
char seems to be the best since it easily lends itself to...
|
by: Lior Bobrov |
last post by:
Hi ...
How to convert a variable of type Double to String , *preserving* the
original value of the Double variable , as is , in a short (convenient) way
?
For example , if there are two...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |