Viewing 15 posts - 8,221 through 8,235 (of 9,641 total)
I have to agree with MentalWhiteNoise (great moniker by the way). That query is simpler and I am going to guess it returns the same data.
You could also use...
July 28, 2008 at 2:21 pm
You cannot use variables for column names, table names, etc... In order to do what you want you would need to use dynamic SQL.
Set @sql = 'Drop Table '...
July 28, 2008 at 2:18 pm
Unfortunately the forum does not like to show HTML/XML in posts so we cannot see the code. Your best bet is to zip the rdl file and attach it to...
July 28, 2008 at 2:03 pm
How can someone update a row they cannot see?
How do you abuse select?
Yes you can grant insert and update without select. I am of the opinion that you control access...
July 28, 2008 at 1:55 pm
I think this does what you need (I set dateformat because my machine is not set to dmy):
[font="Courier New"]SET DateFormat dmy
DECLARE @episodes TABLE(id INT, Source VARCHAR(20), DateSampleTaken DATETIME)
DECLARE @PositiveSamples TABLE(id...
July 28, 2008 at 8:03 am
If you are really in SQL Server 2005 then you could use the varchar(max) data type.
Could you explain how you are doing the import (SSIS, DTS, Linked Server,...
July 28, 2008 at 7:45 am
Yes your low cache size is causing this. How much memory is on the server and what is SQL Server configured to use? Are there any other applications...
July 28, 2008 at 7:29 am
or:
[font="Courier New"]SELECT
Table_Schema,
Table_Name,
Column_Name,
Data_Type
FROM
information_schema.columns
WHERE
table_name = AND
table_schema = [schema][/font]
July 28, 2008 at 7:27 am
You need to enable 64-bit ASP.NET. Here is an MS KB Article that discusses how to do it, http://support.microsoft.com/kb/894435
July 28, 2008 at 7:22 am
YOu need to add the port to your connection servername\instance, port
July 28, 2008 at 7:18 am
It depends on what you want to do. In your first option you are only going to get the column from the first row returned (could vary based on...
July 28, 2008 at 7:14 am
You do not need to open the package on the server. You can open it from any PC with BIDS installed by creating an SSIS project and selecting ADD...
July 28, 2008 at 7:08 am
I think there will always be opportunities for competent Technical people, because no matter how simple a computer or software product is to use it still needs to be designed,...
July 28, 2008 at 7:03 am
It is not a best practice to add index and join hints to queries in SQL Server. With each release the Query Processor has gotten better and usually makes...
July 28, 2008 at 6:57 am
Viewing 15 posts - 8,221 through 8,235 (of 9,641 total)