Viewing 15 posts - 121 through 135 (of 272 total)
UMG Developer (6/6/2010)
Though I would have to say I would have made one of the choices "One row displaying the value 1",...
June 7, 2010 at 7:58 am
1) You must sort your output or use an index on your MainTable.
2) Use ISNULL() or COALESCE to handle the null value.
SELECT ISNULL(Events,'') FROM #TEMP --...
June 1, 2010 at 12:47 pm
Great question. This is what the QOD is all about. A great explanation of the answer as well.
June 1, 2010 at 12:38 pm
Music is my hobby. I am a part time musician. I play between 65 and 75 shows a year. But it's not enough money to pay the...
May 28, 2010 at 9:32 pm
You should be able to run x32 version of SQL on 64 bit OS. You cannot run x64 version of SQL on 32bit OS.
May 27, 2010 at 12:57 pm
grant alter on [InsertViewnameHere] to [InsertUserAccountHere]
Should allow the user to alter the views. Apply this to the views the user has created.
Remove the db_owner priviledge.
I would grant...
May 26, 2010 at 8:22 am
select CONVERT(varchar(11),DATEADD(YY,-1,getdate()),101) -- would give you last year.
May 25, 2010 at 12:34 pm
select CONVERT(varchar(11),getdate(),101) -- produces 05/25/2010
select CONVERT(varchar(11),getdate(),108) -- produces 20100525
May 25, 2010 at 12:31 pm
You could introduce bottlenecks to slow down the process.
You could move the database to slower hardware.
You could change how you define a transaction in your application.
You could remove all indexes...
May 24, 2010 at 3:54 pm
I used to work for an organization that had a rule that if you got stuck on a problem for more than 10 minutes, you were required to grab someone...
May 20, 2010 at 10:46 am
From OBJECTPROPERTY BOL:
The Database Engine assumes that object_id is in the current database context. A query that references an object_id in another database will return NULL or incorrect results...
May 19, 2010 at 1:35 pm
I suspect you're failing your if test. Check the value of your variables:
set @checkbox = (select att1 from pdt_first_time_homebuyers_Club_View where client_id = @client_id and pd_id = @pd_id)
select @checkbox...
May 19, 2010 at 1:30 pm
We use Data Integrator because it does something we need that SSIS does not do. We get packed decimal from our data supplier and Integrator can read the copylib...
May 18, 2010 at 11:10 am
Just FYI, CONCAT_NULL_YIELDS_NULL will always be on in future versions of SQL Server.
April 30, 2010 at 11:35 am
My problem is that I overthink the answer.
To me the answer was yes, the suggested scenario would work. It seemed obvious. It seemed it couldn't be that simple....
April 30, 2010 at 9:04 am
Viewing 15 posts - 121 through 135 (of 272 total)