Viewing 15 posts - 38,911 through 38,925 (of 59,072 total)
NEAL-464478 (4/12/2010)
and how i can create sister table with the specific sort order which will show like 2nd table, i am new to sql any help will be much appreciated.Thanks
Is...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 12, 2010 at 12:47 pm
BIMind (4/12/2010)
i tried row ID...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 12, 2010 at 12:45 pm
Stefan_G (4/12/2010)
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=66471
Here is the code:
DECLARE @IntDate INT
SELECT @IntDate = 20090117
dateadd(month,((@IntDate/10000-1900)*12)+((@IntDate/100)%100)-1,(@IntDate%100)-1)
But, the performance of this expression is actually slightly...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 12, 2010 at 12:41 pm
Based on what Lowell said, my recommendation is that you check the final table for the correct datatype. If you want, the CREATE TABLE statement for both tables... a...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 12, 2010 at 12:33 pm
lmu92 (4/12/2010)
SELECT colsFROM YourTable
where YourColumn like '%[0-9]%'
will return only rows with numbers.
SELECT cols
FROM YourTable
where YourColumn like '%[^0-9]%'
will return only rows at least...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 12, 2010 at 12:28 pm
hennie7863 (4/6/2010)
For a customer i have to investigate a table wich has more than 250 indexes on it.
hennie7863 (4/12/2010)
There are about 80 indexes on that table.
Heh... silly me. What's...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 12, 2010 at 12:23 pm
Nicely done, Paul. The impeccably timed/highly appropriate graphics, the simple code examples, and the straight forward "talk" make this a model for future articles. It was a pleasure...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 12, 2010 at 12:11 pm
jonathan.gregg (4/12/2010)
I'm really (I mean really) new to this so thanks for the info, I've learned a ton about Tally tables. However, I still don't understand how I get...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 12, 2010 at 12:04 pm
Bill Kline-270970 (4/12/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 12, 2010 at 11:51 am
This is precisely why I don't trust people with letters after their names. Tell your friend to do his/her own work and to earn the degree instead of faking...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 12, 2010 at 10:12 am
I think that the code that uses the table and the design of the databased needs serious review once it's moved. Perhaps the parental lineage of the vendor needs...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 12, 2010 at 7:33 am
Trouble Shooter (4/12/2010)
Hi,2 is the variable ,u can set as your requirement.
u can set it to 3 or 1 also as your requirement.
I know... but for only one set of...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 12, 2010 at 7:14 am
Trouble Shooter (4/9/2010)
use
"set rowcount 2"
it will show top 2 row of matching criteria out of 3,if there is 3 rows for that criteria and delete those row using delete...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 10, 2010 at 10:24 pm
On a serious note of my own, I sure hope this MCJ thing works out well because the posts I've seen lately from some people with letters after their name...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 10, 2010 at 10:17 pm
NEAL-464478 (4/10/2010)
well requirment suppose to show like 2nd table, order by processdataID
There's nothing to sort on in the first table to present the data in the order of the second...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 10, 2010 at 8:18 pm
Viewing 15 posts - 38,911 through 38,925 (of 59,072 total)