Viewing 15 posts - 121 through 135 (of 315 total)
Just want to point out that ISNUMERIC and ISDATE is not reliable
SELECT ISNUMERIC('12d5'),ISDATE('2000')
December 2, 2008 at 7:11 am
This may help you
declare @files table(dbname varchar(100), filename varchar(1000))
insert into @files
exec sp_msforeachdb 'select ''?'', filename from ?..sysfiles'
select dbname,min(left(filename,1)),max(left(filename,1)) from @files
group by dbname
having min(left(filename,1))<>'E' or max(left(filename,1))<>'F'
Note that sp_msforeachdb is undocumented which...
December 1, 2008 at 5:43 am
Insert into TableB(columns)
Select columns from TableA
Where TransDT between '01-Dec-2008 07:00:00' and '01-Dec-2008 18:00:00'
December 1, 2008 at 4:23 am
shailesh (11/30/2008)
Hi Mh,Try this....
cast(convert(varchar,cast(datecolumn as smalldatetime),101) as smalldatetime)
Thanks
Shailesh
Have you read previous replies? 😉
December 1, 2008 at 4:14 am
T Lehtinen (12/1/2008)
I have this kind of data (about 40 000 rows)
id; keywords
1;horse, red, farm
2;cat, white, farm
3;dog
4;dog, farmer, farm, evening
How do I sererate those keywords into rows? in T-sql?
relults...
December 1, 2008 at 4:06 am
grovelli (12/1/2008)
Can you use the Case statement in Access?
You can use TRANSFORM function in ACCESS to generate Cross-tab reports
December 1, 2008 at 4:02 am
dana_turcanu1981 (12/1/2008)
Hy.I need a temporary table that loks like this:
Col1
1
2
3
4
5
Can I create it with a select statement? I wouldn't like to use a "for"
Thanks
Do you want to create a number...
December 1, 2008 at 3:56 am
It must be faster. If not compare the execution paln by applying these
http://sqlblogcasts.com/blogs/madhivanan/archive/2008/09/12/return-top-n-rows.aspx
December 1, 2008 at 3:53 am
November 27, 2008 at 4:48 am
November 27, 2008 at 4:34 am
Viewing 15 posts - 121 through 135 (of 315 total)