Viewing 15 posts - 136 through 150 (of 242 total)
DECLARE @T Table (ID int , name varchar(50))
INSERT INTO @T
Select 1,'br' UNION
Select 1,'er' UNION
Select 2,'rt' UNION
Select 3,'yh' UNION
Select 2,'uj' UNION
Select 3,'iu' UNION
Select 3,'ol'
Select ID,Name From
(SELECT ID,Name,Row_Number() OVER ( Partition...
July 15, 2008 at 5:07 am
You can replace SUM by COUNT
July 15, 2008 at 4:36 am
Hi Santosh,
A new feature in SQL Server 2005, Database Mail, is an enterprise solution for sending e-mail messages from the Microsoft SQL Server 2005 Database Engine.
To use Database Mail, you...
July 15, 2008 at 3:59 am
Hi Sol,
Try this
DECLARE @a varchar(10),@b varchar(10)
SET @a='1'
SET @b-2='1 '
if QUOTENAME(@a) = QUOTENAME(@b)
print 'True'
else
print 'False'
July 15, 2008 at 3:46 am
Hey,
Report Item means any control like TextBox in which you want the required format.
IF this is text box then go to the property window of TextBox and just type £#,##0.00...
July 15, 2008 at 3:14 am
As simple as it is:
-- Query
USE [MyDataBase]
GO
TableName -- Bold shows that it is selected
-- Now Press Alt+F1
I think it is very easy and self explanatory.
See the attachment
July 15, 2008 at 2:48 am
Hi,
Set the Imaze sizing property "Clip" and try again.
July 15, 2008 at 1:08 am
Hi,
I think Jeffrey Williams is right.
Your parameters have casecade dependecy. So you need to set the proper order of parameter.
e.g there are 3 parameters: Country, State, and City.
And State is...
July 15, 2008 at 1:04 am
Hi Kurt,
You can use Row grouping in your table.
Add one Group for ID
Now Drag and drop ID and Name fields in Group Hearder. You can hide Group Footer.
You can place...
July 15, 2008 at 12:59 am
Hi Ravi,
Its a better idea of having three Groups in your table. You can take only Group Header( Group Footer is not required in your case)
First Group for Country
Second Group...
July 15, 2008 at 12:53 am
How many rows are there in Detail section?
July 15, 2008 at 12:39 am
ALTER PROCEDURE dbo.Proc (@PARAM4 nvarchar )
AS
Create table TEST (id int identity(1,1) , RowNum nvarchar(100))
EXEC('insert TEST(RowNum)
(Select Count (1)RowNum
...
July 15, 2008 at 12:17 am
Viewing 15 posts - 136 through 150 (of 242 total)