Viewing 15 posts - 22,216 through 22,230 (of 26,490 total)
What has been asked can be done without a cursor or while loop. What we are looking for is why this needs to be done in the database. ...
March 2, 2009 at 2:38 pm
Looking at BOL, NULL is returned on error or if a caller does not have permission to view the object.
That makes permissions another area to consider, depending on what user...
March 2, 2009 at 2:10 pm
I ran your code on my development server, and it worked fine. I have to ask the question, are you sure all the databases were started? That is...
March 2, 2009 at 2:02 pm
Roy Ernest (3/2/2009)
Add me to the list of Curious."Curiosity killed the cat" they say..:)
Satisfaction brought him back...
March 2, 2009 at 1:46 pm
GilaMonster (3/2/2009)
1) http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=1207362) http://www.sqlservercentral.com/Forums/Topic666657-266-1.aspx
Why do people have no backups, no regular backups, no offsite backups, etc, etc.
I've been fighting that fight here. How about:
1) Off-site storage costs too...
March 2, 2009 at 1:45 pm
Let's up the numbers. I'm curious as to why you need to do this as well.
March 2, 2009 at 1:38 pm
I noticed this is cross posted here.
Is this a SQL Server 2005 or SQL Server 2000 problem?
Edit: Additional info has been posted on the other thread. Please direct...
March 2, 2009 at 1:35 pm
Mani (3/2/2009)
SELECT CONVERT(char(20), SERVERPROPERTY('LicenseType')); and its showing output as DISABLED.What this mean? we have sql server 2000 standard edition with SP4
I don't really know. I get the...
March 2, 2009 at 1:23 pm
Just noticed that this is double posted here.
Is this a SQL Server 2000 or SQL Server 2005 question?
March 2, 2009 at 1:17 pm
GSquared (3/2/2009)
declare @Date datetime;
select @Date = '3/5/09';
select
case datepart(weekday, @Date)
when 2 then dateadd(week, -1, @Date)
else dateadd(day, -1 * datepart(weekday, @Date), @Date) + 2
end as SDate,
case datepart(weekday, @Date)
when 2...
March 2, 2009 at 1:06 pm
What is the value returned by the following query on your system?
select @@datefirst
March 2, 2009 at 12:46 pm
More laws aren't the answer, unfortunately. It seems we have a hard enough time enforcing the ones we already have on the books.
What is needed is more people with...
March 2, 2009 at 12:42 pm
karthikeyan (3/2/2009)
Hi All,I have one senario.
if i give like
3/5/09, then need to get 3/2 through 3/5.
if i give like
3/2/09 then i need to get 02/23/2009 through 02/27/2009
Inputs are welcome!
I'm...
March 2, 2009 at 12:37 pm
Give this a try:
select serverproperty('LicenseType')
March 2, 2009 at 12:29 pm
Viewing 15 posts - 22,216 through 22,230 (of 26,490 total)