Viewing 15 posts - 7,456 through 7,470 (of 15,381 total)
This returns the rows in the order you want according to your sample data.
drop table #mytable
create table #mytable
(
ID int,
Value varchar(20)
)
INSERT INTO #mytable
(ID,...
July 22, 2013 at 10:03 am
davdam8 (7/22/2013)
Not working buddy
In your sample data you don't have any NULL values. They are all empty strings.
July 22, 2013 at 9:57 am
In addition to what Luis posted you need to check out this article. http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/%5B/url%5D
It explains how to avoid some major performance issues with search type queries.
July 22, 2013 at 9:24 am
Like this?
select Date, Item, Sales, 'WEN01' as SomeColumn
from SomeTable
July 22, 2013 at 9:20 am
octavuslimited (7/22/2013)
July 22, 2013 at 8:58 am
I would drop the column with clear text. You have two copies of this information now, 1 is encrypted and the other is not. If the only column you have...
July 22, 2013 at 8:51 am
Why do you need to have both encrypted and clear text columns? This defeats the whole point of column level encryption. You haven't protected the sensitive information at all this...
July 22, 2013 at 8:09 am
In order to help we will need a few things:
1. Sample DDL in the form of CREATE TABLE statements
2. Sample data in the form of INSERT INTO statements
3. Expected results...
July 22, 2013 at 8:02 am
The biggest issue you have here is that your trigger is flawed. It will only handle single row inserts. Also, from the code you posted I don't see any reason...
July 22, 2013 at 8:01 am
In order to help we will need a few things:
1. Sample DDL in the form of CREATE TABLE statements
2. Sample data in the form of INSERT INTO statements
3. Expected results...
July 22, 2013 at 7:41 am
Here is a good article that explains this common misconception and provides an easy to follow example of ordering with no order by clause going wrong.
July 22, 2013 at 7:23 am
I want to upgrade my logic with your valuable help , what is the usefulness of the encryption which I performed on the particular column.?
The data is now encrypted at...
July 19, 2013 at 2:54 pm
Well you know have kind of shifted gears. At first you wanted to protect the data. That is a good idea with any sensitive information. It sounds like you have...
July 19, 2013 at 2:07 pm
Sarah Johnston (7/19/2013)
July 19, 2013 at 1:51 pm
riya_dave (7/19/2013)
i need while loop ,but my question is do i need to declare different variables each time
As I said before, you cannot use the same name declared multiple times...
July 19, 2013 at 1:42 pm
Viewing 15 posts - 7,456 through 7,470 (of 15,381 total)