Viewing 15 posts - 3,466 through 3,480 (of 15,381 total)
McSQL (12/12/2014)
(
DOC_NO NVARCHAR (10),
REV_NO NVARCHAR (5),
FILE_NAME NVARCHAR (20),
ADD1 NVARCHAR (10),
ADD2 NVARCHAR (10),
ADD3 INT
)
INSERT INTO MYTABLE (DOC_NO, REV_NO, FILE_NAME, ADD1, ADD2, ADD3)
SELECT 'ABC123', 'A', 'abc123.pdf', 'CON1', 'LOC1', 1 UNION...
December 12, 2014 at 9:38 am
mahi123 (12/12/2014)
i have been created procedure but i want data in select statements, because in front end code we have to pass optinal perameters something, s that...
December 12, 2014 at 8:32 am
I have about 4 ideas of what you might want from this. Can you put together some ddl and sample data in a consumable format? Also, if you can demonstrate...
December 12, 2014 at 8:30 am
Maddave (12/12/2014)
You could just use a replace in your select
SELECT REPLACE(<columnName>, '.','. ')FROM <tableName>
May not be efficient, but would work.
Actually if the data is consistent this is about the most...
December 12, 2014 at 7:19 am
Interesting question. It seems it was poorly worded since one of the correct answers is a statement of fact but the question ask what is the output. Also, the link...
December 12, 2014 at 7:13 am
ikrami2000 (12/11/2014)
Thank you it's working, but let me ask if this will work for any number of records ?
Sure it will work with more rows. Glad it is working...
December 11, 2014 at 3:11 pm
Eirikur Eiriksson (12/11/2014)
Quick and simple row_number solutionš
This looks pretty close to mine. Just before I posted my solution I saw that the OP wanted the closest date that was earlier...
December 11, 2014 at 12:59 pm
timotech (12/9/2014)
Please i need help in solving active connection problems in my office, we have roughly 22 people connected to one database. But after a while, their applications begin...
December 11, 2014 at 12:46 pm
vvinarov (12/11/2014)
Iām trying to write a query that will extract cost based on closest date (<= date passed by user), product and terminal from example below. Table has over million...
December 11, 2014 at 12:42 pm
JeeTee (12/11/2014)
Trying to do this with update triggers will make you prematurely bald.
+100000
December 11, 2014 at 8:53 am
OK this can be done without resorting to dynamic sql but it is kind of ugly. Notice I created the tables and sample data. This is something you should do...
December 11, 2014 at 8:48 am
sKreetz! (12/11/2014)
December 11, 2014 at 8:44 am
tomek tomek (12/11/2014)
Unfortunately,
i don't have enough knowledge to build my own website...
December 11, 2014 at 8:33 am
ikrami2000 (12/11/2014)
Outlet_IDDescription
1Soups
1Salads
1Appetizers
1Tempura
1Tataki
1Teppanyaki
2Teriyaki
2The Sakura Specialty
2Rice
2Noodles
and i need it to be :
Outlet_IDDesc1Desc2 Desc3Desc4
1 ...
December 11, 2014 at 8:22 am
tomek tomek (12/11/2014)
1. I need to encrypt set of strings in t-sql. These encrypted strings will be manually delivered to users.
2. Users have neither...
December 11, 2014 at 8:13 am
Viewing 15 posts - 3,466 through 3,480 (of 15,381 total)