Viewing 15 posts - 2,386 through 2,400 (of 2,462 total)
hi pankaj ,
i dont think we have any option by which we can calculate SELECT coomand but this can be done in front end by putting counter on...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 22, 2008 at 1:13 am
Nopes...Buddy it wont gives different result if spaces added at the ends
try this
select len('99202 10060 99000 A6402'),len('99202 10060 99000 A6402 ')
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 22, 2008 at 12:48 am
INSERT INTO OPENROWSET ('MICROSOFT.JET.OLEDB.4.0', 'Excel 8.0; Database=D:\RFPSent\SENT_RFPs.xls;HDR=NO;IMEX=2', 'select * from [Venue_RFPs$]'
) SELECT * from tblvenue_RFP
------------------------------------------
In above text [Venue_RFPs$] is a worsheet which...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 21, 2008 at 10:59 pm
What kind of FORMATTING oyu are talking about ....is it like width of excel's column ??
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 19, 2008 at 6:27 am
can any body tell me advantages of system catalog views over system tables ???
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 19, 2008 at 6:11 am
create table tbl12 (
date datetime primary key)
insert into tbl12
select '2008-09-19'
union
select '2008-09-19'
see the script aboce..it has same story as ur Stored proc
actaully as u said u are inserting same date...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 19, 2008 at 6:03 am
hi thanks for ur advice but this is not actually login and password ......i know its crime 🙂
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 18, 2008 at 10:48 pm
prob SOLVED !!!!!!!!!!thanks for all
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 18, 2008 at 6:01 am
select * from sys.configurations where configuration_id = 116
--------------------------
its maximum col should be 1 to AVOID recursion
----i guess it will help you 🙂
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 17, 2008 at 5:39 am
Thanks GILA...i got the point ....
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 16, 2008 at 3:05 am
hi,
if you see table creation syntax ,i m using A varchar(40) instead of A varchar
below queries resluts same but WHY????
CREATE
TABLE #TEST(A varchar(40),B varchar(30));
INSERT
INTO #TEST(A) VALUES('A');
INSERT
INTO #TEST(B)...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 15, 2008 at 10:00 pm
--Step 1
Declare @Str VarChar(max);
Set @Str=Replicate(cast('*'as varchar(MAX)) ,10000)
Print Len(@Str);
--Step 2
Declare @Str VarChar(max);
Set @Str=Replicate('*' ,10000)
Print Len(@Str);
----
i m hardly got the difference between step 1 and step 2 ..please...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 15, 2008 at 6:17 am
CREATE TABLE #TEST(A varchar,B varchar(30));
INSERT INTO #TEST(A) VALUES('A');
INSERT INTO #TEST(B) VALUES('Some text');
INSERT INTO #TEST(A) VALUES('B');
INSERT INTO #TEST(B) VALUES('Some more text');
SELECT COUNT(*)FROM #TEST GROUP BY LEN(ISNULL(B,A));
go
SELECT COUNT(*) from #TEST GROUP BY...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 15, 2008 at 5:36 am
CREATE TABLE #TEST(A varchar,B varchar(30));
INSERT INTO #TEST(A) VALUES('A');
INSERT INTO #TEST(B) VALUES('Some text');
INSERT INTO #TEST(A) VALUES('B');
INSERT INTO #TEST(B) VALUES('Some more text');
SELECT COUNT(*)FROM #TEST GROUP BY LEN(ISNULL(B,A));
go
SELECT COUNT(*) from #TEST GROUP BY...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 15, 2008 at 5:29 am
can you provide SAMPLE data and error occurred ???
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 15, 2008 at 4:56 am
Viewing 15 posts - 2,386 through 2,400 (of 2,462 total)