Advertisement
Advertisement
| 02.21.2008 at 03:19PM PST, ID: 23183007 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: |
if len(rs("SSN")) < 9 then
for i = 1 to 9
rs("SSN") = "0" & rs("SSN")
next
elseif len(rs("SSN") ) = 0 Then
rs("SSN") = "122121212"
End If
rs("Import Date") = Now()
rs("Name")='" & Trim(Replace(rs("Name"), "*", " ")) "',"
|
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 02.22.2008 at 07:55AM PST, ID: 20958494 |
| 02.22.2008 at 08:07AM PST, ID: 20958642 |
| 02.22.2008 at 08:13AM PST, ID: 20958718 |
| 02.22.2008 at 08:21AM PST, ID: 20958831 |
| 02.22.2008 at 09:56AM PST, ID: 20959696 |
| 02.22.2008 at 10:06AM PST, ID: 20959791 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: |
UPDATE titles
SET price =
CASE
WHEN (price < 5.0 AND ytd_sales > 999.99)
THEN price * 1.25
WHEN (price < 5.0 AND ytd_sales < 1000.00)
THEN price * 1.15
WHEN (price > 4.99 AND ytd_sales > 999.99)
THEN price * 1.2
ELSE price
END
|
| 02.22.2008 at 10:12AM PST, ID: 20959839 |
| 02.22.2008 at 10:20AM PST, ID: 20959906 |
| 02.22.2008 at 10:24AM PST, ID: 20959928 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: |
UPDATE YourTableName
Set SSN = CASE
WHEN SSN Is Null Or LEN(SSN) = 0 THEN '122121212'
ELSE RIGHT(REPLICATE('0', 9) + SSN, 9) -- Covers the case when the length is 1 through 8
END,
[Import Date] = GETDATE(),
Name = LTRIM(RTRIM(REPLACE(Name, '*', ' '))),
[GIFT CARD AMT] =
CASE [AGENT CODE]
WHEN '1004' THEN 100
WHEN '1005' THEN 1000
ELSE NULL --Explicitly set to Null
END
WHERE LEN(IsNull(SSN, '')) < 9
|