Viewing 15 posts - 106 through 120 (of 388 total)
If I may ask you about the design, why did you decide to keep varchar values instead of datetime in your table? I am almost certain conversion from datetime to...
October 16, 2009 at 12:44 pm
Does it happen for all rows? Maybe there is a value that cannot be converted.
Regards
Piotr
October 16, 2009 at 12:28 pm
What do you consider as high? If sql servers memory is not confined, the server will tend to take as much as it can. High CPU may be related to...
October 15, 2009 at 4:14 pm
Probably you can use identity column on the ASSETINDEX. The MAX() + 1 approach is tricky and can kill performance.
Regards
Piotr
October 15, 2009 at 4:10 pm
Hi,
Did you try to run the backup manually?
Also, I think there is more detailed information about the error. You have to click the '+' on the row showing the...
October 15, 2009 at 3:53 pm
You have to explicitly convert the source value to the destination data type in this case, like this:
select convert(varchar(5), '123123123123')
Regards
Piotr
October 15, 2009 at 3:39 pm
May I ask, where are date1, date2, date3 values taken from?
Regards
Piotr
October 15, 2009 at 3:08 pm
Hi,
Would this work?
insert SPA03LS.ref_tbls..T_TEST
SELECT * FROM cash..T_TEST
Regards
Piotr
October 15, 2009 at 3:05 pm
Hi,
Look at the INSERT..SELECT syntax in Books On Line. You don't have to read all rows in a loop and have a bunch of variables to keep constant values...
October 15, 2009 at 3:00 pm
I think that you have to familiarize with parameters of BCP. You have to run it from command line, so first run cmd.exe and then type bcp. It will display...
October 14, 2009 at 1:14 pm
Hi,
Unfortunately there is no such option in SSMS2005. There are third party tools that enable this. I know that SSMS Toolpack [/url] has such feature, although I never used it.
Regards
Piotr
October 14, 2009 at 11:44 am
Hi,
Try to create FORMAT file (using bcp) or use BULK INSERT and provide proper FIELDTERMINATOR parameter.
Regards
Piotr
October 14, 2009 at 11:41 am
Hi,
I guess this is due to the fact, that SQL Server does not access the file as you, but rather as the account it is running under. If it is...
October 14, 2009 at 11:37 am
I guess it depends on the type of processing the application is doing. What technology the application is written in? By the look of this design one might think the...
October 14, 2009 at 11:16 am
Try this:
select * from person.contact where LastName like '[A-N]%'
Regards
Piotr
October 12, 2009 at 2:26 pm
Viewing 15 posts - 106 through 120 (of 388 total)