Viewing 15 posts - 2,386 through 2,400 (of 2,462 total)
Have you discovered that why it was giving msdb related error ??
you can do it with the help of error log
September 22, 2008 at 1:17 am
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...
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 ')
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...
September 21, 2008 at 10:59 pm
What kind of FORMATTING oyu are talking about ....is it like width of excel's column ??
September 19, 2008 at 6:27 am
can any body tell me advantages of system catalog views over system tables ???
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...
September 19, 2008 at 6:03 am
hi thanks for ur advice but this is not actually login and password ......i know its crime 🙂
September 18, 2008 at 10:48 pm
prob SOLVED !!!!!!!!!!thanks for all
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 🙂
September 17, 2008 at 5:39 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)...
September 15, 2008 at 10:00 pm
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...
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...
September 15, 2008 at 5:29 am
Viewing 15 posts - 2,386 through 2,400 (of 2,462 total)