Viewing 15 posts - 331 through 345 (of 455 total)
My apologies this is not intended to be in this forum.
September 13, 2005 at 10:40 am
If the text is around 8000 characters than you can decalre the @stmt VARCHAR(8000)
AND use EXEC(@stmt) as well.
July 29, 2005 at 9:03 am
insert into Countries (CountryCode, CountryName)
values (5, 'Cote D''Ivoire')
Should do it.
July 29, 2005 at 8:56 am
I do have write permission for the temp dir, I actually am testing with Admin Login with full access writes and all other formats work fine with the export -...
July 25, 2005 at 12:30 am
Thanks Steve, it worked for me with the setting on config file.
July 22, 2005 at 12:14 am
If you just want to use the
select substring('\\server\test\folder1\do1.doc',
charindex ('test\','\\server\test\folder1\do1.doc') + len('test1'),
charindex ('\do1','\\server\test\folder1\do1.doc')-(charindex ('test\','\\server\test\folder1\do1.doc')+len('test1')))
and
select substring('p:\test\folder10\doc20.doc',
charindex ('test\','p:\test\folder10\doc20.doc') + len('test\'),
charindex ('\doc20','p:\test\folder10\doc20.doc')-(charindex ('test\','p:\test\folder10\doc20.doc')+len('test\')))
Will also work if you just want to use the functions...
May 23, 2005 at 10:39 am
This also works,
CREATE FUNCTION LastIndexOf
(@strValue VARCHAR(4000),
@strChar VARCHAR(50))
RETURNS INT
AS
BEGIN
DECLARE @index INT
SET @index = 0
WHILE CHARINDEX(@strChar, @strValue) > 0
BEGIN
SET @index = @index + CASE WHEN CHARINDEX(@strChar, @strValue) > 1...
May 23, 2005 at 10:27 am
Please let me know if it works after you try it out.
Thanks
May 23, 2005 at 4:32 am
This could be something to do with the security issues , did you check accessing the reports on your PC from the second PC, if it does not work, give...
May 23, 2005 at 3:38 am
I think you can use the import feature of the SQL Server for migrating your data from your dbf files.
Thanks
May 20, 2005 at 9:50 am
You can create a view to hold the output of the two queries as
CREATE VIEW MYUNIONDATE AS
(SELECT Name, MaxOfDateQC
FROM vw_vendor_current_mech
UNION ALL
SELECT Name, MaxOfDateQC
FROM vw_vendor_current_elec)
May 18, 2005 at 7:04 am
If you are getting (0 row(s) affected) as your message then obviously your update statement is itself not satisfied, if you are getting (1 row(s) affected) but the values are...
May 18, 2005 at 1:50 am
The dates mentioned in the example are just for example and the period is dynamically picked and it as has the time concatenated to it.
May 17, 2005 at 8:24 am
It is always a best practice to have a backup policy on Production Servers, incase your log file is full and you want to shrink database.
First backup the transactional Log,...
May 13, 2005 at 6:48 am
I also had similar problem with the excel export and I found that when the number of characters in a cell of a matrix is more than 4110 characters this...
May 13, 2005 at 6:40 am
Viewing 15 posts - 331 through 345 (of 455 total)