Viewing 15 posts - 2,341 through 2,355 (of 3,011 total)
It's probably better to avoid using a reserved word, like INDEX, for a table name.
May 1, 2008 at 9:06 am
I think some of the more important reasons to maintain all the data in one database are transactional integrity and referential integrity. Doing a restore to a common, consistent...
May 1, 2008 at 7:33 am
Why not just call it a NUMBER table, since that's what it contains? Well, it's really integers, but INTEGER is a reserved word...
(Shameless plug for my own Number Table...
April 30, 2008 at 7:49 pm
Both of these should work
... rest of query...
order by
ProviderNameLF
or
... rest of query...
order by
1
April 30, 2008 at 4:34 pm
I am not sure I understand what you are asking for help with.
Are you asking for help with finding or resetting the SA password?
Are you asking for help with how...
April 30, 2008 at 4:04 pm
lavani.sari (4/30/2008)
I did a dbcc reindex on the table...and then it worked..pages were torn somewhere i guess..Incidentally we had a...
April 30, 2008 at 3:06 pm
I think you will find that the following statement will fail on any SQL Server:
select dateadd(dd,-1,'17530101')
You will need to look at your data to find the rows it fails on.
April 30, 2008 at 2:04 pm
This is probably the fastest method, because it uses only one date function call:
Select
MyDate = dateadd(month,(12*a.MyYear)-22801+a.MyMonth,a.MyDay-1)
from
(
--Test Data
Select MyYear = 2008, MyMonth = 12, MyDay = 31
) a
Results:
MyDate
-----------------------
2008-12-31 00:00:00.000
(1 row(s) affected)
Here...
April 30, 2008 at 1:53 pm
I don't see how that view could return NULL. Do you really mean that it is not returning any rows?
You might want to look in detail at the content...
April 29, 2008 at 3:54 pm
You should post Access questions on the Microsoft Access forum.
This forum is for questions about Microsoft SQL Server 2005.
April 28, 2008 at 7:38 pm
You can use the function on the link below to create a date table for any range of dates you need.
You can either use it like a table in your...
April 28, 2008 at 4:33 pm
Are you using SQL Server 2005?
FORMAT is not a valid SQL Server function.
April 28, 2008 at 4:24 pm
People put the time and effort into things they think will be of value. If not that many people are getting it, then they must not think it is...
April 18, 2008 at 3:07 pm
First, locate all the SQL Servers.
Then, look at each SQL Server to see what databases are on it.
April 18, 2008 at 12:10 pm
This should do what you want:
select right(convert(bigint,convert(varbinary(16),newid())),10)
April 17, 2008 at 12:21 pm
Viewing 15 posts - 2,341 through 2,355 (of 3,011 total)